Public Member Functions |
| PdsNode (ros::NodeHandle &node, ros::NodeHandle &priv_nh) |
| ~PdsNode () |
Private Types |
typedef dataspeed_pds_msgs::Status | SyncMsg |
typedef
message_filters::sync_policies::ApproximateTime
< SyncMsg, SyncMsg > | SyncPolicy1 |
typedef
message_filters::sync_policies::ApproximateTime
< SyncMsg, SyncMsg, SyncMsg > | SyncPolicy2 |
typedef
message_filters::sync_policies::ApproximateTime
< SyncMsg, SyncMsg, SyncMsg,
SyncMsg > | SyncPolicy3 |
typedef
dataspeed_pds_msgs::Status::ConstPtr | SyncPtr |
Private Member Functions |
float | bytesToAmperes (int16_t input) |
float | bytesToCelsius (int8_t input) |
float | bytesToVoltage (uint16_t input) |
void | recvCAN (const can_msgs::Frame::ConstPtr &msg) |
void | recvMode (const dataspeed_pds_msgs::Mode::ConstPtr &msg) |
void | recvRelay (const dataspeed_pds_msgs::Relay::ConstPtr &msg) |
void | recvScript (const dataspeed_pds_msgs::Script::ConstPtr &msg) |
void | recvSync (const std::vector< can_msgs::Frame::ConstPtr > &msgs, UnitId id) |
void | recvSyncSlave1 (const SyncPtr &master, const SyncPtr &slave1) |
void | recvSyncSlave2 (const SyncPtr &master, const SyncPtr &slave1, const SyncPtr &slave2) |
void | recvSyncSlave3 (const SyncPtr &master, const SyncPtr &slave1, const SyncPtr &slave2, const SyncPtr &slave3) |
Private Attributes |
ros::Publisher | pub_can_ |
ros::Publisher | pub_status_ |
ros::Time | stamp_slave1_ |
ros::Time | stamp_slave2_ |
ros::Time | stamp_slave3_ |
ros::Subscriber | sub_can_ |
ros::Subscriber | sub_mode_ |
ros::Subscriber | sub_relay_ |
ros::Subscriber | sub_script_ |
dataspeed_can_msg_filters::ApproximateTime | sync_can_master_ |
dataspeed_can_msg_filters::ApproximateTime | sync_can_slave1_ |
dataspeed_can_msg_filters::ApproximateTime | sync_can_slave2_ |
dataspeed_can_msg_filters::ApproximateTime | sync_can_slave3_ |
message_filters::PassThrough
< SyncMsg > | sync_msg_master_ |
message_filters::PassThrough
< SyncMsg > | sync_msg_slave1_ |
message_filters::PassThrough
< SyncMsg > | sync_msg_slave2_ |
message_filters::PassThrough
< SyncMsg > | sync_msg_slave3_ |
message_filters::Synchronizer
< SyncPolicy1 > * | sync_ros_slave1_ |
message_filters::Synchronizer
< SyncPolicy2 > * | sync_ros_slave2_ |
message_filters::Synchronizer
< SyncPolicy3 > * | sync_ros_slave3_ |
Definition at line 65 of file PdsNode.h.