Skip to content

Commit 0427071

Browse files
committed
logitech g29 docs
1 parent 6762644 commit 0427071

4 files changed

Lines changed: 78 additions & 1 deletion

File tree

306 KB
Loading
90.5 KB
Loading
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
3+
<popup-img src="image.png" alt="image"></popup-img>
4+
[logitechg.com : Logitech G29 Steering wheel](https://www.logitechg.com/en-us/shop/p/driving-force-racing-wheel.941-000110)
5+
6+
## Overview
7+
The `AWSIM-demo.x86-64` simulation (included in [AWSIM-demo.zip](../../../Downloads/index.md)) featured in the [Quick-start-demo](../../QuickStartDemo/index.md) page supports the Logitech G29 Steering wheel. This page explains how to set it up and configure it.
8+
9+
**The behavior of G29 varies depending on the control mode.**
10+
11+
- Control mode is `AUTONOMOUS` : G29 automatically reflects the vehicle's steering angle.
12+
- Control mode is `MANUAL` : User can control the vehicle via G29.
13+
14+
## How to setup
15+
16+
1. Connect the Logitech G29 to your PC. (PS3 mode recommended)
17+
18+
!!! warning
19+
When connected to a PC, automatic calibration will start and the steering wheel will rotate. Please be careful to avoid injury.
20+
21+
1. Check the device path for G29.
22+
23+
Enter `evtest` command.
24+
```
25+
evtest
26+
```
27+
Result.
28+
```{.yml .no-copy}
29+
No device specified, trying to scan all of /dev/input/event*
30+
Not running as root, no devices may be available.
31+
Available devices:
32+
/dev/input/event16: input-remapper gamepad
33+
/dev/input/event22: Logitech G29 Driving Force Racing Wheel
34+
Select the device event number [0-22]:
35+
```
36+
37+
In this case, the device path for G29 is `/dev/input/event22`.
38+
39+
1. Enter the g29 device path in `sample-config.json`. Please replace `<device path number>` as appropriate.
40+
41+
!!! info
42+
`sample-config.json` is included in [AWSIM-demo.zip](../../../Downloads/index.md).
43+
44+
```json
45+
~~
46+
"LogitechG29Settings": {
47+
"_devicePath": "/dev/input/event<device path number>",
48+
~~
49+
```
50+
51+
1. Launch `AWSIM-demo.x86-64` with `sample-config.json`
52+
```
53+
./AWSIM-demo.x86_64 --json-path <direcotry path>/<config json name>.json
54+
```
55+
1. Select Logitech G29 from the UI's Vehicle input device.
56+
57+
<popup-img src="image_1.png" alt="image_1"></popup-img>
58+
59+
60+
## Key map
61+
62+
|Key|Feature|
63+
|:--|:--|
64+
|Triangle|Switch to move drive gear.|
65+
|Square|Switch to move reverse gear.|
66+
|Circle|Switch to neutral gear.|
67+
|Cross|Switch to parking gear.|
68+
|Throttle pedal|Forward acceleration.|
69+
|Brake pedal|Reverse acceleration.|
70+
|Steering wheel|Turning.|
71+
|Left paddle|Turn left blinker on.|
72+
|Right paddle|Turn right blinker on.|
73+
|R2|Turn on hazard lights.|
74+
|R3|Turn off blinker or hazard lights.|
75+
|L2|Switch control mode `MANUAL` to `AUTONOMOUS`|

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ markdown_extensions:
5858
- pymdownx.arithmatex:
5959
generic: true
6060

61+
6162
repo_url: https://github.com/tier4/AWSIM
6263
repo_name: tier4/AWSIM
6364

@@ -68,8 +69,9 @@ nav:
6869
- Demo details: GettingStarted/DemoDetails/index.md
6970
- AWSIM concept: GettingStarted/AWSIMConcept/index.md
7071
- Advanced:
72+
- Awsim rviz plugins: GettingStarted/Advanced/AwsimRvizPlugins/index.md
73+
- Logitech G29: GettingStarted/Advanced/LogitechG29/index.md
7174
- UsingOpenScenario: GettingStarted/Advanced/UsingOpenScenario/index.md
72-
- AwsimRvizPlugins: GettingStarted/Advanced/AwsimRvizPlugins/index.md
7375
- Developer guide:
7476
- Prerequisites: DeveloperGuide/Prerequisites/index.md
7577
- Setup unity project: DeveloperGuide/SetupUnityProject/index.md

0 commit comments

Comments
 (0)