This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add boat simulator custom interfaces (#9)
* Add boat simulator messages and its dependencies * Update README.md * Add simulator actions * Prepend simulator action names with 'Sim' * Update README.md * Reorder package.xml dependencies * Fix cmake lists file * Swap feedback and results * Update comments * Proofread * Simplify SimWorldState message * Remove unused messages * Update README.md --------- Co-authored-by: Patrick Creighton <pcreighton429@gmail.com>
- Loading branch information
1 parent
10c3f0a
commit a20049d
Showing
6 changed files
with
113 additions
and
15 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
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,12 @@ | ||
# Request: The desired heading to turn to | ||
DesiredHeading desired_heading | ||
--- | ||
# Result: The absolute angular distance between the current and desired heading | ||
# Units: degrees | ||
# Range: [0, 180] | ||
float32 remaining_angular_distance | ||
--- | ||
# Feedback: The rudder angle with respect to the boat | ||
# Units: degrees, 0° south, increases CW | ||
# Range: [-90, 90] | ||
float32 rudder_angle |
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 @@ | ||
# Request: The desired position to turn to | ||
# Units: degrees, 0° south, increases CW | ||
# Range: [-90, 90] (TODO: Confirm desireable range with MECH team) | ||
float32 desired_angular_position | ||
--- | ||
# Result: The absolute angular distance between the current and desired heading | ||
# Units: degrees | ||
# Range: [0, 180] (TODO: Conform desireable range with MECH team) | ||
float32 remaining_angular_distance | ||
--- | ||
# Feedback: The trim tab angle with respect to the wingsail | ||
# Units: degrees, 0° south, increases CW | ||
# Range: [-90, 90] (TODO: Confirm desireable range with MECH team) | ||
float32 current_angular_position |
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,24 @@ | ||
# GPS data of the simulated with respect to the Earth (in the global reference frame). | ||
GPS global_gps | ||
|
||
# Contains both position and orientation (in quaternions, following a East-North-Up convention) | ||
# of the simulated boat with respect to the Earth (in the global reference frame). | ||
# Position Unit: km, distance from the origin | ||
geometry_msgs/Pose global_pose | ||
|
||
# Direction that the wind is going TOWARDS. Note that this is difference from the WindSensor type | ||
# in custom_interfaces, where WindSensor.direction gives us the direction where the wind is coming | ||
# FROM (basically a 180 degree phase shift in the velocity direction). | ||
# | ||
# Contains the linear component of the velocity. | ||
# Linear Velocity Unit: km/hr | ||
geometry_msgs/Vector3 wind_velocity | ||
|
||
# Direction that the current is going TOWARDS. | ||
# | ||
# Contains the linear component of the velocity. | ||
# Linear Velocity Unit: km/hr | ||
geometry_msgs/Vector3 current_velocity | ||
|
||
# Timestamp. Contains time since start in seconds and the frame number. | ||
std_msgs/Header header |
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