Public Member Functions | Private Member Functions | Private Attributes | List of all members
dataspeed_ulc_can::UlcNode Class Reference

#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_
 

Detailed Description

Definition at line 48 of file UlcNode.h.

Constructor & Destructor Documentation

dataspeed_ulc_can::UlcNode::UlcNode ( ros::NodeHandle n,
ros::NodeHandle pn 
)

Definition at line 99 of file UlcNode.cpp.

Member Function Documentation

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.

Member Data Documentation

ros::Time dataspeed_ulc_can::UlcNode::cmd_stamp_
private

Definition at line 74 of file UlcNode.h.

ros::Timer dataspeed_ulc_can::UlcNode::config_timer_
private

Definition at line 71 of file UlcNode.h.

bool dataspeed_ulc_can::UlcNode::enable_
private

Definition at line 75 of file UlcNode.h.

ros::Publisher dataspeed_ulc_can::UlcNode::pub_can_
private

Definition at line 70 of file UlcNode.h.

ros::Publisher dataspeed_ulc_can::UlcNode::pub_report_
private

Definition at line 69 of file UlcNode.h.

ros::Subscriber dataspeed_ulc_can::UlcNode::sub_can_
private

Definition at line 67 of file UlcNode.h.

ros::Subscriber dataspeed_ulc_can::UlcNode::sub_cmd_
private

Definition at line 64 of file UlcNode.h.

ros::Subscriber dataspeed_ulc_can::UlcNode::sub_enable_
private

Definition at line 68 of file UlcNode.h.

ros::Subscriber dataspeed_ulc_can::UlcNode::sub_twist_
private

Definition at line 65 of file UlcNode.h.

ros::Subscriber dataspeed_ulc_can::UlcNode::sub_twist_stamped_
private

Definition at line 66 of file UlcNode.h.

dataspeed_ulc_msgs::UlcCmd dataspeed_ulc_can::UlcNode::ulc_cmd_
private

Definition at line 73 of file UlcNode.h.


The documentation for this class was generated from the following files:


dataspeed_ulc_can
Author(s): Micho Radovnikovich
autogenerated on Thu Jul 9 2020 03:45:43