mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-03-18 21:50:36 +01:00
down
This commit is contained in:
@@ -46,12 +46,12 @@ void Modelec::DownAction::Next()
|
||||
msg.items[2].id = 2;
|
||||
msg.items[2].start_angle = 0.3;
|
||||
msg.items[2].end_angle = 0;
|
||||
msg.items[2].duration_s = 1;
|
||||
msg.items[2].duration_s = 0.5;
|
||||
|
||||
msg.items[3].id = 3;
|
||||
msg.items[3].start_angle = 2.7;
|
||||
msg.items[3].end_angle = 2.9;
|
||||
msg.items[3].duration_s = 1;
|
||||
msg.items[3].duration_s = 0.5;
|
||||
}
|
||||
|
||||
if (front_ == BACK || front_ == BOTH)
|
||||
@@ -70,12 +70,12 @@ void Modelec::DownAction::Next()
|
||||
msg.items[i+2].id = 10;
|
||||
msg.items[i+2].start_angle = 0;
|
||||
msg.items[i+2].end_angle = 0;
|
||||
msg.items[i+2].duration_s = 1;
|
||||
msg.items[i+2].duration_s = 0.5;
|
||||
|
||||
msg.items[i+3].id = 11;
|
||||
msg.items[i+3].start_angle = 0;
|
||||
msg.items[i+3].end_angle = 0;
|
||||
msg.items[i+3].duration_s = 1;
|
||||
msg.items[i+3].duration_s = 0.5;
|
||||
}
|
||||
|
||||
action_executor_->MoveServoTimed(msg);
|
||||
|
||||
Reference in New Issue
Block a user