UAVCAN / OpenGrab with Raspberry


#1

Hi,
I am reading the UAVCAN documentation and I am not quite sure whether I got it. Is it possible to use the EPM with a raspberry directly over the GPIO? How would that work?
Thank you very much in advance!


(Pavel Kirienko) #2

Hi, the preferred approach is to use UAVCAN. There is a secondary option to use PWM, but PWM signal cannot be reliably modulated via GPIO. If you are really keen on hacking things, Andreas may provide more information on this.


#3

Hello,

You can drive the EPM almost like an RC servo.

There is a tutorial here: razzpisampler.oreilly.com/ch05.html


(Pavel Kirienko) #4

I would strongly advice against using this approach in production setups. The proposed method emulates PWM in software, which is inherently unreliable, since this is not a real-time system. Expect glitches.