mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
moved helper method to private
This commit is contained in:
@@ -97,6 +97,10 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
URServer server_;
|
||||||
|
static const int32_t MULT_JOINTSTATE = 1000000;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
size_t append(uint8_t* buffer, T& val)
|
size_t append(uint8_t* buffer, T& val)
|
||||||
{
|
{
|
||||||
@@ -104,10 +108,6 @@ public:
|
|||||||
std::memcpy(buffer, &val, s);
|
std::memcpy(buffer, &val, s);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
URServer server_;
|
|
||||||
static const int32_t MULT_JOINTSTATE = 1000000;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace comm
|
} // namespace comm
|
||||||
|
|||||||
Reference in New Issue
Block a user