-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
type
config option and possibility to use pedals (#188)
- Loading branch information
Showing
5 changed files
with
229 additions
and
110 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name joypad | ||
period 0.05 | ||
|
||
type pedals | ||
|
||
|
||
# Joypad options | ||
deadzone 0.2 | ||
fullscale 1.0 | ||
|
||
connectPortsSeparately true | ||
|
||
# copied from gamepad.ini for now | ||
forwardAxis 1 | ||
rotationAxis 2 | ||
sideAxis 0 | ||
|
||
|
||
# Port names | ||
rpcServerPort_name /walking-coordinator/rpc | ||
rpcClientPort_name /rpc | ||
|
||
# The goal is the desired position of the robot CoM. The desired position is a | ||
# vector containing the x and the y coordinate expressed in a frame rigidly | ||
# attached to the robot. | ||
# The x-axis points forward | ||
# The y-axis points on the left | ||
robotGoalInputPort_name /walking-coordinator/goal:i | ||
robotGoalOutputPort_name /goal:o | ||
|
||
[JOYPAD_DEVICE] | ||
# Polydriver options | ||
# remote depends on the name of the joypad (xbox ps4 ...) | ||
|
||
# device JoypadControlClient | ||
# local /joypadInput | ||
# remote /joypadDevice/xbox | ||
|
||
device SDLJoypad | ||
sticks 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
Oops, something went wrong.