Functions | Variables
motor_controller/main.cpp File Reference
#include <ros/ros.h>
#include <ros/subscriber.h>
#include <ros/publisher.h>
#include <string>
#include <igvc_msgs/velocity_pair.h>
#include <igvc/SerialPort.h>
#include <std_msgs/Bool.h>
Include dependency graph for motor_controller/main.cpp:

Go to the source code of this file.

Functions

void cmdCallback (const igvc_msgs::velocity_pair::ConstPtr &msg)
 
void enabledCallback (const std_msgs::BoolConstPtr &msg)
 
int main (int argc, char **argv)
 

Variables

igvc_msgs::velocity_pair current_motor_command
 
bool enabled = false
 

Function Documentation

void cmdCallback ( const igvc_msgs::velocity_pair::ConstPtr &  msg)

Definition at line 15 of file motor_controller/main.cpp.

void enabledCallback ( const std_msgs::BoolConstPtr &  msg)

Definition at line 20 of file motor_controller/main.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 25 of file motor_controller/main.cpp.

Variable Documentation

igvc_msgs::velocity_pair current_motor_command

Definition at line 11 of file motor_controller/main.cpp.

bool enabled = false

Definition at line 13 of file motor_controller/main.cpp.



igvc
Author(s): Matthew Barulic , Al Chaussee
autogenerated on Sun May 10 2015 16:18:45