Skip to content

Commit 99b4a9b

Browse files
committed
Add WaypointStatus message type
Signed-off-by: zz990099 <771647586@qq.com>
1 parent c7a5cc5 commit 99b4a9b

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

nav2_msgs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
3232
"msg/Particle.msg"
3333
"msg/ParticleCloud.msg"
3434
"msg/MissedWaypoint.msg"
35+
"msg/WaypointStatus.msg"
3536
"srv/GetCosts.srv"
3637
"srv/GetCostmap.srv"
3738
"srv/IsPathValid.srv"

nav2_msgs/action/NavigateThroughPoses.action

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ builtin_interfaces/Duration estimated_time_remaining
2222
int16 number_of_recoveries
2323
float32 distance_remaining
2424
int16 number_of_poses_remaining
25+
WaypointStatus[] waypoint_statuses

nav2_msgs/msg/WaypointStatus.msg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Waypoint state for robot in NavigateThroughPoses or WaypointFollower
2+
uint8 PENDING=0 # Waypoint is not processed
3+
uint8 COMPLETED=1 # Waypoint is completed
4+
uint8 SKIPPED=2 # Waypoint is skipped
5+
uint8 waypoint_status

0 commit comments

Comments
 (0)