-
Notifications
You must be signed in to change notification settings - Fork 676
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow param file selection and update the readme
Signed-off-by: M. Fatih Cırıt <[email protected]>
- Loading branch information
M. Fatih Cırıt
committed
Feb 26, 2024
1 parent
cfdee85
commit 9d7e37c
Showing
7 changed files
with
72 additions
and
2 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
2 changes: 1 addition & 1 deletion
2
...ntroller/config/joy_controller.param.yaml → ...ller/config/joy_controller_ds4.param.yaml
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
16 changes: 16 additions & 0 deletions
16
control/joy_controller/config/joy_controller_g29.param.yaml
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,16 @@ | ||
/**: | ||
ros__parameters: | ||
joy_type: G29 | ||
update_rate: 10.0 | ||
accel_ratio: 3.0 | ||
brake_ratio: 5.0 | ||
steer_ratio: 0.5 | ||
steering_angle_velocity: 0.1 | ||
accel_sensitivity: 1.0 | ||
brake_sensitivity: 1.0 | ||
control_command: | ||
raw_control: false | ||
velocity_gain: 3.0 | ||
max_forward_velocity: 20.0 | ||
max_backward_velocity: 3.0 | ||
backward_accel_ratio: 1.0 |
16 changes: 16 additions & 0 deletions
16
control/joy_controller/config/joy_controller_p65.param.yaml
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,16 @@ | ||
/**: | ||
ros__parameters: | ||
joy_type: P65 | ||
update_rate: 10.0 | ||
accel_ratio: 3.0 | ||
brake_ratio: 5.0 | ||
steer_ratio: 0.5 | ||
steering_angle_velocity: 0.1 | ||
accel_sensitivity: 1.0 | ||
brake_sensitivity: 1.0 | ||
control_command: | ||
raw_control: false | ||
velocity_gain: 3.0 | ||
max_forward_velocity: 20.0 | ||
max_backward_velocity: 3.0 | ||
backward_accel_ratio: 1.0 |
16 changes: 16 additions & 0 deletions
16
control/joy_controller/config/joy_controller_xbox.param.yaml
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,16 @@ | ||
/**: | ||
ros__parameters: | ||
joy_type: XBOX | ||
update_rate: 10.0 | ||
accel_ratio: 3.0 | ||
brake_ratio: 5.0 | ||
steer_ratio: 0.5 | ||
steering_angle_velocity: 0.1 | ||
accel_sensitivity: 1.0 | ||
brake_sensitivity: 1.0 | ||
control_command: | ||
raw_control: false | ||
velocity_gain: 3.0 | ||
max_forward_velocity: 20.0 | ||
max_backward_velocity: 3.0 | ||
backward_accel_ratio: 1.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
7 changes: 7 additions & 0 deletions
7
control/joy_controller/launch/joy_controller_param_selection.launch.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,7 @@ | ||
<launch> | ||
<arg name="joy_type" default="ds4" description="options: ds4, g29, p65, xbox"/> | ||
|
||
<include file="$(find-pkg-share joy_controller)/launch/joy_controller.launch.xml"> | ||
<arg name="config_file" value="$(find-pkg-share joy_controller)/config/joy_controller_$(var joy_type).param.yaml"/> | ||
</include> | ||
</launch> |