Classes | Typedefs | Functions | Variables
canopen_ros.cpp File Reference
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "sensor_msgs/JointState.h"
#include "pr2_controllers_msgs/JointTrajectoryControllerState.h"
#include "brics_actuator/JointVelocities.h"
#include "cob_srvs/Trigger.h"
#include "cob_srvs/SetOperationMode.h"
#include <iostream>
#include <map>
#include <boost/bind.hpp>
#include <boost/filesystem.hpp>
#include <canopen.h>
#include <XmlRpcValue.h>
Include dependency graph for canopen_ros.cpp:

Go to the source code of this file.

Classes

struct  BusParams

Typedefs

typedef boost::function< void(const
brics_actuator::JointVelocities &)> 
JointVelocitiesType
typedef boost::function< bool(cob_srvs::SetOperationMode::Request
&, cob_srvs::SetOperationMode::Response &)> 
SetOperationModeCallbackType
typedef boost::function< bool(cob_srvs::Trigger::Request
&, cob_srvs::Trigger::Response &)> 
TriggerType

Functions

bool CANopenInit (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res, std::string chainName)
bool CANopenRecover (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res, std::string chainName)
int main (int argc, char **argv)
void readParamsFromParameterServer (ros::NodeHandle n)
bool setOperationModeCallback (cob_srvs::SetOperationMode::Request &req, cob_srvs::SetOperationMode::Response &res, std::string chainName)
void setVel (const brics_actuator::JointVelocities &msg, std::string chainName)

Variables

std::map< std::string, BusParamsbuses
std::string deviceFile

Typedef Documentation

typedef boost::function< void(const brics_actuator::JointVelocities&)> JointVelocitiesType

Definition at line 21 of file canopen_ros.cpp.

Definition at line 24 of file canopen_ros.cpp.

Definition at line 19 of file canopen_ros.cpp.


Function Documentation

bool CANopenInit ( cob_srvs::Trigger::Request req,
cob_srvs::Trigger::Response res,
std::string  chainName 
)

Definition at line 34 of file canopen_ros.cpp.

bool CANopenRecover ( cob_srvs::Trigger::Request req,
cob_srvs::Trigger::Response res,
std::string  chainName 
)

Definition at line 45 of file canopen_ros.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 124 of file canopen_ros.cpp.

Definition at line 72 of file canopen_ros.cpp.

Definition at line 57 of file canopen_ros.cpp.

void setVel ( const brics_actuator::JointVelocities msg,
std::string  chainName 
)

Definition at line 63 of file canopen_ros.cpp.


Variable Documentation

std::map<std::string, BusParams> buses

Definition at line 30 of file canopen_ros.cpp.

std::string deviceFile

Definition at line 32 of file canopen_ros.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


ipa_canopen_ros
Author(s): Tobias Sing
autogenerated on Fri Mar 1 2013 18:36:38