-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DroneCAN: RC link statistics #28295
Comments
my preference is to add a STATUS flag in the existing message that indicates quality is LQ or SNR |
maybe assign 3 of the status bits as what type the quality is? |
@olliw42 tear off three bits and use them to indicate what the RSSI field actually represents - that's basically your option (3), I think? |
ok. Will do that :) |
pl see dronecan/DSDL#56 |
DroneCAN supports RC receivers via the https://github.com/dronecan/DSDL/blob/master/dronecan/sensors/rc/1140.RCInput.uavcan message.
However, sadly, it only has a "quality" field which by looking into the AP code is in fact RSSI in units of 0 ... 255.
Today however most people in the FPV arena also want to get LQ, and possibly SNR, and especially want to put them on their OSD. There is no support yet for this. As much as I know support for extending DroneCAN messages definitions while retaining compatibility with existing implementations is not yet existing or in the making. So, extending the existing RCInput seems not a viable path.
This leads to a pretty ugly situation and massively reduces the usefullness of DroneCAN RC (the situation is actually similarly sad as with the MAVLink receiver link stats not being there). To give a sense of it as I perceive it based on user responses: This makes folks wanting CRSF in addition ... just for the purpose of also getting the link stats. Obviously this is a bummer for using DroneCAN since the promise of simplified wiring cannot be kept and the advantages over normal serial largely evaporates. This therefore makes folks wanting CRSF via DroneCAN serial ... which appears to not work with AP, but if it would, doing such work arounds is hardly in the intention of DroneCAN, and also ugly as one then consumes two of the DroneCAN serial ports.
I have no idea what the "best" path and approach would be to correct the situation, but I feel I should raise it as an issue.
Few approaches would come to my mind:
The text was updated successfully, but these errors were encountered: