-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xbox controller parameters for all platforms
- Loading branch information
1 parent
5eeabe6
commit 346651a
Showing
10 changed files
with
669 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Layout for Microsoft Xbox controllers | ||
# | ||
# (LB) (RB) | ||
# (LT) (RT) | ||
# _=====_ _=====_ | ||
# / \ / \ | ||
# / ---------------------------- \ | ||
# / ___ (Y) \ | ||
# / / L \ \ | ||
# / \___/ (X) (B) \ | ||
# | # = | | ||
# | (A) | | ||
# | _ ___ | | ||
# | __| |__ / R \ | | ||
# | |__ __| \___/ | | ||
# | |_| | | ||
# | /------------------------\ | | ||
# | / \ | | ||
# | / \ | | ||
# \ / \ / | ||
# \________/ \________/ | ||
# | ||
# BUTTON Value | ||
# LB 6 | ||
# RB 7 | ||
# A 0 | ||
# B 1 | ||
# X 3 | ||
# Y 4 | ||
# L (click) 13 | ||
# R (click) 14 | ||
# menu (=) 11 | ||
# window (#) unmapped | ||
|
||
# | ||
# AXIS Value | ||
# Left Horiz. 0 | ||
# Left Vert. 1 | ||
# Right Horiz. 2 | ||
# Right Vert. 3 | ||
# LT 5 | ||
# RT 4 # yes, really, RT is 4, not 5 | ||
# D-pad Horiz. 6 | ||
# D-pad Vert. 7 | ||
|
||
teleop_twist_joy_node: | ||
ros__parameters: | ||
publish_stamped_twist: True | ||
use_sim_time: False | ||
axis_linear.x: 1 | ||
scale_linear.x: 0.4 | ||
scale_linear_turbo.x: 1.0 | ||
axis_angular.yaw: 0 | ||
scale_angular.yaw: 0.6 | ||
scale_angular_turbo.yaw: 1.2 | ||
enable_button: 6 | ||
enable_turbo_button: 7 | ||
joy_node: | ||
ros__parameters: | ||
use_sim_time: False | ||
deadzone: 0.1 | ||
autorepeat_rate: 20.0 | ||
dev: /dev/input/xbox | ||
bt_cutoff_node: | ||
ros__parameters: | ||
quality_cutoff: 20 |
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,66 @@ | ||
# Layout for Microsoft Xbox controllers | ||
# | ||
# (LB) (RB) | ||
# (LT) (RT) | ||
# _=====_ _=====_ | ||
# / \ / \ | ||
# / ---------------------------- \ | ||
# / ___ (Y) \ | ||
# / / L \ \ | ||
# / \___/ (X) (B) \ | ||
# | # = | | ||
# | (A) | | ||
# | _ ___ | | ||
# | __| |__ / R \ | | ||
# | |__ __| \___/ | | ||
# | |_| | | ||
# | /------------------------\ | | ||
# | / \ | | ||
# | / \ | | ||
# \ / \ / | ||
# \________/ \________/ | ||
# | ||
# BUTTON Value | ||
# LB 6 | ||
# RB 7 | ||
# A 0 | ||
# B 1 | ||
# X 3 | ||
# Y 4 | ||
# L (click) 13 | ||
# R (click) 14 | ||
# menu (=) 11 | ||
# window (#) unmapped | ||
|
||
# | ||
# AXIS Value | ||
# Left Horiz. 0 | ||
# Left Vert. 1 | ||
# Right Horiz. 2 | ||
# Right Vert. 3 | ||
# LT 5 | ||
# RT 4 # yes, really, RT is 4, not 5 | ||
# D-pad Horiz. 6 | ||
# D-pad Vert. 7 | ||
|
||
teleop_twist_joy_node: | ||
ros__parameters: | ||
publish_stamped_twist: True | ||
use_sim_time: False | ||
axis_linear.x: 1 | ||
scale_linear.x: 0.3 | ||
scale_linear_turbo.x: 2.0 | ||
axis_angular.yaw: 0 | ||
scale_angular.yaw: 1.0 | ||
scale_angular_turbo.yaw: 2.0 | ||
enable_button: 5 | ||
enable_turbo_button: 4 | ||
joy_node: | ||
ros__parameters: | ||
use_sim_time: False | ||
deadzone: 0.1 | ||
autorepeat_rate: 20.0 | ||
dev: /dev/input/xbox | ||
bt_cutoff_node: | ||
ros__parameters: | ||
quality_cutoff: 20 |
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,66 @@ | ||
# Layout for Microsoft Xbox controllers | ||
# | ||
# (LB) (RB) | ||
# (LT) (RT) | ||
# _=====_ _=====_ | ||
# / \ / \ | ||
# / ---------------------------- \ | ||
# / ___ (Y) \ | ||
# / / L \ \ | ||
# / \___/ (X) (B) \ | ||
# | # = | | ||
# | (A) | | ||
# | _ ___ | | ||
# | __| |__ / R \ | | ||
# | |__ __| \___/ | | ||
# | |_| | | ||
# | /------------------------\ | | ||
# | / \ | | ||
# | / \ | | ||
# \ / \ / | ||
# \________/ \________/ | ||
# | ||
# BUTTON Value | ||
# LB 6 | ||
# RB 7 | ||
# A 0 | ||
# B 1 | ||
# X 3 | ||
# Y 4 | ||
# L (click) 13 | ||
# R (click) 14 | ||
# menu (=) 11 | ||
# window (#) unmapped | ||
|
||
# | ||
# AXIS Value | ||
# Left Horiz. 0 | ||
# Left Vert. 1 | ||
# Right Horiz. 2 | ||
# Right Vert. 3 | ||
# LT 5 | ||
# RT 4 # yes, really, RT is 4, not 5 | ||
# D-pad Horiz. 6 | ||
# D-pad Vert. 7 | ||
|
||
teleop_twist_joy_node: | ||
ros__parameters: | ||
publish_stamped_twist: True | ||
use_sim_time: False | ||
axis_linear.x: 1 | ||
scale_linear.x: 0.4 | ||
scale_linear_turbo.x: 1.0 | ||
axis_angular.yaw: 0 | ||
scale_angular.yaw: 0.6 | ||
scale_angular_turbo.yaw: 1.0 | ||
enable_button: 6 | ||
enable_turbo_button: 7 | ||
joy_node: | ||
ros__parameters: | ||
use_sim_time: False | ||
deadzone: 0.1 | ||
autorepeat_rate: 20.0 | ||
dev: /dev/input/xbox | ||
bt_cutoff_node: | ||
ros__parameters: | ||
quality_cutoff: 20 |
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,66 @@ | ||
# Layout for Microsoft Xbox controllers | ||
# | ||
# (LB) (RB) | ||
# (LT) (RT) | ||
# _=====_ _=====_ | ||
# / \ / \ | ||
# / ---------------------------- \ | ||
# / ___ (Y) \ | ||
# / / L \ \ | ||
# / \___/ (X) (B) \ | ||
# | # = | | ||
# | (A) | | ||
# | _ ___ | | ||
# | __| |__ / R \ | | ||
# | |__ __| \___/ | | ||
# | |_| | | ||
# | /------------------------\ | | ||
# | / \ | | ||
# | / \ | | ||
# \ / \ / | ||
# \________/ \________/ | ||
# | ||
# BUTTON Value | ||
# LB 6 | ||
# RB 7 | ||
# A 0 | ||
# B 1 | ||
# X 3 | ||
# Y 4 | ||
# L (click) 13 | ||
# R (click) 14 | ||
# menu (=) 11 | ||
# window (#) unmapped | ||
|
||
# | ||
# AXIS Value | ||
# Left Horiz. 0 | ||
# Left Vert. 1 | ||
# Right Horiz. 2 | ||
# Right Vert. 3 | ||
# LT 5 | ||
# RT 4 # yes, really, RT is 4, not 5 | ||
# D-pad Horiz. 6 | ||
# D-pad Vert. 7 | ||
|
||
teleop_twist_joy_node: | ||
ros__parameters: | ||
publish_stamped_twist: True | ||
use_sim_time: False | ||
axis_linear.x: 1 | ||
scale_linear.x: 0.4 | ||
scale_linear_turbo.x: 1.0 | ||
axis_angular.yaw: 0 | ||
scale_angular.yaw: 0.6 | ||
scale_angular_turbo.yaw: 1.0 | ||
enable_button: 6 | ||
enable_turbo_button: 7 | ||
joy_node: | ||
ros__parameters: | ||
use_sim_time: False | ||
deadzone: 0.1 | ||
autorepeat_rate: 20.0 | ||
dev: /dev/input/xbox | ||
bt_cutoff_node: | ||
ros__parameters: | ||
quality_cutoff: 20 |
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,69 @@ | ||
# Layout for Microsoft Xbox controllers | ||
# | ||
# (LB) (RB) | ||
# (LT) (RT) | ||
# _=====_ _=====_ | ||
# / \ / \ | ||
# / ---------------------------- \ | ||
# / ___ (Y) \ | ||
# / / L \ \ | ||
# / \___/ (X) (B) \ | ||
# | # = | | ||
# | (A) | | ||
# | _ ___ | | ||
# | __| |__ / R \ | | ||
# | |__ __| \___/ | | ||
# | |_| | | ||
# | /------------------------\ | | ||
# | / \ | | ||
# | / \ | | ||
# \ / \ / | ||
# \________/ \________/ | ||
# | ||
# BUTTON Value | ||
# LB 6 | ||
# RB 7 | ||
# A 0 | ||
# B 1 | ||
# X 3 | ||
# Y 4 | ||
# L (click) 13 | ||
# R (click) 14 | ||
# menu (=) 11 | ||
# window (#) unmapped | ||
|
||
# | ||
# AXIS Value | ||
# Left Horiz. 0 | ||
# Left Vert. 1 | ||
# Right Horiz. 2 | ||
# Right Vert. 3 | ||
# LT 5 | ||
# RT 4 # yes, really, RT is 4, not 5 | ||
# D-pad Horiz. 6 | ||
# D-pad Vert. 7 | ||
|
||
teleop_twist_joy_node: | ||
ros__parameters: | ||
publish_stamped_twist: True | ||
use_sim_time: False | ||
axis_linear.x: 1 | ||
axis_linear.y: 0 | ||
scale_linear.x: 0.4 | ||
scale_linear.y: 0.4 | ||
scale_linear_turbo.x: 1.0 | ||
scale_linear_turbo.y: 1.0 | ||
axis_angular.yaw: 3 | ||
scale_angular.yaw: 0.5 | ||
scale_angular_turbo.yaw: 1.0 | ||
enable_button: 6 | ||
enable_turbo_button: 7 | ||
joy_node: | ||
ros__parameters: | ||
use_sim_time: False | ||
deadzone: 0.1 | ||
autorepeat_rate: 20.0 | ||
dev: /dev/input/xbox | ||
bt_cutoff_node: | ||
ros__parameters: | ||
quality_cutoff: 20 |
Oops, something went wrong.