#include <mb_publisher.h>
Public Member Functions | |
virtual bool | consume (MasterBoardData_V1_X &data) |
virtual bool | consume (MasterBoardData_V3_0__1 &data) |
virtual bool | consume (MasterBoardData_V3_2 &data) |
virtual bool | consume (RobotModeData_V1_X &data) |
virtual bool | consume (RobotModeData_V3_0__1 &data) |
virtual bool | consume (RobotModeData_V3_2 &data) |
MBPublisher () | |
virtual void | setupConsumer () |
virtual void | stopConsumer () |
virtual void | teardownConsumer () |
Public Member Functions inherited from URStatePacketConsumer | |
virtual bool | consume (shared_ptr< StatePacket > packet) |
Public Member Functions inherited from IConsumer< StatePacket > | |
virtual void | onTimeout () |
Private Member Functions | |
template<size_t N> | |
void | appendDigital (std::vector< ur_msgs::Digital > &vec, std::bitset< N > bits) |
void | publishIOStates (ur_msgs::IOStates &io_msg, SharedMasterBoardData &data) |
void | publishMasterboardData (ur_msgs::MasterboardDataMsg &msg, const SharedMasterBoardData &data) const |
void | publishMasterboardData (const MasterBoardData_V1_X &data) const |
void | publishMasterboardData (const MasterBoardData_V3_0__1 &data) const |
void | publishRobotModeData (ur_msgs::RobotModeDataMsg &msg, const SharedRobotModeData &data) const |
void | publishRobotModeData (const RobotModeData_V1_X &data) const |
void | publishRobotModeData (const RobotModeData_V3_0__1 &data) const |
void | publishRobotStatus (industrial_msgs::RobotStatus &status, const SharedRobotModeData &data) const |
void | publishRobotStatus (const RobotModeData_V1_X &data) const |
void | publishRobotStatus (const RobotModeData_V3_0__1 &data) const |
Private Attributes | |
Publisher | io_pub_ |
Publisher | masterboard_state_pub_ |
NodeHandle | nh_ |
Publisher | robot_mode_state_pub_ |
Publisher | status_pub_ |
Definition at line 33 of file mb_publisher.h.
|
inline |
Definition at line 71 of file mb_publisher.h.
|
inlineprivate |
Definition at line 43 of file mb_publisher.h.
|
virtual |
Implements URStatePacketConsumer.
Definition at line 185 of file mb_publisher.cpp.
|
virtual |
Implements URStatePacketConsumer.
Definition at line 197 of file mb_publisher.cpp.
|
virtual |
Implements URStatePacketConsumer.
Definition at line 209 of file mb_publisher.cpp.
|
virtual |
Implements URStatePacketConsumer.
Definition at line 215 of file mb_publisher.cpp.
|
virtual |
Implements URStatePacketConsumer.
Definition at line 222 of file mb_publisher.cpp.
|
virtual |
Implements URStatePacketConsumer.
Definition at line 229 of file mb_publisher.cpp.
|
private |
Definition at line 29 of file mb_publisher.cpp.
|
private |
Definition at line 102 of file mb_publisher.cpp.
|
private |
Definition at line 121 of file mb_publisher.cpp.
|
private |
Definition at line 138 of file mb_publisher.cpp.
|
private |
Definition at line 155 of file mb_publisher.cpp.
|
private |
Definition at line 171 of file mb_publisher.cpp.
|
private |
Definition at line 177 of file mb_publisher.cpp.
|
private |
Definition at line 39 of file mb_publisher.cpp.
|
private |
Definition at line 71 of file mb_publisher.cpp.
|
private |
Definition at line 87 of file mb_publisher.cpp.
|
inlinevirtual |
Reimplemented from IConsumer< StatePacket >.
Definition at line 87 of file mb_publisher.h.
|
inlinevirtual |
Reimplemented from IConsumer< StatePacket >.
Definition at line 93 of file mb_publisher.h.
|
inlinevirtual |
Reimplemented from IConsumer< StatePacket >.
Definition at line 90 of file mb_publisher.h.
|
private |
Definition at line 37 of file mb_publisher.h.
|
private |
Definition at line 39 of file mb_publisher.h.
|
private |
Definition at line 36 of file mb_publisher.h.
|
private |
Definition at line 40 of file mb_publisher.h.
|
private |
Definition at line 38 of file mb_publisher.h.