1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 01:50:46 +02:00

Fixed parsing of version message

This commit is contained in:
Felix Mauch
2019-04-09 18:19:58 +02:00
parent bf8d69e219
commit 38fc393f53
2 changed files with 5 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ namespace primary_interface
class VersionMessage : public RobotMessage
{
public:
VersionMessage() = delete;
VersionMessage(uint64_t timestamp, uint8_t source) : RobotMessage(timestamp, source)
{
}
@@ -46,6 +47,7 @@ public:
virtual std::string toString() const;
int8_t project_name_length_;
std::string project_name_;
uint8_t major_version_;
uint8_t minor_version_;