Skip to content

ToshikiNakamura0412/waypoint_manager_ros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waypoint_manager_ros

License: MIT

The ROS package for waypoint management

Publish the goal pose of the ID specified as the parameter start as the initial pose of the robot at node startup

Publish the goal pose in order from id "parameter start + 1"

Environment

  • Ubuntu 20.04
  • ROS Noetic

Install and Build

# clone repository
cd /path/to/your/catkin_ws/src
git clone https://github.com/ToshikiNakamura0412/waypoint_manager_ros.git

# build
cd /path/to/your/catkin_ws
rosdep install -riy --from-paths src --rosdistro noetic # Install dependencies
catkin build waypoint_manager_ros

How to use

roslaunch waypoint_manager_ros waypoint_manager.launch

Running the demo

roslaunch waypoint_manager_ros test.launch

update goal pose manually

rqt

Node I/O

Node I/O

Nodes

waypoint_manager

Published Topics

  • /initialpose (geometry_msgs/PoseWithCovarianceStamped)
    • The initial pose of the robot
  • ~<name>/global_goal (geometry_msgs/PoseStamped)
    • The goal pose
  • ~<name>/waypoints (visualization_msgs/MarkerArray)
    • Visualization of waypoints

Subscribed Topics

  • /finish_flag (std_msgs/Bool)
    • The flag to finish the current goal

Service Topics

  • ~<name>/update_goal
    • Update the goal pose

Parameters

  • ~<name>/hz (int, default: 1 [Hz]):
    The rate of main loop
  • ~<name>/frame_id (str, default: map):
    The frame id of topics
  • ~<name>/waypoint_file (str, default: waypoints.yaml):
    The file path of waypoints
  • ~<name>/start (int, default: 0):
    The start id of robot
  • ~<name>/width_ratio (float, default: 1.0):
    The width ratio of edge between waypoints
  • ~<name>/is_visible_text (bool, default: True):
    The flag to visualize text of id
  • ~<name>/is_visible_edge (bool, default: True):
    The flag to visualize edge between waypoints