mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
angle
This commit is contained in:
@@ -221,6 +221,8 @@ namespace Modelec
|
||||
|
||||
for (auto & [id, v] : servo_pos_mapper_)
|
||||
{
|
||||
if (id == 5) continue;
|
||||
|
||||
for (auto & [key, angle] : v)
|
||||
{
|
||||
SendOrder("SERVO" + std::to_string(id), {"POS" + std::to_string(key), std::to_string(static_cast<int>(angle * 100))});
|
||||
|
||||
Reference in New Issue
Block a user