DeviationTx improvements

Firmware/software/electronics/mechanics
Post Reply
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

DeviationTx improvements

Post by theseankelly »

Hey Forum

I've been doing some work on the DeviationTx firmware, mostly with BigQuad in mind. First up, I added a state machine to set up logging using the logging framework. It's currently logging VbatMV and ExtVBatMV (I recently created these two variables -- they're the same thing as vbat and extvbat but UINT16s in mV units instead of floats in V, because the devo controllers don't all have FPU processors) but is easy to extend. Take a look at it here:
https://github.com/theseankelly/deviati ... _telemetry

I'll be submitting a pull request to the deviation code soon after I test it out for a bit longer.

Next up:
- Adding a configuration setting for modifying the max angles (currently hardcoded at 45 degrees)
- Plumbing the yet-to-be-implemented new commander packet so one of the switches on the tx can switch between acro and level modes

Would love to know what other modifications people have made to this firmware, or what other features people would want to see.

Sean
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: DeviationTx improvements

Post by chad »

I haven't made any modifications myself but it'd be great to enable some optional, configurable buttons (channels on the Devo?) for mapping to Crazyflie deck features like the LED Deck or the Buzzer Deck functionality.

I'm ecstatic about the work you're doing on telemetry for the Devo. I've always wished for this but never took it upon myself to implement it (either from just not being smart enough to do it or by simply not having enough unbroken time to learn). In any case you're the hero to me for working on it!!
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: DeviationTx improvements

Post by tobias »

Nicely done Sean!

I don't have any ideas for new features right now but there must be a bunch of fun things that can be done :D
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

Re: DeviationTx improvements

Post by theseankelly »

This (telemetry) has been sitting in deviation's pull request queue for some time now...

It's functioning quite well. Anyone interested can pick it up from my repo in the meantime!
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
theseankelly
Expert
Posts: 153
Joined: Mon Dec 28, 2015 3:23 pm
Contact:

Re: DeviationTx improvements

Post by theseankelly »

Telemetry is merged in to the mainline deviationtx firmware!
http://www.thejumperwire.com
Tips, tutorials, and science about DIY electronics, drones, and embedded software.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: DeviationTx improvements

Post by tobias »

Awesome Sean!
Post Reply