-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tools : Added custom ROS-2 serivce definition for switching drive modes
- Loading branch information
1 parent
7d264f1
commit f1a44c3
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
# This service requests the vehicle to switch its drive/flight mode | ||
|
||
# mode : Set the value to the drive/flight mode to be used | ||
# Copter : https://github.com/ArduPilot/ardupilot/blob/master/ArduCopter/mode.h#L14 | ||
# Rover : https://github.com/ArduPilot/ardupilot/blob/master/Rover/mode.h#L12 | ||
# Plane : https://github.com/ArduPilot/ardupilot/blob/master/ArduPlane/mode.h#L22 | ||
|
||
int8 mode | ||
--- | ||
# status : True if the request for mode switch was successful, False otherwise | ||
# curr_mode : Returns the code for the current drive/flight mode , after the processing the request | ||
bool status | ||
int8 curr_mode |