@@ -5,22 +5,52 @@ states:
55 type : EnableObjectDetection
66 camera_topic : /stingray/topics/camera/front
77 enable : true
8- MOVE_WITH_CENTERING :
8+ SEARCH_MAT :
9+ action :
10+ type : BboxSearchTwist
11+ bbox_name : mat
12+ bbox_topic : /stingray/topics/camera/front/bbox_array
13+ first_clockwise : true
14+ found_threshold : 1
15+ max_yaw : 360
16+ yaw_step : 30.0
17+ depth : 1.5
18+ roll : 0.0
19+ pitch : 0.0
20+ search_rate : 0.5
21+ CENTERING_MAT :
22+ action :
23+ type : BboxCenteringTwist
24+ bbox_name : mat
25+ bbox_topic : /stingray/topics/camera/front/bbox_array
26+ distance_threshold : 10.0
27+ lost_threshold : 30
28+ avoid_bbox_name_array : []
29+ avoid_distance_threshold : 0.0
30+ avoid_horizontal_threshold : 0.0
31+ surge : 100.0
32+ sway : 0.0
33+ depth : 1.0
34+ roll : 0.0
35+ pitch : 0.0
36+ duration : 100.0
37+ centering_rate : 0.5
38+ CENTERING_BLUE_BOWL :
939 action :
1040 type : BboxCenteringTwist
1141 bbox_name : blue_bowl
1242 bbox_topic : /stingray/topics/camera/front/bbox_array
13- distance_threshold : 1.5
43+ distance_threshold : 2.0
1444 lost_threshold : 30
1545 avoid_bbox_name_array : []
1646 avoid_distance_threshold : 0.0
1747 avoid_horizontal_threshold : 0.0
18- surge : 50 .0
48+ surge : 30 .0
1949 sway : 0.0
20- depth : 1.5
50+ depth : 1.0
2151 roll : 0.0
2252 pitch : 0.0
23- duration : 15 .0
53+ duration : 100 .0
2454 centering_rate : 0.5
2555 DISABLE_OBJECT_DETECTION :
2656 action :
@@ -32,15 +62,17 @@ states:
3262 MOVE_TO_BOWL :
3363 action :
3464 type : Twist
35- surge : 50 .0
65+ surge : 30 .0
3666 sway : 0.0
37- depth : 1.5
67+ depth : 1.0
3868 roll : 0.0
3969 pitch : 0.0
4070 yaw : 0.0
4171 duration : 5.0
4272transitions :
43- - { trigger: ok, source: ENABLE_OBJECT_DETECTION, dest: MOVE_WITH_CENTERING }
44- - { trigger: ok, source: MOVE_WITH_CENTERING, dest: DISABLE_OBJECT_DETECTION }
73+ - { trigger: ok, source: ENABLE_OBJECT_DETECTION, dest: SEARCH_MAT }
74+ - { trigger: ok, source: SEARCH_MAT, dest: CENTERING_MAT }
75+ - { trigger: ok, source: CENTERING_MAT, dest: CENTERING_BLUE_BOWL }
76+ - { trigger: ok, source: CENTERING_BLUE_BOWL, dest: DISABLE_OBJECT_DETECTION }
4577 - { trigger: ok, source: DISABLE_OBJECT_DETECTION, dest: MOVE_TO_BOWL }
4678 - { trigger: ok, source: MOVE_TO_BOWL, dest: OK }
0 commit comments