LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
LidarSetMotorMessage.hh
Go to the documentation of this file.
1
40#ifndef LibMultiSense_LidarSetMotorMessage
41#define LibMultiSense_LidarSetMotorMessage
42
44
45namespace crl {
46namespace multisense {
47namespace details {
48namespace wire {
49
51public:
54
55 //
56 // Desired output RPM
57
58 float rpm;
59
60 //
61 // Constructors
62
64 LidarSetMotor() : rpm(0.0) {};
65 LidarSetMotor(float f) : rpm(f) {};
66
67 //
68 // Serialization routine
69
70 template<class Archive>
71 void serialize(Archive& message,
72 const VersionType version)
73 {
74 (void) version;
75 message & rpm;
76 }
77};
78
79}}}} // namespaces
80
81#endif
Macros and symbols to help portability between different compiler versions.
#define CRL_CONSTEXPR
void serialize(Archive &message, const VersionType version)
LidarSetMotor(utility::BufferStreamReader &r, VersionType v)
static CRL_CONSTEXPR IdType ID_CMD_LIDAR_SET_MOTOR
Definition Protocol.hh:165