mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-12 11:00:47 +02:00
20 lines
366 B
C++
20 lines
366 B
C++
#pragma once
|
|
|
|
class MessageBase {
|
|
public:
|
|
virtual bool parse_with(BinParser &bp) = 0;
|
|
|
|
uint64_t timestamp;
|
|
uint8_t source;
|
|
};
|
|
|
|
class VersionMessage : public MessageBase {
|
|
public:
|
|
bool parse_with(BinParser &bp);
|
|
|
|
std::string project_name;
|
|
uint8_t major_version;
|
|
uint8_t minor_version;
|
|
int32_t svn_version;
|
|
std::string build_date;
|
|
} |