Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
dataspeed_pds_lcm::PdsNode Class Reference

#include <PdsNode.h>

Public Member Functions

 PdsNode (ros::NodeHandle &node, ros::NodeHandle &priv_nh, lcm::LCM *lcm)
 
 ~PdsNode ()
 

Private Types

typedef dataspeed_pds_msgs::Status SyncMsg
 
typedef message_filters::sync_policies::ApproximateTime< SyncMsg, SyncMsgSyncPolicy1
 
typedef message_filters::sync_policies::ApproximateTime< SyncMsg, SyncMsg, SyncMsgSyncPolicy2
 
typedef message_filters::sync_policies::ApproximateTime< SyncMsg, SyncMsg, SyncMsg, SyncMsgSyncPolicy3
 
typedef dataspeed_pds_msgs::Status::ConstPtr SyncPtr
 

Private Member Functions

void lcmRecvStatus (const lcm::ReceiveBuffer *buf, const std::string &chan, const status_t *lcm)
 
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 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

lcm::LCM lcm_
 
ros::Publisher pub_status_
 
ros::Time stamp_slave1_
 
ros::Time stamp_slave2_
 
ros::Time stamp_slave3_
 
ros::Subscriber sub_mode_
 
ros::Subscriber sub_relay_
 
ros::Subscriber sub_script_
 
message_filters::PassThrough< SyncMsgsync_msg_master_
 
message_filters::PassThrough< SyncMsgsync_msg_slave1_
 
message_filters::PassThrough< SyncMsgsync_msg_slave2_
 
message_filters::PassThrough< SyncMsgsync_msg_slave3_
 
message_filters::Synchronizer< SyncPolicy1 > * sync_ros_slave1_
 
message_filters::Synchronizer< SyncPolicy2 > * sync_ros_slave2_
 
message_filters::Synchronizer< SyncPolicy3 > * sync_ros_slave3_
 

Detailed Description

Definition at line 70 of file PdsNode.h.

Member Typedef Documentation

typedef dataspeed_pds_msgs::Status dataspeed_pds_lcm::PdsNode::SyncMsg
private

Definition at line 96 of file PdsNode.h.

Definition at line 98 of file PdsNode.h.

Definition at line 99 of file PdsNode.h.

Definition at line 100 of file PdsNode.h.

typedef dataspeed_pds_msgs::Status::ConstPtr dataspeed_pds_lcm::PdsNode::SyncPtr
private

Definition at line 97 of file PdsNode.h.

Constructor & Destructor Documentation

dataspeed_pds_lcm::PdsNode::PdsNode ( ros::NodeHandle node,
ros::NodeHandle priv_nh,
lcm::LCM *  lcm 
)

Definition at line 40 of file PdsNode.cpp.

dataspeed_pds_lcm::PdsNode::~PdsNode ( )

Definition at line 76 of file PdsNode.cpp.

Member Function Documentation

void dataspeed_pds_lcm::PdsNode::lcmRecvStatus ( const lcm::ReceiveBuffer *  buf,
const std::string &  chan,
const status_t *  lcm 
)
private

: LCM message doesn't report script status

Definition at line 92 of file PdsNode.cpp.

void dataspeed_pds_lcm::PdsNode::recvMode ( const dataspeed_pds_msgs::Mode::ConstPtr &  msg)
private

Definition at line 150 of file PdsNode.cpp.

void dataspeed_pds_lcm::PdsNode::recvRelay ( const dataspeed_pds_msgs::Relay::ConstPtr &  msg)
private

Definition at line 142 of file PdsNode.cpp.

void dataspeed_pds_lcm::PdsNode::recvScript ( const dataspeed_pds_msgs::Script::ConstPtr &  msg)
private

Definition at line 157 of file PdsNode.cpp.

void dataspeed_pds_lcm::PdsNode::recvSyncSlave1 ( const SyncPtr master,
const SyncPtr slave1 
)
private

Definition at line 164 of file PdsNode.cpp.

void dataspeed_pds_lcm::PdsNode::recvSyncSlave2 ( const SyncPtr master,
const SyncPtr slave1,
const SyncPtr slave2 
)
private

Definition at line 173 of file PdsNode.cpp.

void dataspeed_pds_lcm::PdsNode::recvSyncSlave3 ( const SyncPtr master,
const SyncPtr slave1,
const SyncPtr slave2,
const SyncPtr slave3 
)
private

Definition at line 184 of file PdsNode.cpp.

Member Data Documentation

lcm::LCM dataspeed_pds_lcm::PdsNode::lcm_
private

Definition at line 113 of file PdsNode.h.

ros::Publisher dataspeed_pds_lcm::PdsNode::pub_status_
private

Definition at line 88 of file PdsNode.h.

ros::Time dataspeed_pds_lcm::PdsNode::stamp_slave1_
private

Definition at line 91 of file PdsNode.h.

ros::Time dataspeed_pds_lcm::PdsNode::stamp_slave2_
private

Definition at line 92 of file PdsNode.h.

ros::Time dataspeed_pds_lcm::PdsNode::stamp_slave3_
private

Definition at line 93 of file PdsNode.h.

ros::Subscriber dataspeed_pds_lcm::PdsNode::sub_mode_
private

Definition at line 84 of file PdsNode.h.

ros::Subscriber dataspeed_pds_lcm::PdsNode::sub_relay_
private

Definition at line 83 of file PdsNode.h.

ros::Subscriber dataspeed_pds_lcm::PdsNode::sub_script_
private

Definition at line 85 of file PdsNode.h.

message_filters::PassThrough<SyncMsg> dataspeed_pds_lcm::PdsNode::sync_msg_master_
private

Definition at line 104 of file PdsNode.h.

message_filters::PassThrough<SyncMsg> dataspeed_pds_lcm::PdsNode::sync_msg_slave1_
private

Definition at line 105 of file PdsNode.h.

message_filters::PassThrough<SyncMsg> dataspeed_pds_lcm::PdsNode::sync_msg_slave2_
private

Definition at line 106 of file PdsNode.h.

message_filters::PassThrough<SyncMsg> dataspeed_pds_lcm::PdsNode::sync_msg_slave3_
private

Definition at line 107 of file PdsNode.h.

message_filters::Synchronizer<SyncPolicy1>* dataspeed_pds_lcm::PdsNode::sync_ros_slave1_
private

Definition at line 101 of file PdsNode.h.

message_filters::Synchronizer<SyncPolicy2>* dataspeed_pds_lcm::PdsNode::sync_ros_slave2_
private

Definition at line 102 of file PdsNode.h.

message_filters::Synchronizer<SyncPolicy3>* dataspeed_pds_lcm::PdsNode::sync_ros_slave3_
private

Definition at line 103 of file PdsNode.h.


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


dataspeed_pds_lcm
Author(s): Kevin Hallenbeck , Eric Myllyoja
autogenerated on Sat Jul 11 2020 03:09:53