|
@@ -237,3 +237,17 @@ type ImageLaneObjects struct {
|
|
|
LaneRX2 int32 `rosname:"lane_r_x2"`
|
|
|
LaneRY2 int32 `rosname:"lane_r_y2"`
|
|
|
}
|
|
|
+type ImageRect struct {
|
|
|
+ msg.Package `ros:"autoware_msgs"`
|
|
|
+ X int32 `rosname:"x"`
|
|
|
+ Y int32 `rosname:"y"`
|
|
|
+ Height int32 `rosname:"height"`
|
|
|
+ Width int32 `rosname:"width"`
|
|
|
+ Score float32 `rosname:"score"`
|
|
|
+}
|
|
|
+type ImageObj struct {
|
|
|
+ msg.Package `ros:"autoware_msgs"`
|
|
|
+ Header std_msgs.Header `rosname:"header"`
|
|
|
+ Type string `rosname:"type"`
|
|
|
+ Obj []ImageRect `rosname:"obj"`
|
|
|
+}
|