-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Osnovna strategija florian big (#221)
* new stuck implemented, but NOT IN STRAT * main simple strategy * fix resistance meter driver * Set new dynamixel angle position, set position for big on yellow side * add homologation, mirror servos
- Loading branch information
1 parent
8092a04
commit 0371896
Showing
6 changed files
with
161 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
mep3_behavior_tree/assets/strategies/big/florian_homologation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<root main_tree_to_execute="BehaviorTree"> | ||
<!-- ////////// --> | ||
<BehaviorTree ID="BehaviorTree"> | ||
|
||
<SequenceStar> | ||
<ForceSuccess> | ||
<Timeout msec="100000"> | ||
|
||
<Sequence> | ||
<WaitMatchStart state="1" /> | ||
<Wait duration="0.7"/> | ||
|
||
<Motion command="forward" velocity_linear="0.5" acceleration_linear="0.6" velocity_angular="15.0" acceleration_angular="15.0" value="0" /> | ||
|
||
|
||
<!-- <Navigate goal="-0.8;0.0;0" /> --> | ||
|
||
<WaitMatchStart state="2" /> | ||
<Wait duration="2.0"/> | ||
|
||
<!-- <Wait duration="5000000000.0"/> --> | ||
<SubTreePlus ID="SafePreciseNavigate" goal="0.38;-0.101;180" type="safe" node="{node}" bt_loop_duration="{bt_loop_duration}" server_timeout="{server_timeout}" /> | ||
<SubTreePlus ID="SafePreciseNavigate" goal="0.195;0.219;0" type="safe" node="{node}" bt_loop_duration="{bt_loop_duration}" server_timeout="{server_timeout}" /> | ||
<SubTreePlus ID="SafePreciseNavigate" goal="1.05;0.219;0" type="safe" node="{node}" bt_loop_duration="{bt_loop_duration}" server_timeout="{server_timeout}" /> | ||
|
||
<Wait duration="10000.0" /> | ||
</Sequence> | ||
</Timeout> | ||
</ForceSuccess> | ||
|
||
<CanbusSend can_id="8192" message="15" /> | ||
<CanbusSend can_id="8192" message="15" /> | ||
<CanbusSend can_id="8192" message="15" /> | ||
</SequenceStar> | ||
</BehaviorTree> | ||
<BehaviorTree ID="SafePreciseNavigate"> | ||
<SequenceStar> | ||
<ClearEntireCostmap name="ClearLocalCostmap-Context" service_name="local_costmap/clear_entirely_local_costmap" /> | ||
<RecoveryNode number_of_retries="10" name="FollowPath"> | ||
<PreciseNavigate goal="{goal}" behavior_tree="{type}" /> | ||
<Sequence> | ||
<Wait duration="2.5" /> | ||
<ClearEntireCostmap name="ClearLocalCostmap-Context" service_name="local_costmap/clear_entirely_local_costmap" /> | ||
<Wait duration="0.5" /> | ||
</Sequence> | ||
</RecoveryNode> | ||
</SequenceStar> | ||
</BehaviorTree> | ||
<!-- ////////// --> | ||
</root> | ||
|
Oops, something went wrong.