logoalt Hacker News

mrtksn • yesterday at 9:12 PM • 1 reply • view on HN

What models actually run? Do they generate the PWM signals/their widths to drive a servo or something? Or is it more like "joystick commands" generator?


Replies

jacquesm • yesterday at 9:57 PM

More like high level motion controller, so 'servo 23 1700 us' or for better grade servos 'servo 23 pos 145400', possibly concurrent with motion commands to other actuators and possibly synchronized, possibly using other kinds of protocols (G-codes).

Motion controllers are pretty impressive these days. PWM generation is too time critical to leave to high level processors, usually this is done in hardware if you want it to be guaranteed glitch free but there are also 'bit banging' servo controllers out there.

➕ show 1 reply