Defines | Typedefs | Enumerations | Functions
robchair_joystick_node.cpp File Reference
#include <ros/ros.h>
#include <can_msgs/CANFrame.h>
Include dependency graph for robchair_joystick_node.cpp:

Go to the source code of this file.

Defines

#define JOYSTICK   10
#define PC   0

Typedefs

typedef enum _JoystickFunction EncoderFunction
 Joystick functions.

Enumerations

enum  _JoystickFunction { TurnOff = 0, TurnOn = 1, DataFromJoystick = 4 }
 Joystick functions. More...

Functions

int main (int argc, char **argv)
void receivedCANFrame (const can_msgs::CANFrame::ConstPtr &frame_msg)
 Callback for incoming CAN frames.
void sendCANFrame (RobChairDS destination, char function, char *data, int data_count)
 This functions sends CAN frames to the RobChair CAN bus.
void turnJoystickOff ()
 This functions turns the Joystick on the RobChair OFF - Running Mode.
void turnJoystickOn ()
 This functions turns the Joystick on the RobChair ON - Running Mode.

Define Documentation

#define JOYSTICK   10

Definition at line 42 of file robchair_joystick_node.cpp.

#define PC   0

Definition at line 41 of file robchair_joystick_node.cpp.


Typedef Documentation

Joystick functions.


Enumeration Type Documentation

Joystick functions.

Enumerator:
TurnOff 
TurnOn 
DataFromJoystick 

Definition at line 45 of file robchair_joystick_node.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 84 of file robchair_joystick_node.cpp.

void receivedCANFrame ( const can_msgs::CANFrame::ConstPtr frame_msg)

Callback for incoming CAN frames.

void sendCANFrame ( RobChairDS  destination,
char  function,
char *  data,
int  data_count 
)

This functions sends CAN frames to the RobChair CAN bus.

void turnJoystickOff ( )

This functions turns the Joystick on the RobChair OFF - Running Mode.

Definition at line 66 of file robchair_joystick_node.cpp.

void turnJoystickOn ( )

This functions turns the Joystick on the RobChair ON - Running Mode.

Definition at line 59 of file robchair_joystick_node.cpp.



robchair_teleop
Author(s): Gonçalo Cabrita
autogenerated on Mon Jan 6 2014 11:26:35