paparazzi / pprzlink

Message and communication library for the Paparazzi UAV system
Other
24 stars 55 forks source link

Added wing position message #45

Closed kevindehecker closed 7 years ago

gautierhattenberger commented 7 years ago

Can you explain a bit the use case and also add a description to the message. thanks

kevindehecker commented 7 years ago

Added description, the use case is described here: https://github.com/paparazzi/paparazzi/pull/2016

flixr commented 7 years ago

For what is that message actually used? Just for debugging? Maybe we can find a more generic message so we don't need to add messages for only one very specific airframe and use case?

kevindehecker commented 7 years ago

I could not find a generic one, but I did not look hard.

It is used to tune the exact position of where the wing has to stop & lock to perform optimal glide. This probably has to be tuned for each Robird-like airframe (but currently I only have one).

kevindehecker commented 7 years ago

So, is it acceptable like this? Or do I need to hack it in some existing message?

flixr commented 7 years ago

Since you are only transmitting an ADC value, why not use the ADC message?

kevindehecker commented 7 years ago

Because, at some point, I was planning to convert the value to a wing angle. But fine, since it seems to be problematic to add a message and it's not that important I will do that!

gautierhattenberger commented 7 years ago

Just in case you need to send a bunch of data for debugging, you can also use the PAYLOAD message (byte array) or PAYLOAD_FLOAT (float array)

flixr commented 7 years ago

Or if its really only for debugging you can even use INFO_MSG to send a string which will also display it in the GCS console...