mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
servo value
This commit is contained in:
@@ -38,7 +38,7 @@ void Modelec::FreeAction::Next()
|
||||
msg.items.resize(1);
|
||||
|
||||
msg.items[0].id = n_ + (front_ ? 3 : 11);
|
||||
msg.items[0].start_angle = front_ ? 2.5 : 0;
|
||||
msg.items[0].start_angle = front_ ? 3 : 0;
|
||||
msg.items[0].end_angle = front_ ? 0.8 : 0;
|
||||
msg.items[0].duration_s = 0.5;
|
||||
action_executor_->MoveServoTimed(msg);
|
||||
|
||||
@@ -39,7 +39,7 @@ void Modelec::TakeAction::Next()
|
||||
|
||||
msg.items[0].id = n_ + (front_ ? 3 : 11);
|
||||
msg.items[0].start_angle = front_ ? 0.8 : 0;
|
||||
msg.items[0].end_angle = front_ ? 2.5 : 0;
|
||||
msg.items[0].end_angle = front_ ? 3 : 0;
|
||||
msg.items[0].duration_s = 0.5;
|
||||
action_executor_->MoveServoTimed(msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user