Skip to content

Commit 792bb71

Browse files
authored
Merge pull request #15 from PickNikRobotics/objective-fixes
Updating objectives
2 parents 9093cfb + 4591c5a commit 792bb71

29 files changed

+33395
-33355
lines changed

src/fanuc_sim/objectives/request_teleoperation.xml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
<!--Joint sliders interpolate to joint state-->
3030
<Decorator ID="ForceSuccess" _while="teleop_mode == 5">
3131
<Control ID="Sequence">
32-
<Action
33-
ID="SwitchUIPrimaryView"
34-
primary_view_name="Visualization"
35-
/>
3632
<Control ID="Fallback" name="root">
3733
<Control ID="Sequence">
3834
<Action
@@ -67,10 +63,6 @@
6763
<!--Interactive markers move to pose-->
6864
<Decorator ID="ForceSuccess" _while="teleop_mode == 4">
6965
<Control ID="Sequence">
70-
<Action
71-
ID="SwitchUIPrimaryView"
72-
primary_view_name="Visualization"
73-
/>
7466
<Control ID="Fallback" name="root">
7567
<Control ID="Sequence">
7668
<Action
@@ -105,10 +97,6 @@
10597
<!--Waypoint buttons move to joint state-->
10698
<Decorator ID="ForceSuccess" _while="teleop_mode == 3">
10799
<Control ID="Sequence">
108-
<Action
109-
ID="SwitchUIPrimaryView"
110-
primary_view_name="Visualization"
111-
/>
112100
<Control ID="Fallback" name="root">
113101
<Control ID="Sequence">
114102
<Action
@@ -142,20 +130,12 @@
142130
</Decorator>
143131
<!--Cartesian and joint jogging-->
144132
<Control ID="Sequence" _while="teleop_mode == 2">
145-
<Action
146-
ID="SwitchUIPrimaryView"
147-
primary_view_name="Visualization"
148-
/>
149133
<Action
150134
ID="TeleoperateTwist"
151135
controller_name="servo_controller"
152136
/>
153137
</Control>
154138
<Control ID="Sequence" _while="teleop_mode == 1">
155-
<Action
156-
ID="SwitchUIPrimaryView"
157-
primary_view_name="Visualization"
158-
/>
159139
<Action
160140
ID="TeleoperateJointJog"
161141
controller_name="servo_controller"

src/lab_sim/objectives/add_waypoints_to_mtc_task.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
21
<root BTCPP_format="4" main_tree_to_execute="Add Waypoints to MTC Task">
32
<!--//////////-->
4-
<BehaviorTree ID="Add Waypoints to MTC Task">
3+
<BehaviorTree
4+
ID="Add Waypoints to MTC Task"
5+
_subtreeOnly="true"
6+
_description=""
7+
>
58
<Control ID="Sequence">
69
<Action
710
ID="RetrieveWaypoint"

src/lab_sim/objectives/create_pose_vector.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<root BTCPP_format="4" main_tree_to_execute="Create Pose Vector">
22
<!--//////////-->
3-
<BehaviorTree ID="Create Pose Vector" _favorite="false">
3+
<BehaviorTree
4+
ID="Create Pose Vector"
5+
_favorite="false"
6+
_subtreeOnly="true"
7+
_description=""
8+
>
49
<Control ID="Sequence">
510
<Action
611
ID="CreateStampedPose"

src/lab_sim/objectives/get_april_tag_pose_from_image.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<root BTCPP_format="4" main_tree_to_execute="Get AprilTag Pose from Image">
22
<!-- ////////// -->
3-
<BehaviorTree ID="Get AprilTag Pose from Image">
3+
<BehaviorTree
4+
ID="Get AprilTag Pose from Image"
5+
_subtreeOnly="true"
6+
_description=""
7+
>
48
<Control ID="Sequence">
59
<!--Get tag pose estimate in world frame-->
610
<Action

0 commit comments

Comments
 (0)