-
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.
* ForwardStuck working, finetune strategy for 6 on gallery * finetuned stuck and PID, motion is great now * Max speed, strategy works * in progress, yellow strategy for big-kosta-robot * Add kosta_yellow strategy, replace robot_left_connector by arm_connector, set start position for small yellow side * fix server name prefix * update blacklist * fix lidar constrain * fix inflator * update nav2 params * remove servos, need new Arm angles * update goal checker Co-authored-by: Filip Parag <filip@parag.rs>
- Loading branch information
1 parent
0371896
commit 882732b
Showing
13 changed files
with
683 additions
and
280 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
mep3_behavior_tree/assets/strategies/small/kosta_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,53 @@ | ||
|
||
<root main_tree_to_execute="BehaviorTree"> | ||
<!-- ////////// --> | ||
<BehaviorTree ID="BehaviorTree"> | ||
<SequenceStar> | ||
<ForceSuccess> | ||
<Timeout msec="100000"> | ||
|
||
<Sequence> | ||
|
||
<WaitMatchStart state="1"/> | ||
|
||
<Motion command="forward" velocity_linear="0.5" acceleration_linear="0.5" velocity_angular="6.0" acceleration_angular="8.0" value="0" /> | ||
|
||
<WaitMatchStart state="2"/> | ||
|
||
<SubTreePlus ID="SafePreciseNavigate" goal="0.915;0.45;180" type="safe" node="{node}" bt_loop_duration="{bt_loop_duration}" server_timeout="{server_timeout}" /> | ||
|
||
<SubTreePlus ID="SafePreciseNavigate" goal="0.915;0.7;180" type="safe" node="{node}" bt_loop_duration="{bt_loop_duration}" server_timeout="{server_timeout}" /> | ||
|
||
|
||
<SubTreePlus ID="SafePreciseNavigate" goal="0.456;0.7;180" type="safe" node="{node}" bt_loop_duration="{bt_loop_duration}" server_timeout="{server_timeout}" /> | ||
|
||
<SubTreePlus ID="SafePreciseNavigate" goal="1.26;0.7;180" type="backward_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> | ||
|
408 changes: 312 additions & 96 deletions
408
...behavior_tree/assets/strategies/kosta.xml → .../assets/strategies/small/kosta_yellow.xml
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
small: | ||
distance_angle_regulator: | ||
ros__parameters: | ||
kp_distance: 5.0 | ||
kp_distance: 11.0 | ||
ki_distance: 0.0 | ||
kd_distance: 2.0 | ||
kd_distance: 3.0 | ||
d_term_filter_distance: 0.1 | ||
|
||
kp_angle: 6.0 | ||
kp_angle: 9.0 | ||
ki_angle: 0.0 | ||
kd_angle: 4.0 | ||
kd_angle: 2.0 | ||
d_term_filter_angle: 0.1 | ||
|
||
distance_goal_tolerance: 0.002 | ||
angle_goal_tolerance: 0.018 | ||
|
||
control_frequency: 100.0 | ||
control_frequency: 100.0 |
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
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
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
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