-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert navigator_msgs to ROS2 (#1159)
* Convert navigator_msgs to ROS2 * Fixing small typos/mistakes
- Loading branch information
Showing
6 changed files
with
104 additions
and
124 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 |
---|---|---|
@@ -1,13 +1,12 @@ | ||
|
||
--- | ||
# Define the result | ||
bool success | ||
string error | ||
string ALREADY_RUNNING=ALREADY_RUNNING | ||
string NOT_LOADED=NOT_LOADED | ||
string ALREADY_LOADED=ALREADY_LOADED | ||
string MANUAL_CONTROL_USED=MANUAL_CONTROL_USED | ||
string KILLED=KILLED | ||
string ALREADY_RUNNING==ALREADY_RUNNING | ||
string NOT_LOADED==NOT_LOADED | ||
string ALREADY_LOADED==ALREADY_LOADED | ||
string MANUAL_CONTROL_USED==MANUAL_CONTROL_USED | ||
string KILLED==KILLED | ||
--- | ||
# Define a feedback message | ||
duration time_remaining | ||
builtin_interfaces/Duration time_remaining |
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 |
---|---|---|
@@ -1,19 +1,15 @@ | ||
string Shape | ||
string CROSS=CROSS | ||
string TRIANGLE=TRIANGLE | ||
string CIRCLE =CIRCLE | ||
|
||
string CROSS==CROSS | ||
string TRIANGLE==TRIANGLE | ||
string CIRCLE==CIRCLE | ||
string Color | ||
string RED=RED | ||
string BLUE=BLUE | ||
string GREEN=GREEN | ||
|
||
string RED==RED | ||
string BLUE==BLUE | ||
string GREEN==GREEN | ||
uint32 CenterX | ||
uint32 CenterY | ||
|
||
uint16 img_width | ||
Header header | ||
std_msgs/Header header | ||
geometry_msgs/Point[] points | ||
|
||
float32 color_confidence | ||
float32 shape_confidence |
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
# pose is in header.frame_id. twist is in frame defined by pose (ie. body) | ||
Header header | ||
# pose is in header.frame_id. twist is in frame defined by pose (ie. body)std_msgs/Header header | ||
PoseTwist posetwist |
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 |
---|---|---|
@@ -1,26 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<?xml-model | ||
href="http://download.ros.org/schema/package_format3.xsd" | ||
schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>navigator_msgs</name> | ||
<version>1.0.0</version> | ||
<description>The navigator_msgs package</description> | ||
<maintainer email="[email protected]">zachgoins</maintainer> | ||
<license>BSD</license> | ||
<buildtool_depend>catkin</buildtool_depend> | ||
<build_depend>actionlib</build_depend> | ||
<build_depend>actionlib</build_depend> | ||
<build_depend>actionlib_msgs</build_depend> | ||
<build_depend>actionlib_msgs</build_depend> | ||
<build_depend>geometry_msgs</build_depend> | ||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
<buildtool_depend>rosidl_default_generators</buildtool_depend> | ||
<depend>actionlib</depend> | ||
<depend>actionlib_msgs</depend> | ||
<depend>geometry_msgs</depend> | ||
<depend>message_runtime</depend> | ||
<depend>sensor_msgs</depend> | ||
<depend>std_msgs</depend> | ||
<build_depend>message_generation</build_depend> | ||
<build_depend>message_runtime</build_depend> | ||
<build_depend>sensor_msgs</build_depend> | ||
<build_depend>std_msgs</build_depend> | ||
<run_depend>sensor_msgs</run_depend> | ||
<run_depend>actionlib</run_depend> | ||
<run_depend>actionlib_msgs</run_depend> | ||
<run_depend>std_msgs</run_depend> | ||
<run_depend>geometry_msgs</run_depend> | ||
<run_depend>message_runtime</run_depend> | ||
<run_depend>actionlib_msgs</run_depend> | ||
<export/> | ||
<exec_depend>rosidl_default_runtime</exec_depend> | ||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
<member_of_group>rosidl_interface_packages</member_of_group> | ||
</package> |
20 changes: 10 additions & 10 deletions
20
NaviGator/utils/navigator_msgs/srv/CameraToLidarTransform.srv
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Header header #Stamp of time point was seen for tf | ||
std_msgs/Header header #Stamp of time point was seen for tf | ||
geometry_msgs/Point point #X and Y of point in camera frame, Z is ignored | ||
uint16 tolerance #Number of pixels the projected 3D lidar point can be from the target point to be included in the response | ||
uint16 tolerance#Number of pixels the projected 3D lidar point can be from the target point to be included in the response | ||
--- | ||
bool success #True if at least one point found in lidar and transformed | ||
geometry_msgs/Point[] transformed #Points in 3-D in camera frame if success is true | ||
geometry_msgs/Point closest #3D point that is the closest to the target point when transformed and projected | ||
geometry_msgs/Vector3 normal #Normal unit vector in camera frame estimated from transformed points | ||
float64 distance #mean z of transformed points | ||
string error #Describes when went wrong if success if false | ||
string CLOUD_NOT_FOUND=pointcloud not found | ||
string NO_POINTS_FOUND=no points | ||
bool success#True if at least one point found in lidar and transformed | ||
geometry_msgs/Point[] transformed#Points in 3-D in camera frame if success is true | ||
geometry_msgs/Point closest#3D point that is the closest to the target point when transformed and projected | ||
geometry_msgs/Vector3 normal#Normal unit vector in camera frame estimated from transformed points | ||
float64 distance#mean z of transformed points | ||
string error#Describes when went wrong if success if false | ||
string CLOUD_NOT_FOUND==pointcloud not found | ||
string NO_POINTS_FOUND==no points |