Skip to content

feat(planning): add planning factor msgs #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions autoware_adapi_v1_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ rosidl_generate_interfaces(${PROJECT_NAME}
perception/msg/DynamicObjectKinematics.msg
perception/msg/DynamicObjectPath.msg
perception/msg/ObjectClassification.msg
planning/msg/ControlPoint.msg
planning/msg/SteeringFactor.msg
planning/msg/SteeringFactorArray.msg
planning/msg/VelocityFactor.msg
planning/msg/VelocityFactorArray.msg
planning/msg/PlanningBehavior.msg
planning/msg/PlanningFactor.msg
planning/msg/PlanningFactorArray.msg
planning/msg/PlanningSequence.msg
planning/msg/CooperationCommand.msg
planning/msg/CooperationDecision.msg
Expand Down
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/planning/msg/ControlPoint.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
geometry_msgs/Pose pose
float32 distance
38 changes: 38 additions & 0 deletions autoware_adapi_v1_msgs/planning/msg/PlanningFactor.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## constants for common use
uint16 UNKNOWN = 0

# constants for behavior_type
uint16 NONE = 1
uint16 SLOW_DOWN = 2
uint16 STOP = 3
uint16 SHIFT_LEFT = 4
uint16 SHIFT_RIGHT = 5
uint16 TURN_LEFT = 6
uint16 TURN_RIGHT = 7

# constants for behavior_name
string ADAPTIVE_CRUISE = "adaptive_cruise"
string AVOIDANCE = "avoidance"
string CROSSWALK = "crosswalk"
string GOAL_PLANNER = "goal_planner"
string INTERSECTION = "intersection"
string LANE_CHANGE = "lane_change"
string MERGE = "merge"
string NO_DRIVABLE_LANE = "no_drivable_lane"
string NO_STOPPING_AREA = "no_stopping_area"
string REAR_CHECK = "rear_check"
string ROUTE_OBSTACLE = "route_obstacle"
string RUN_OUT = "run_out"
string SIDEWALK = "sidewalk"
string START_PLANNER = "start_planner"
string STOP_SIGN = "stop_sign"
string SURROUNDING_OBSTACLE = "surrounding_obstacle"
string TRAFFIC_SIGNAL = "traffic_signal"
string USER_DEFINED_DETECTION_AREA = "user_defined_detection_area"
string VIRTUAL_TRAFFIC_LIGHT = "virtual_traffic_light"

# variables
uint16 behavior_type
string behavior_name
string detail
autoware_adapi_v1_msgs/ControlPoint[] control_points
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/planning/msg/PlanningFactorArray.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
std_msgs/Header header
autoware_adapi_v1_msgs/PlanningFactor[] factors