Skip to content

Commit 513eed8

Browse files
committed
マークするときに敵ロボットではなく、ボールの方を向くように修正
1 parent 1912b35 commit 513eed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crane_robot_skills/src/marker.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Status Marker::update()
3636
} else {
3737
throw std::runtime_error("unknown mark mode");
3838
}
39-
command.setTargetPosition(marking_point, 0.1).setTargetTheta(target_theta);
39+
command.setTargetPosition(marking_point, 0.1).lookAtBall();
4040

4141
SvgCircleBuilder circle_builder;
4242
circle_builder.center(enemy_pos).radius(0.3).stroke("black").strokeWidth(10);

0 commit comments

Comments
 (0)