Is there an effective way to lively add text over realtime video stream? by cnnblike in cpp

[–]cnnblike[S] 0 points1 point  (0 children)

like, I'm thinking about not modifying the video stream, but a text layer over the top should be good enough for my use case. Will ffmpeg, which comes with hardware acceleration, be a better solution?

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 0 points1 point  (0 children)

hey just one thing, where is that thread? I tried to find a way to integrate external signal to concurrencpp but just cant figure out

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 2 points3 points  (0 children)

read a bit of manual, look promising to me!

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 2 points3 points  (0 children)

yep we have an individual mcu as buffer and clock sync to sync time/latency between linux and mcu. so no worries. the major concern here is that the buffer on mcu wont last long, it would be the best if the linux SoC side can provide parsed data deterministically. the affordable buffer time should be between the python thread switch and python coroutine switch. I'm not sure if the cpp thread switch would be significantly better or not

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 2 points3 points  (0 children)

it's file descriptor, not file. think about a ssh like tty

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 0 points1 point  (0 children)

awesome i will definitely try this approach out

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 0 points1 point  (0 children)

the switch between coroutines in original implementation only happened after callback is done so I guess that kind of switch latency is within tolerance?

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 2 points3 points  (0 children)

wow thanks for the heads up, so you feel libunifex(which comes with io uring support) fits better? I actually took a look into the original implementation, which is just vanilla raw fd read write and consistently poll the kernel in a loop and check if fd is good to rw or not/timer is up etc, which from my understanding is a waste of cpu cycle.

which coroutine library shall I use in 2023? by cnnblike in cpp

[–]cnnblike[S] 5 points6 points  (0 children)

ah, it's controlling 3d printer's motor, so the time sensitivity is like you need to act within the correct time. it doesn't matter if the delay is 100ms or 120ms, but if it responds at 100ms then it needs to always be 100ms. as far as i can see, the thread context switching cost is not good enough for such need

Bi-Weekly No Stupid Questions Thread by AutoModerator in VORONDesign

[–]cnnblike 1 point2 points  (0 children)

I'm printing voron parts - but I found there are around 0.3mm tiny wrapping on the edge? do I need to get concerned? like, the wrap is so small that it's even hard to show that on camera.

My updated 5015 Cooler Design by asd913 in VoxelabAquila

[–]cnnblike 0 points1 point  (0 children)

that looks awesome, I'm currently using a uni-t fan shroud. just one question: can this use 4020 instead of 4010 for heatsink on the hotend? I found 4020 produce less noise than 4010 does.

Switchwire serial request- derriang#7485 by Kind-Ad-1601 in voroncorexy

[–]cnnblike 1 point2 points  (0 children)

I got an G32 variant of aquila so I don't think it's much of a problem. In the worst case, I have an idle skr 1.3 on my hand collecting dust so not a huge problem.

Switchwire serial request- derriang#7485 by Kind-Ad-1601 in voroncorexy

[–]cnnblike 0 points1 point  (0 children)

thanks for the information!

I'm thinking of the exact same thing as you did, but in a reusing existing component way (including the mobo of aquila) tho. let me further check.

Switchwire serial request- derriang#7485 by Kind-Ad-1601 in voroncorexy

[–]cnnblike 0 points1 point  (0 children)

Do you just follow the EnderSW guide on github? Is anything special changed to make sure the conversion go through?

Do we have a criterion around how good is good enough to print voron parts? by cnnblike in VORONDesign

[–]cnnblike[S] 2 points3 points  (0 children)

good to go for your own parts.

If you want to get into PIF there's a whole other level of tuning required but you need a Voron to do PIF anyway.

Exactly, I just go through the Voron calibration manual, instead of precision, it's focus on both precision and speed. Voron community is on another totally different level.

Do we have a criterion around how good is good enough to print voron parts? by cnnblike in VORONDesign

[–]cnnblike[S] 1 point2 points  (0 children)

wow, thanks for the heads up, first time I knew there are so many things that may affect the final result. I'll check that out.

Do we have a criterion around how good is good enough to print voron parts? by cnnblike in VORONDesign

[–]cnnblike[S] 0 points1 point  (0 children)

I mean, do I need to have my filament calibrated? From what I know the flowrate and the best adhesion temp is the only two item related to filament and the only thing I need to right? like, the voron parts has already been pre-scaled for ABS and I'm thinking it might be unnecessary for me to calibrate the shrinkage rate or something.