mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 13:54:07 +08:00
Readjusted default DTID values
This commit is contained in:
parent
c159f9f7df
commit
cf7d231ef1
33
dsdl/uavcan/README.md
Normal file
33
dsdl/uavcan/README.md
Normal file
@ -0,0 +1,33 @@
|
||||
Standard DSDL definitions
|
||||
=========================
|
||||
|
||||
For details, please refer to the [UAVCAN specification](http://uavcan.org/).
|
||||
|
||||
## Standard DTID ranges
|
||||
|
||||
- Messages: [256, 1791)
|
||||
- Services: [64, 447)
|
||||
|
||||
Rest are reserved for vendor-specific data types.
|
||||
|
||||
## Standard ID grouping
|
||||
|
||||
Note that all unallocated space can be claimed later.
|
||||
|
||||
### Messages
|
||||
|
||||
| ID | Types | Note |
|
||||
| -------------------- | ---------------------------------------- | ---------------------------------------- |
|
||||
| [256, 260) | protocol.* | Highest priority |
|
||||
| [260, 900) | equipment.* | High priority |
|
||||
| [1000, 1050) | protocol.* | |
|
||||
| [1400, 1700) | equipment.* | Low priority |
|
||||
| 1780 | mavlink.Message | |
|
||||
| [1785, 1791) | protocol.debug.* | Lowest priority |
|
||||
|
||||
### Services
|
||||
|
||||
| ID | Types | Note |
|
||||
| -------------------- | ---------------------------------------- | ---------------------------------------- |
|
||||
| [100, 110) | equipment.* | |
|
||||
| [200, 250) | protocol.* | |
|
||||
@ -3,6 +3,8 @@
|
||||
# http://uavcan.org/Standard_data_types_and_application_level_functions#Pre-operational_checks
|
||||
#
|
||||
|
||||
int48 argument
|
||||
|
||||
---
|
||||
|
||||
# Amount of extra time the node needs to finish the procedure.
|
||||
@ -3,6 +3,8 @@
|
||||
# http://uavcan.org/Standard_data_types_and_application_level_functions#Pre-operational_checks
|
||||
#
|
||||
|
||||
int48 argument
|
||||
|
||||
---
|
||||
|
||||
# Amount of extra time the node needs to finish the procedure.
|
||||
@ -0,0 +1,18 @@
|
||||
#
|
||||
# This service allows to detect type compatibility between two nodes in one request.
|
||||
# Number of items in the ID mask depends on the data type kind:
|
||||
# - 512 for services
|
||||
# - 2048 for messages
|
||||
# - All other lengths are invalid
|
||||
# If the server encounters invalid length, missing bits will be assumed zero, excessive bits will be ignored.
|
||||
#
|
||||
|
||||
DataTypeKind kind
|
||||
uint4 alignment
|
||||
bool[<=2048] known_ids
|
||||
|
||||
---
|
||||
|
||||
uint64 aggregate_signature
|
||||
uint4 alignment
|
||||
bool[<=2048] mutually_known_ids
|
||||
@ -1,11 +0,0 @@
|
||||
#
|
||||
# This service allows to detect type compatibility between two nodes in one request.
|
||||
#
|
||||
|
||||
bool[1024] known_ids
|
||||
DataTypeKind kind
|
||||
|
||||
---
|
||||
|
||||
bool[1024] mutually_known_ids
|
||||
uint64 aggregate_signature
|
||||
@ -1,9 +0,0 @@
|
||||
All the unallocated space can be claimed later.
|
||||
|
||||
256..449 - high priority equipment
|
||||
|
||||
550..599 - protocol
|
||||
|
||||
600..749 - low priority eqipment
|
||||
|
||||
767 - MAVLink
|
||||
Loading…
x
Reference in New Issue
Block a user