mjs513 / libuavcan-Teensy-3.x

UAVcan for Teensy 3.x using Teensyduino/Arduino IDE
5 stars 3 forks source link

Added a simple example of publishing and subscribing using the TrueAi… #3

Closed flybrianfly closed 2 years ago

flybrianfly commented 2 years ago

I added an example publisher and subscriber, which both use the TrueAirspeed message. In the publisher, true airspeed is simply set to ramp between 0 and 40 before returning back to 0 to ramp again. This enables a very simple setup requiring no sensors. The publisher and subscriber code are each just a single .ino file, enabling good insight into what's needed to interface with UAVCAN. Tested with two Teensy 3.6 boards.

mjs513 commented 2 years ago

Morning Brian Thanks for the extra example. Looks like you are having fun with CAN now. Sorry didn't do this yesterday but busy shoveling snow.

MIke