Phil Hord

Results 137 comments of Phil Hord

Some experiments here: https://github.com/Traumflug/Teacup_Firmware/tree/temptable-fixup

I think the "command stream source" issue needs to be sorted out better than this. With the current suggested code, if I read it right, a single character received from...

I quite forgot I did this. :-) I was in China adjusting to jet lag at the time. I will go revisit this and see if I can make it...

Fixed some breakages in 37de38d4b22234a8e6339ca83a2eafba6c7f1f33, but the code is still borked because it doesn't manage state changes between different input streams. The good news is even with all these changes...

It seems like this would be fixed more easily by making this change: ``` uint32_t check_timer; check_timer = (uint32_t)TIM5->CNT - (uint32_t)TIM5->CCR1; ``` I don't know the size of TIM5->CNT and...

I don't understand your response. If CCR1 is the time of the previous step, and CNT is the current timer, then (unsigned)(CNT - CCR1) should be the time since the...

How is CCR1 > 0xFFFFFFFF? Is it a 64-bit variable? It sounds like you have found the problem there; after looking at the code I'm not sure what your change...

If it helps, I don't think you need to consider acceleration in move_duration. This is specifically because accel and decel are symmetrical. Consider the graph of speed vs. time. Speed...

I think it can, but I haven't tried it at all. I'm hoping to use it for non-constant acceleration someday. Ideas from equation 8 in this paper on [exponential motion...

I didn't mean to start this discussion here. I only found it interesting in the context of Td = dx / Vmax despite acceleration, which I first learned from studying...