|
@@ -93,24 +93,24 @@ type DTLane struct {
|
|
type WaypointState struct {
|
|
type WaypointState struct {
|
|
msg.Package `ros:"autoware_msgs"`
|
|
msg.Package `ros:"autoware_msgs"`
|
|
Aid int32 `rosname:"aid"`
|
|
Aid int32 `rosname:"aid"`
|
|
- NULLSTATE uint8 `rosname:"NULLSTATE"`
|
|
|
|
- LanechangeState uint8 `rosname:"lanechange_state"`
|
|
|
|
|
|
+ NullState uint8 `rosname:"NULLSTATE"`
|
|
|
|
+ LaneChangeState uint8 `rosname:"lanechange_state"`
|
|
SteeringState uint8 `rosname:"steering_state"`
|
|
SteeringState uint8 `rosname:"steering_state"`
|
|
- STRLEFT uint8 `rosname:"STR_LEFT"`
|
|
|
|
- STRRIGHT uint8 `rosname:"STR_RIGHT"`
|
|
|
|
- STRSTRAIGHT uint8 `rosname:"STR_STRAIGHT"`
|
|
|
|
- STRBACK uint8 `rosname:"STR_BACK"`
|
|
|
|
|
|
+ StrLeft uint8 `rosname:"STR_LEFT"`
|
|
|
|
+ StrRight uint8 `rosname:"STR_RIGHT"`
|
|
|
|
+ StrStraight uint8 `rosname:"STR_STRAIGHT"`
|
|
|
|
+ StrBack uint8 `rosname:"STR_BACK"`
|
|
AccelState uint8 `rosname:"accel_state"`
|
|
AccelState uint8 `rosname:"accel_state"`
|
|
StopState uint8 `rosname:"stop_state"`
|
|
StopState uint8 `rosname:"stop_state"`
|
|
- TYPESTOPLINE uint8 `rosname:"TYPE_STOPLINE"`
|
|
|
|
- TYPESTOP uint8 `rosname:"TYPE_STOP"`
|
|
|
|
|
|
+ TypeStopLine uint8 `rosname:"TYPE_STOPLINE"`
|
|
|
|
+ TypeStop uint8 `rosname:"TYPE_STOP"`
|
|
EventState uint8 `rosname:"event_state"`
|
|
EventState uint8 `rosname:"event_state"`
|
|
- TYPEEVENTNULL uint8 `rosname:"TYPE_EVENT_NULL"`
|
|
|
|
- TYPEEVENTGOAL uint8 `rosname:"TYPE_EVENT_GOAL"`
|
|
|
|
- TYPEEVENTMIDDLEGOAL uint8 `rosname:"TYPE_EVENT_MIDDLE_GOAL"`
|
|
|
|
- TYPEEVENTPOSITIONSTOP uint8 `rosname:"TYPE_EVENT_POSITION_STOP"`
|
|
|
|
- TYPEEVENTBUSSTOP uint8 `rosname:"TYPE_EVENT_BUS_STOP"`
|
|
|
|
- TYPEEVENTPARKING uint8 `rosname:"TYPE_EVENT_PARKING"`
|
|
|
|
|
|
+ TypeEventNull uint8 `rosname:"TYPE_EVENT_NULL"`
|
|
|
|
+ TypeEventGoal uint8 `rosname:"TYPE_EVENT_GOAL"`
|
|
|
|
+ TypeEventMiddleGoal uint8 `rosname:"TYPE_EVENT_MIDDLE_GOAL"`
|
|
|
|
+ TypeEventPositionStop uint8 `rosname:"TYPE_EVENT_POSITION_STOP"`
|
|
|
|
+ TypeEventBusStop uint8 `rosname:"TYPE_EVENT_BUS_STOP"`
|
|
|
|
+ TypeEventParking uint8 `rosname:"TYPE_EVENT_PARKING"`
|
|
}
|
|
}
|
|
|
|
|
|
type Waypoint struct {
|
|
type Waypoint struct {
|
|
@@ -119,9 +119,9 @@ type Waypoint struct {
|
|
Lid int32 `rosname:"lid"`
|
|
Lid int32 `rosname:"lid"`
|
|
Pose geometry_msgs.PoseStamped `rosname:"pose"`
|
|
Pose geometry_msgs.PoseStamped `rosname:"pose"`
|
|
Twist geometry_msgs.TwistStamped `rosname:"twist"`
|
|
Twist geometry_msgs.TwistStamped `rosname:"twist"`
|
|
- Dtlane DTLane `rosname:"dtlane"`
|
|
|
|
|
|
+ DTLane DTLane `rosname:"dtlane"`
|
|
ChangeFlag int32 `rosname:"change_flag"`
|
|
ChangeFlag int32 `rosname:"change_flag"`
|
|
- Wpstate WaypointState `rosname:"wpstate"`
|
|
|
|
|
|
+ WpState WaypointState `rosname:"wpstate"`
|
|
LaneId uint32 `rosname:"lane_id"`
|
|
LaneId uint32 `rosname:"lane_id"`
|
|
LeftLaneId uint32 `rosname:"left_lane_id"`
|
|
LeftLaneId uint32 `rosname:"left_lane_id"`
|
|
RightLaneId uint32 `rosname:"right_lane_id"`
|
|
RightLaneId uint32 `rosname:"right_lane_id"`
|
|
@@ -162,7 +162,7 @@ type DetectedObject struct {
|
|
Variance geometry_msgs.Vector3 `rosname:"variance"`
|
|
Variance geometry_msgs.Vector3 `rosname:"variance"`
|
|
Velocity geometry_msgs.Twist `rosname:"velocity"`
|
|
Velocity geometry_msgs.Twist `rosname:"velocity"`
|
|
Acceleration geometry_msgs.Twist `rosname:"acceleration"`
|
|
Acceleration geometry_msgs.Twist `rosname:"acceleration"`
|
|
- Pointcloud sensor_msgs.PointCloud2 `rosname:"pointcloud"`
|
|
|
|
|
|
+ PointCloud sensor_msgs.PointCloud2 `rosname:"pointcloud"`
|
|
ConvexHull geometry_msgs.PolygonStamped `rosname:"convex_hull"`
|
|
ConvexHull geometry_msgs.PolygonStamped `rosname:"convex_hull"`
|
|
CandidateTrajectories LaneArray `rosname:"candidate_trajectories"`
|
|
CandidateTrajectories LaneArray `rosname:"candidate_trajectories"`
|
|
PoseReliable bool `rosname:"pose_reliable"`
|
|
PoseReliable bool `rosname:"pose_reliable"`
|
|
@@ -184,3 +184,56 @@ type DetectedObjectArray struct {
|
|
Header std_msgs.Header `rosname:"header"`
|
|
Header std_msgs.Header `rosname:"header"`
|
|
Objects []DetectedObject `rosname:"objects"`
|
|
Objects []DetectedObject `rosname:"objects"`
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+type ExtractedPosition struct {
|
|
|
|
+ msg.Package `ros:"autoware_msgs"`
|
|
|
|
+ SignalId int32 `rosname:"signalId"`
|
|
|
|
+ U int32 `rosname:"u"`
|
|
|
|
+ V int32 `rosname:"v"`
|
|
|
|
+ Radius int32 `rosname:"radius"`
|
|
|
|
+ X float64 `rosname:"x"`
|
|
|
|
+ Y float64 `rosname:"y"`
|
|
|
|
+ Z float64 `rosname:"z"`
|
|
|
|
+ Hang float64 `rosname:"hang"`
|
|
|
|
+ Type int8 `rosname:"type"`
|
|
|
|
+ LinkId int32 `rosname:"linkId"`
|
|
|
|
+ PlId int32 `rosname:"plId"`
|
|
|
|
+}
|
|
|
|
+type Gear struct {
|
|
|
|
+ msg.Package `ros:"autoware_msgs"`
|
|
|
|
+ None uint8 `rosname:"NONE"`
|
|
|
|
+ Park uint8 `rosname:"PARK"`
|
|
|
|
+ Reverse uint8 `rosname:"REVERSE"`
|
|
|
|
+ Neutral uint8 `rosname:"NEUTRAL"`
|
|
|
|
+ Drive uint8 `rosname:"DRIVE"`
|
|
|
|
+ Low uint8 `rosname:"LOW"`
|
|
|
|
+ Gear uint8 `rosname:"gear"`
|
|
|
|
+}
|
|
|
|
+type GeometricRectangle struct {
|
|
|
|
+ msg.Package `ros:"autoware_msgs"`
|
|
|
|
+ Wl float32 `rosname:"wl"`
|
|
|
|
+ Wr float32 `rosname:"wr"`
|
|
|
|
+ Lf float32 `rosname:"lf"`
|
|
|
|
+ Lb float32 `rosname:"lb"`
|
|
|
|
+}
|
|
|
|
+type ICPStat struct {
|
|
|
|
+ msg.Package `ros:"autoware_msgs"`
|
|
|
|
+ Header std_msgs.Header `rosname:"header"`
|
|
|
|
+ ExeTime float32 `rosname:"exe_time"`
|
|
|
|
+ Score float32 `rosname:"score"`
|
|
|
|
+ Velocity float32 `rosname:"velocity"`
|
|
|
|
+ Acceleration float32 `rosname:"acceleration"`
|
|
|
|
+ UsePredictPose int32 `rosname:"use_predict_pose"`
|
|
|
|
+}
|
|
|
|
+type ImageLaneObjects struct {
|
|
|
|
+ msg.Package `ros:"autoware_msgs"`
|
|
|
|
+ Header std_msgs.Header `rosname:"header"`
|
|
|
|
+ LaneLX1 int32 `rosname:"lane_l_x1"`
|
|
|
|
+ LaneLY1 int32 `rosname:"lane_l_y1"`
|
|
|
|
+ LaneLX2 int32 `rosname:"lane_l_x2"`
|
|
|
|
+ LaneLY2 int32 `rosname:"lane_l_y2"`
|
|
|
|
+ LaneRX1 int32 `rosname:"lane_r_x1"`
|
|
|
|
+ LaneRY1 int32 `rosname:"lane_r_y1"`
|
|
|
|
+ LaneRX2 int32 `rosname:"lane_r_x2"`
|
|
|
|
+ LaneRY2 int32 `rosname:"lane_r_y2"`
|
|
|
|
+}
|