Header file for the uc_bridge node. More...
#include <ros/ros.h>
#include <signal.h>
#include <pses_ucbridge/servicefunctions.h>
#include <pses_ucbridge/Communication/communication.h>
#include <pses_ucbridge/Communication/communicationconfig.h>
#include <ros/package.h>
#include <std_msgs/Float64.h>
#include <std_msgs/UInt8.h>
#include <std_msgs/Int16.h>
#include <std_msgs/String.h>
#include <sensor_msgs/Range.h>
#include <sensor_msgs/Imu.h>
#include <sensor_msgs/MagneticField.h>
#include <sensor_msgs/BatteryState.h>
Go to the source code of this file.
Namespaces | |
uc_bridge | |
This namespace contains functions used in the uc_bridge node. | |
Functions | |
void | uc_bridge::activateDAQ (Communication *com) |
This function will activate the daq of the serial device. More... | |
void | uc_bridge::activateKinect (Communication *com) |
This function will activate the kinect power supply of the serial device. More... | |
void | uc_bridge::activateMotorController (Communication *com) |
This function will activate the motor controller of the serial device. More... | |
void | uc_bridge::activateSteeringController (Communication *com) |
This function will activate the steering controller of the serial device. More... | |
void | uc_bridge::activateUS (Communication *com) |
This function will activate the ultra sonic range sensors of the serial device. More... | |
void | uc_bridge::errorCallback (const std::string &msg) |
This function will be called whenever a communication error occured and post its content as a ROS Warning. More... | |
void | uc_bridge::motorLevelCallback (std_msgs::Int16::ConstPtr motorLevel, Communication *com) |
This function will be called whenever a ros node published a message on the motor level topic. More... | |
void | uc_bridge::publishDebugMessage (const std::string &msg, ros::Publisher *pub) |
This function will be called whenever the communication received any message if the debug mode is enabled. More... | |
void | uc_bridge::publishSensorGroupMessage1 (SensorGroup *grp, std::unordered_map< std::string, ros::Publisher * > &pub) |
This function will be called whenever a message from sensor group 1 has been received and publish the sensor data on ros topcis. More... | |
void | uc_bridge::publishSensorGroupMessage2 (SensorGroup *grp, std::unordered_map< std::string, ros::Publisher * > &pub) |
This function will be called whenever a message from sensor group 2 has been received and publish the sensor data on ros topcis. More... | |
void | uc_bridge::publishSensorGroupMessage3 (SensorGroup *grp, std::unordered_map< std::string, ros::Publisher * > &pub) |
This function will be called whenever a message from sensor group 3 has been received and publish the sensor data on ros topcis. More... | |
void | uc_bridge::publishSensorGroupMessage4 (SensorGroup *grp, std::unordered_map< std::string, ros::Publisher * > &pub) |
This function will be called whenever a message from sensor group 4 has been received and publish the sensor data on ros topcis. More... | |
void | uc_bridge::publishSensorGroupMessage5 (SensorGroup *grp, std::unordered_map< std::string, ros::Publisher * > &pub) |
This function will be called whenever a message from sensor group 5 has been received and publish the sensor data on ros topcis. More... | |
void | uc_bridge::publishSensorGroupMessage6 (SensorGroup *grp, std::unordered_map< std::string, ros::Publisher * > &pub) |
This function will be called whenever a message from sensor group 6 has been received and publish the sensor data on ros topcis. More... | |
void | uc_bridge::registerSensorGroups (Communication *com) |
This function will trigger the registration of all predefined sensor groups on the serial device. More... | |
void | uc_bridge::resetController (Communication *com) |
This function send a soft reset command to the serial device. More... | |
void | uc_bridge::shutdownSignalHandler (int sig) |
This function is the callback for the shutdown system signal. More... | |
void | uc_bridge::steeringLevelCallback (std_msgs::Int16::ConstPtr steeringLevel, Communication *com) |
This function will be called whenever a ros node published a message on the steering level topic. More... | |
void | uc_bridge::textCallback (const std::string &msg) |
This function will be called whenever the communication received a plain text message which will be posted as ROS Info. More... | |
void | uc_bridge::ucBoardMessageCallback (std_msgs::String::ConstPtr msg, Communication *com) |
This function will be called whenever a ros node published a message on the raw communication topic. More... | |
Variables | |
Communication * | uc_bridge::com_ptr |
bool | uc_bridge::rstOnShutdown |
Header file for the uc_bridge node.
Definition in file uc_bridge.h.