Inconsistency in MAV_PARAM_TYPE, v1.0

44 views
Skip to first unread message

Dimas Abreu Dutra

unread,
May 20, 2013, 8:17:36 AM5/20/13
to 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

unread,
May 20, 2013, 8:18:49 AM5/20/13
to 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

unread,
May 20, 2013, 9:45:45 AM5/20/13
to 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
 
 

Reply all
Reply to author
Forward
0 new messages