Inconsistency in MAV_PARAM_TYPE, v1.0

44 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Dimas Abreu Dutra

ungelesen,
20.05.2013, 08:17:3620.05.13
an mav...@googlegroups.com
Hello all,

I'm implementing the MAVLink protocol for an UAV we are making in my university, however I noticed an inconsistency in the parameter protocol. The MAV_PARAM_TYPE enum includes 8 byte values such as MAV_PARAM_TYPE_UINT64, MAV_PARAM_TYPE_INT64 and MAV_PARAM_TYPE_REAL64, however the param_value field of the PARAM_SET and PARAM_VALUE messages is a float and the mavlink_param_union_t structure in mavlink_types.h also includes only types up to 4 bytes. This seems like a bug and the backwards-compatible solution would be removing the 8 byte values from the enum.

~Dimas

PIXHAWK

ungelesen,
20.05.2013, 08:18:4920.05.13
an mav...@googlegroups.com
Hi Dimas,

There is work in progress on a more complete parameter implementation which supports these types. You're right that they shouldn't have been there, but they will quite soon be in use.

-Lorenz

--
Sie haben diese Nachricht erhalten, weil Sie der Google Groups-Gruppe MAVLink beigetreten sind.
Um Ihr Abonnement für diese Gruppe zu beenden und keine E-Mails mehr von dieser Gruppe zu erhalten, senden Sie eine Email an mavlink+u...@googlegroups.com.
Weitere Optionen: https://groups.google.com/groups/opt_out
 
 

Dimas Abreu Dutra

ungelesen,
20.05.2013, 09:45:4520.05.13
an mav...@googlegroups.com
I see. Thanks for the quick response.
~Dimas


--
Sie erhalten diese Nachricht, weil Sie in Google Groups ein Thema der Gruppe "MAVLink" abonniert haben.
Um Ihr Abonnement für dieses Thema zu beenden, rufen Sie die URL https://groups.google.com/d/topic/mavlink/lKZ7mf0H0Dk/unsubscribe?hl=de auf.
Um Ihr Abonnement für diese Gruppe und alle ihre Themen zu beenden, senden Sie eine E-Mail an mavlink+u...@googlegroups.com.
Weitere Optionen: https://groups.google.com/groups/opt_out
 
 

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten