Skip to content

Commit 1cda8d4

Browse files
authored
Tune parameters for go (#668)
2 parents 8cca437 + c47699f commit 1cda8d4

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

bitbots_behavior/bitbots_body_behavior/bitbots_body_behavior/behavior_dsd/actions/go_to_ball.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, blackboard, dsd, parameters):
2222
self.blocking = parameters.get("blocking", True)
2323
self.distance = parameters.get("distance", self.blackboard.config["ball_approach_dist"])
2424
# Offset so we kick the ball with one foot instead of the center between the feet
25-
self.side_offset = parameters.get("side_offset", 0.05)
25+
self.side_offset = parameters.get("side_offset", 0.08)
2626

2727
def perform(self, reevaluate=False):
2828
pose_msg = self.blackboard.pathfinding.get_ball_goal(self.target, self.distance, self.side_offset)

bitbots_behavior/bitbots_body_behavior/config/body_behavior.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ body_behavior:
6161
# An area in which the ball can be kicked
6262
# defined by min/max x/y values in meters which represent ball positions relative to base_footprint
6363
# http://www.ros.org/reps/rep-0103.html#axis-orientation
64-
kick_x_enter: 0.25
64+
kick_x_enter: 0.23
6565
kick_x_leave: 0.25
6666
kick_y_enter: 0.12
6767
kick_y_leave: 0.12
@@ -146,7 +146,7 @@ body_behavior:
146146
dribble_ball_distance_threshold: 0.5
147147
dribble_kick_angle: 0.6
148148

149-
kick_decision_smoothing: 1.0
149+
kick_decision_smoothing: 10.0
150150

151151
##################
152152
# costmap params #

bitbots_misc/bitbots_extrinsic_calibration/config/jack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
/bitbots_extrinsic_imu_calibration:
88
ros__parameters:
99
offset_x: 0.06
10-
offset_y: -0.085
10+
offset_y: -0.0
1111
offset_z: 0.0

bitbots_misc/bitbots_extrinsic_calibration/config/rory.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
/bitbots_extrinsic_imu_calibration:
88
ros__parameters:
9-
offset_x: 0.0
10-
offset_y: 0.017
9+
offset_x: -0.03
10+
offset_y: -0.06
1111
offset_z: 0.0

bitbots_misc/bitbots_parameter_blackboard/launch/parameter_blackboard.launch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<launch>
33
<arg name="sim" default="false"/>
4-
<arg unless="$(var sim)" name="fieldname" default="labor" description="Loads field settings (labor, webots, gazebo, bangkok, spl, german_open_2024)." />
4+
<arg unless="$(var sim)" name="fieldname" default="german_open_2024" description="Loads field settings (labor, webots, gazebo, bangkok, spl, german_open_2024)." />
55
<arg if="$(var sim)" name="fieldname" default="webots" description="Loads field settings (labor, webots, gazebo, bangkok, german_open_2024)." />
66

77
<!-- print bit-bot -->

bitbots_navigation/bitbots_path_planning/config/path_planning_parameters.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ bitbots_path_planning:
5656
bounds<>: [0, 100]
5757
max_rotation_vel:
5858
type: double
59-
default_value: 0.6
59+
default_value: 0.4
6060
description: 'The maximum rotation velocity of the robot in rad/s around the z-axis'
6161
validation:
6262
bounds<>: [0.0, 1.0]
@@ -98,13 +98,13 @@ bitbots_path_planning:
9898
bounds<>: [0.0, 1.0]
9999
translation_slow_down_factor:
100100
type: double
101-
default_value: 1.0
101+
default_value: 0.6
102102
description: 'Clamped p gain of the translation controller'
103103
validation:
104104
bounds<>: [0.0, 1.0]
105105
orient_to_goal_distance:
106106
type: double
107-
default_value: 0.4
107+
default_value: 0.5
108108
description: 'Distance at which we switch from orienting towards the path to orienting towards the goal poses orientation (in meters)'
109109
validation:
110110
bounds<>: [0.0, 10.0]

0 commit comments

Comments
 (0)