Template Class CanMsgRecv

Inheritance Relationships

Derived Type

Class Documentation

template<typename T>
class CanMsgRecv

Subclassed by ds_dbw_can::CanMsgRecvCrc< T >

Public Types

using Stamp = std_msgs::msg::Header::_stamp_type

Public Functions

inline bool receive(const T &msg, Stamp stamp)
inline bool valid(Stamp stamp) const
inline const T &msg() const

Protected Attributes

Stamp stamp_
T msg_
bool has_msg_ = false

Protected Static Attributes

static constexpr int64_t TIMEOUT_NS = T::TIMEOUT_MS * 1'000'000