Skip to content

Commit

Permalink
update px4 ros2 interface lib naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Stastny committed Oct 27, 2023
1 parent 38e882c commit 84a9841
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion msg/RegisterExtComponentReply.msg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uint64 timestamp # time since system start (microseconds)
uint64 request_id # ID from the request
char[25] name # name from the request

uint16 px4_sdk_api_version
uint16 px4_ros2_api_version

bool success
int8 arming_check_id # arming check registration ID (-1 if invalid)
Expand Down
4 changes: 2 additions & 2 deletions msg/RegisterExtComponentRequest.msg
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ uint64 timestamp # time since system start (microseconds)
uint64 request_id # ID, set this to a random value
char[25] name # either the requested mode name, or component name

uint16 LATEST_PX4_SDK_API_VERSION = 1 # API version compatibility. Increase this on a breaking semantic change. Changes to any message field are detected separately and do not require an API version change.
uint16 LATEST_PX4_ROS2_API_VERSION = 1 # API version compatibility. Increase this on a breaking semantic change. Changes to any message field are detected separately and do not require an API version change.

uint16 px4_sdk_api_version # Set to LATEST_PX4_SDK_API_VERSION
uint16 px4_ros2_api_version # Set to LATEST_PX4_ROS2_API_VERSION

# Components to be registered
bool register_arming_check
Expand Down

0 comments on commit 84a9841

Please sign in to comment.