Skip to content

Commit

Permalink
キック力調整
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Jan 12, 2025
1 parent fcc3c52 commit 866ee02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crane_robot_skills/src/attacker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ Attacker::Attacker(RobotCommandWrapperBase::SharedPtr & base)

addStateFunction(AttackerState::GOAL_KICK, [this]() -> Status {
goal_kick_skill.setParameter("dot_threshold", 0.95);
goal_kick_skill.setParameter("kick_power", 0.95);

goal_kick_skill.setParameter("キック角度の最低要求精度[deg]", 5.0);
return goal_kick_skill.run();
});
Expand Down
2 changes: 1 addition & 1 deletion crane_robot_skills/src/kick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Kick::Kick(RobotCommandWrapperBase::SharedPtr & base)
phase(getContextReference<std::string>("phase"))
{
setParameter("target", Point(0, 0));
setParameter("kick_power", 0.5f);
setParameter("kick_power", 0.7f);
setParameter("chip_kick", false);
setParameter("with_dribble", false);
setParameter("dribble_power", 0.3f);
Expand Down

0 comments on commit 866ee02

Please sign in to comment.