Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maint/add img #73

Merged
merged 13 commits into from
Mar 16, 2021
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,32 @@ An interface node to allow control of the PACMod system with a game controller
that is represented in ROS by a Joy node.

For more information, see the [ROS Wiki](http://wiki.ros.org/pacmod_game_control).

Please see [PACMod3 readme](https://github.com/astuff/pacmod3/blob/master/README.md) to use correct version of driver for a vehicle.

![Left: Front Layout of logitech Controller; Right: Side-button layout of logitech controller
](/controller_img.png "controller_img.png")

| Button | Action | Notes |
| - | - | - |
| **Directional Pad (left-hand side)** | **Headlights and Turn Signals** | |
| Up | Headlights | Some vehicles only |
| Left | Left turn signal | |
| Right | Right turn signal | |
| Down | Hazards | Some vehicles only |
| **Button Pad (right-hand side)** | **Gear Selection** | |
| A | Drive | |
| B | Reverse | |
| X | Neutral | |
| Y | Park | |
| **Center region** | | |
| Back | Enable/Disable | 'Back' and 'Start' buttons must be pressed simultaneously to enable by-wire mode. 'Back' button must be pressed to disable by-wire mode.|
| Start | Enable | 'Back' and 'Start' buttons must be pressed simultaneously to enable by-wire mode.|
| Mode | Not supported | Do not use. Mode light should be OFF at all times. Pressing mode button will change button mapping.|
| **Joystick** | **Steering** | **Joystick click buttons unused** |
| Left joystick | Steering | Steering defaults to left joystick, but can be set to right joystick by operator. |
| Right joystick | Steering | Only if set by operator; steering defaults to left joystick |
| Left bumper | Wipers | Some vehicles only |
| Left trigger | Brake | |
| Right bumper | Horn | Some vehicles only |
| Right trigger | Throttle | |
Binary file added controller_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.