Skip to content

Commit 831c732

Browse files
committed
修正
1 parent 88f4d47 commit 831c732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crane_robot_skills/src/single_ball_placement.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ SingleBallPlacement::SingleBallPlacement(RobotCommandWrapperBase::SharedPtr & ba
277277
static int count = 0;
278278
if (now.get_clock_type() == robot()->ball_sensor_stamp.get_clock_type()) {
279279
if (std::abs((now - robot()->ball_sensor_stamp).seconds()) < 0.01 && robot()->ball_sensor) {
280-
if (++count > 10) {
280+
if (++count > 2) {
281281
count = 0;
282282
return true;
283283
} else {

0 commit comments

Comments
 (0)