Inconsistency with bumper operation #169
-
I wrote a sequence for the robot to backup and turn 45° when the bumper is pressed.
The issue I'm having is that when the robot bumps into a couch its not backing up at all but just turns the 45° but when it hits other objects such as a box it performs as intended. What is it about when it hits the couch that it doesnt backup before turning 45° IMG_142792882.MOVIMG_209393191.MOV |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi! In the second video, the robot appears to slow down before approaching the box and the light color changes to orange, however, it doesn't do that in the first video. Are you using the IR sensors to trigger that? The couch obviously doesn't make the code act any differently so I am wondering if it's either getting stuck in a different part of the code because the IR sensors aren't picking up an object or if the couch isn't completely pressing the bumper since it's a softer material than the box. How much the bumper is pressed by the couch is hard to tell from the video. |
Beta Was this translation helpful? Give feedback.
-
This is caused by the ROS 2 reflexes interfering with the iRobot Coding commands. In a subsequent update, we will disable all reflexes when the iRobot Coding mode is active. In the mean time, you could disable reflexes via the motion control node as @alsora described above. |
Beta Was this translation helpful? Give feedback.
-
@shamlian i want to disable robot's bumper so i tried to add reflexes.REFLEX_BUMP: false in the end of Application Configuration but still enable :/ do u have any suggestions : |
Beta Was this translation helpful? Give feedback.
This is caused by the ROS 2 reflexes interfering with the iRobot Coding commands. In a subsequent update, we will disable all reflexes when the iRobot Coding mode is active. In the mean time, you could disable reflexes via the motion control node as @alsora described above.