|
2288 | 2288 | <description>64-bit floating-point</description> |
2289 | 2289 | </entry> |
2290 | 2290 | </enum> |
| 2291 | + <enum name="MAV_PARAM_ERROR"> |
| 2292 | + <wip/> |
| 2293 | + <!-- This enum is work-in-progress and it can therefore change. It should NOT be used in stable production environments. --> |
| 2294 | + <description>Parameter protocol error types (see PARAM_ERROR).</description> |
| 2295 | + <entry value="0" name="MAV_PARAM_ERROR_NO_ERROR"> |
| 2296 | + <description>No error occurred (not expected in PARAM_ERROR but may be used in future implementations.</description> |
| 2297 | + </entry> |
| 2298 | + <entry value="1" name="MAV_PARAM_ERROR_DOES_NOT_EXIST"> |
| 2299 | + <description>Parameter does not exist</description> |
| 2300 | + </entry> |
| 2301 | + <entry value="2" name="MAV_PARAM_ERROR_VALUE_OUT_OF_RANGE"> |
| 2302 | + <description>Parameter value does not fit within accepted range</description> |
| 2303 | + </entry> |
| 2304 | + <entry value="3" name="MAV_PARAM_ERROR_PERMISSION_DENIED"> |
| 2305 | + <description>Caller is not permitted to set the value of this parameter</description> |
| 2306 | + </entry> |
| 2307 | + <entry value="4" name="MAV_PARAM_ERROR_COMPONENT_NOT_FOUND"> |
| 2308 | + <description>Unknown component specified</description> |
| 2309 | + </entry> |
| 2310 | + <entry value="5" name="MAV_PARAM_ERROR_READ_ONLY"> |
| 2311 | + <description>Parameter is read-only</description> |
| 2312 | + </entry> |
| 2313 | + </enum> |
2291 | 2314 | <enum name="MAV_PARAM_EXT_TYPE"> |
2292 | 2315 | <description>Specifies the datatype of a MAVLink extended parameter.</description> |
2293 | 2316 | <entry value="1" name="MAV_PARAM_EXT_TYPE_UINT8"> |
|
4340 | 4363 | <field type="int16_t" name="temperature_press_diff" units="cdegC" invalid="0">Differential pressure temperature (0, if not available). Report values of 0 (or 1) as 1 cdegC.</field> |
4341 | 4364 | </message> |
4342 | 4365 | <message id="30" name="ATTITUDE"> |
4343 | | - <description>The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right).</description> |
| 4366 | + <description>The attitude in the aeronautical frame (right-handed, Z-down, Y-right, X-front, ZYX, intrinsic).</description> |
4344 | 4367 | <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field> |
4345 | 4368 | <field type="float" name="roll" units="rad">Roll angle (-pi..+pi)</field> |
4346 | 4369 | <field type="float" name="pitch" units="rad">Pitch angle (-pi..+pi)</field> |
|
4372 | 4395 | <field type="float" name="vy" units="m/s">Y Speed</field> |
4373 | 4396 | <field type="float" name="vz" units="m/s">Z Speed</field> |
4374 | 4397 | </message> |
4375 | | - <message id="33" name="GLOBAL_POSITION_INT"> |
4376 | | - <description>The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It |
4377 | | - is designed as scaled integer message since the resolution of float is not sufficient.</description> |
4378 | | - <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field> |
4379 | | - <field type="int32_t" name="lat" units="degE7">Latitude, expressed</field> |
4380 | | - <field type="int32_t" name="lon" units="degE7">Longitude, expressed</field> |
4381 | | - <field type="int32_t" name="alt" units="mm">Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.</field> |
4382 | | - <field type="int32_t" name="relative_alt" units="mm">Altitude above home</field> |
4383 | | - <field type="int16_t" name="vx" units="cm/s">Ground X Speed (Latitude, positive north)</field> |
4384 | | - <field type="int16_t" name="vy" units="cm/s">Ground Y Speed (Longitude, positive east)</field> |
4385 | | - <field type="int16_t" name="vz" units="cm/s">Ground Z Speed (Altitude, positive down)</field> |
4386 | | - <field type="uint16_t" name="hdg" units="cdeg" invalid="UINT16_MAX">Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX</field> |
4387 | | - </message> |
4388 | 4398 | <message id="34" name="RC_CHANNELS_SCALED"> |
4389 | 4399 | <description>The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX.</description> |
4390 | 4400 | <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field> |
|
6364 | 6374 | <field type="uint8_t" name="flight_state" enum="UTM_FLIGHT_STATE">Flight state</field> |
6365 | 6375 | <field type="uint8_t" name="flags" enum="UTM_DATA_AVAIL_FLAGS" display="bitmask">Bitwise OR combination of the data available flags.</field> |
6366 | 6376 | </message> |
| 6377 | + <message id="345" name="PARAM_ERROR"> |
| 6378 | + <wip/> |
| 6379 | + <!-- This enum is work-in-progress and it can therefore change. It should NOT be used in stable production environments. --> |
| 6380 | + <description>Parameter set/get error. Returned from a MAVLink node in response to an error in the parameter protocol, for example failing to set a parameter because it does not exist. |
| 6381 | + </description> |
| 6382 | + <field type="uint8_t" name="target_system">System ID</field> |
| 6383 | + <field type="uint8_t" name="target_component">Component ID</field> |
| 6384 | + <field type="char[16]" name="param_id">Parameter id. Terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string</field> |
| 6385 | + <field type="int16_t" name="param_index">Parameter index. Will be -1 if the param ID field should be used as an identifier (else the param id will be ignored)</field> |
| 6386 | + <field type="uint8_t" name="error" enum="MAV_PARAM_ERROR">Error being returned to client.</field> |
| 6387 | + </message> |
6367 | 6388 | <message id="350" name="DEBUG_FLOAT_ARRAY"> |
6368 | 6389 | <description>Large debug/prototyping array. The message uses the maximum available payload for data. The array_id and name fields are used to discriminate between messages in code and in user interfaces (respectively). Do not use in production code.</description> |
6369 | 6390 | <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.</field> |
|
0 commit comments