replace obstacle_avoidance message with trajectory_waypoint and trajectory_bezier

This commit is contained in:
Martina
2018-07-12 16:36:11 -04:00
committed by Daniel Agar
parent 82e0547f6e
commit e59a29197e
4 changed files with 63 additions and 17 deletions
+28
View File
@@ -0,0 +1,28 @@
# Bezier Trajectory description. See also Mavlink TRAJECTORY msg
uint8 POINT_0 = 0
uint8 POINT_1 = 1
uint8 POINT_2 = 2
uint8 POINT_3 = 3
uint8 POINT_4 = 4
uint8 X = 0
uint8 Y = 1
uint8 Z = 2
uint8 TIME_HORIZON = 3
uint8 YAW = 4
uint8 YAW_SPEED = 5
uint8 MAV_TRAJECTORY_REPRESENTATION_BEZIER = 1
uint8 type # Type from MAV_TRAJECTORY_REPRESENTATION enum.
float32[6] point_0 # MAV_TRAJECTORY_REPRESENTATION_BEZIER, index 0-2 position sp, index 3 time horizon, index 9 yaw, index 10 yaw speed
float32[6] point_1 # MAV_TRAJECTORY_REPRESENTATION_BEZIER, index 0-2 position sp, index 3 time horizon, index 9 yaw, index 10 yaw speed
float32[6] point_2 # MAV_TRAJECTORY_REPRESENTATION_BEZIER, index 0-2 position sp, index 3 time horizon, index 9 yaw, index 10 yaw speed
float32[6] point_3 # MAV_TRAJECTORY_REPRESENTATION_BEZIER, index 0-2 position sp, index 3 time horizon, index 9 yaw, index 10 yaw speed
float32[6] point_4 # MAV_TRAJECTORY_REPRESENTATION_BEZIER, index 0-2 position sp, index 3 time horizon, index 9 yaw, index 10 yaw speed
bool[5] point_valid # States if respective point is valid
# TOPICS trajectory_bezier trajectory_bezier_desired