Skip to content

Commit

Permalink
プレイスメントの角速度設定
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Oct 13, 2024
1 parent c3c67c3 commit 7436ed8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crane_robot_skills/src/single_ball_placement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ SingleBallPlacement::SingleBallPlacement(RobotCommandWrapperBase::SharedPtr & ba
[this](const ConsaiVisualizerWrapper::SharedPtr & visualizer) {
visualizer->addPoint(robot()->pose.pos, 0, "white", 1.0, state_string);
command.stopHere();
command.setOmegaLimit(10.0);
return Status::RUNNING;
});

Expand Down Expand Up @@ -309,6 +310,7 @@ SingleBallPlacement::SingleBallPlacement(RobotCommandWrapperBase::SharedPtr & ba
command.disableGoalAreaAvoidance();
command.disableBallAvoidance();
command.disableRuleAreaAvoidance();
command.setOmegaLimit(0.0);
return Status::RUNNING;
});

Expand All @@ -334,6 +336,7 @@ SingleBallPlacement::SingleBallPlacement(RobotCommandWrapperBase::SharedPtr & ba
set_target_position->setParameter("reach_threshold", 0.05);

command.setTargetTheta(pull_back_angle);
command.setOmegaLimit(0.0);
command.disablePlacementAvoidance();
command.disableBallAvoidance();
command.disableGoalAreaAvoidance();
Expand Down

0 comments on commit 7436ed8

Please sign in to comment.