Skip to content

MERLIN2-ARCH/waypoint_navigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waypoint_navigation

Waypoint navigation for ROS2

Installation

$ cd ~/ros2_ws/src
$ git clone https://github.com/MERLIN2-ARCH/waypoint_navigation.git
$ git clone https://github.com/uleroboticsgroup/simple_node.git 
$ cd ~/ros2_ws
$ colcon build

Usage

Launch

$ ros2 launch waypoint_navigation waypoint_navigation.launch.py

Shell Examples

$ ros2 service call /waypoint_navigation/add_wp waypoint_navigation_msgs/srv/AddWp "{'wp':{'id':'kitchen', 'pose':{'position':{'x':3.79, 'y':6.77, 'z':0.0}, 'orientation':{'x':0.0, 'y':0.0, 'z':0.99, 'w':0.12}}}}"
$ ros2 service call /waypoint_navigation/get_wp waypoint_navigation_msgs/srv/GetWp "{'wp_id':'kitchen'}"
$ ros2 service call /waypoint_navigation/get_wps waypoint_navigation_msgs/srv/GetWps {}
$ ros2 action send_goal /waypoint_navigation/navigate_to_wp waypoint_navigation_msgs/action/NavigateToWp "{'wp_id':'kitchen'}"