Run the PACMod Game Control Demo

Run the PACMod Game Control Demo

All vehicles with a PACMod installed also come with the pacmod_game_control

 

Launching the Demo

There are two methods to launch the demonstration on a typical vehicle. First, an ECU configured by AutonomouStuff for use on a PACMod enabled vehicle will have a desktop icon named "Joystick Demo" for launching the demo graphically. Second, the launch commands will always be available through the terminal ( Ctrl+Alt+t ). 

Desktop Icon

  1. On the Ubuntu Desktop, locate the icon shaped like a joystick with the name "Joystick Demo"

  2. Double Click the icon and the demonstration will start. You should see output in a terminal window that looks similar to the output below:

  3. At this point the demonstration has started and you will be able to control the vehicle with the provided Game Controller pictured below:

Terminal Window Commands

  1. Open a new Terminal ( Ctrl+Alt+t )

  2. Launch the game control node with the following command:

    roslaunch pacmod_game_control pacmod_game_control.launch --screen

Controlling the Vehicle

The below image shows the buttons of the game controller and their function in the PACMod Game Control node.

Button Differences Between Vehicles

  • Headlights are only controllable on the LEXUS_RX_450H

  • Hazard Lights may not be available in all models

  • GEMs do not have a PARK gear. They have a manually engaged parking brake.