mavlink/mavlink — Issue #2: Use unions where multiple data type variables are used
Author: Susurrus
Created: 2012-01-30 00:53:39+00:00
State: open

Working with the parameter protocol is rather difficult because unions aren't already provided for messages that support multiple data types, specifically MAVLINK_MSG_ID_PARAM_SET and MAVLINK_MSG_ID_PARAM_VALUE. Their supporting message structs, mavlink_param_set_t and mavlink_param_value_t, should use the mavlink_param_union_t for their param_value element. This would make translating the data between different data types trivial instead of laborious as it is right now.