#include <UlcNode.h>
Public Member Functions | |
UlcNode (ros::NodeHandle &n, ros::NodeHandle &pn) | |
Private Member Functions | |
void | configTimerCb (const ros::TimerEvent &event) |
void | recvCan (const can_msgs::FrameConstPtr &msg) |
void | recvEnable (const std_msgs::BoolConstPtr &msg) |
void | recvTwist (const geometry_msgs::TwistConstPtr &msg) |
void | recvTwistCmd (const geometry_msgs::Twist &msg) |
void | recvTwistStamped (const geometry_msgs::TwistStampedConstPtr &msg) |
void | recvUlcCmd (const dataspeed_ulc_msgs::UlcCmdConstPtr &msg) |
void | sendCfgMsg () |
void | sendCmdMsg (bool cfg) |
Private Attributes | |
ros::Time | cmd_stamp_ |
ros::Timer | config_timer_ |
bool | enable_ |
ros::Publisher | pub_can_ |
ros::Publisher | pub_report_ |
ros::Subscriber | sub_can_ |
ros::Subscriber | sub_cmd_ |
ros::Subscriber | sub_enable_ |
ros::Subscriber | sub_twist_ |
ros::Subscriber | sub_twist_stamped_ |
dataspeed_ulc_msgs::UlcCmd | ulc_cmd_ |
Definition at line 99 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::configTimerCb | ( | const ros::TimerEvent & | event | ) | [private] |
Definition at line 276 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::recvCan | ( | const can_msgs::FrameConstPtr & | msg | ) | [private] |
Definition at line 175 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::recvEnable | ( | const std_msgs::BoolConstPtr & | msg | ) | [private] |
Definition at line 120 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::recvTwist | ( | const geometry_msgs::TwistConstPtr & | msg | ) | [private] |
Definition at line 165 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::recvTwistCmd | ( | const geometry_msgs::Twist & | msg | ) | [private] |
Definition at line 143 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::recvTwistStamped | ( | const geometry_msgs::TwistStampedConstPtr & | msg | ) | [private] |
Definition at line 170 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::recvUlcCmd | ( | const dataspeed_ulc_msgs::UlcCmdConstPtr & | msg | ) | [private] |
Definition at line 125 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::sendCfgMsg | ( | ) | [private] |
Definition at line 252 of file UlcNode.cpp.
void dataspeed_ulc_can::UlcNode::sendCmdMsg | ( | bool | cfg | ) | [private] |
Definition at line 205 of file UlcNode.cpp.
bool dataspeed_ulc_can::UlcNode::enable_ [private] |
dataspeed_ulc_msgs::UlcCmd dataspeed_ulc_can::UlcNode::ulc_cmd_ [private] |