Cheetah Software  1.0
GameController.cpp File Reference

Code to read the Logitech F310 Game Controller Creates a DriverCommand object to be sent to the robot controller Used in the development simulator and in the robot control mode. More...

#include "GameController.h"
#include <QtCore/QObject>
#include <QtGamepad/QGamepad>
+ Include dependency graph for GameController.cpp:

Go to the source code of this file.

Detailed Description

Code to read the Logitech F310 Game Controller Creates a DriverCommand object to be sent to the robot controller Used in the development simulator and in the robot control mode.

NOTE: Because QT is weird, the updateDriverCommand has to be called from a QT event. Running it in another thread will cause it to not work. As a result, this only works if called in the update method of a QTObject

Definition in file GameController.cpp.