TechTheTime-HighLevel 0.0.1
The high level robot's code using ros2-foxy for the robotics competition(Erobot-2022)
ControllerSetup Class Reference

#include <controllerSetup.hpp>

Public Member Functions

 ControllerSetup ()=delete
 Cannot create empty controller. More...
 
 ControllerSetup (Binder binder)
 Construct a new Controller Setup object. More...
 
 ControllerSetup (std::string path, Binder binder)
 Construct a new Controller Setup object. More...
 
void run (bool debug)
 Runs the controller with the bound callbacks. More...
 

Public Attributes

Binder binder
 
Joystick joystick
 

Constructor & Destructor Documentation

◆ ControllerSetup() [1/3]

ControllerSetup ( )
delete

Cannot create empty controller.

◆ ControllerSetup() [2/3]

ControllerSetup ( Binder  binder)

Construct a new Controller Setup object.

Parameters
binderThe binder associated

◆ ControllerSetup() [3/3]

ControllerSetup ( std::string  path,
Binder  binder 
)

Construct a new Controller Setup object.

Parameters
pathThe path of the joystick
binderThe binder associated

Member Function Documentation

◆ run()

void run ( bool  debug)

Runs the controller with the bound callbacks.

Parameters
debugPrints debug if true

Member Data Documentation

◆ binder

Binder binder

◆ joystick

Joystick joystick

The documentation for this class was generated from the following files: