-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aborting ROTATE because initial hazard is not getting cleared? #10
Comments
I experienced the same issue on January 13 2022 with a real Create3 robot; it was 100% reproducible out of 2 create3_coverage runs. I was using the latest firmware build linux+create3-dev+daredevil-create3-dev+79 and the latest ROS2 Galactic libraries (sudo apt update). |
I saw this behavior with a Create3 robot. I had previously disabled reflexes/safety limits. After restarting the ROS2 app, it worked correctly. It seems to be inconsistent-- sometimes the coverage node enables reflexes successfully, and sometimes the After starting up, run the following commands to disable reflexes/safety:
Initial state of /motion_control:
ros__parameters:
max_speed: 0.46
min_speed: 0.03
qos_overrides:
/parameter_events:
publisher:
depth: 1000
durability: volatile
history: keep_last
reliability: reliable
reflexes:
REFLEX_BUMP: true
REFLEX_CLIFF: true
REFLEX_DOCK_AVOID: false
REFLEX_GYRO_CAL: true
REFLEX_PANIC: true
REFLEX_PROXIMITY_SLOWDOWN: true
REFLEX_STUCK: true
REFLEX_VIRTUAL_WALL: false
REFLEX_WHEEL_DROP: true
reflexes_enabled: false
safety_override: full
use_sim_time: false
wheel_accel_limit: 900 coverage node output:
After this, I reset the safety params to what I thought should work: /motion_control:
ros__parameters:
max_speed: 0.306
min_speed: 0.03
qos_overrides:
/parameter_events:
publisher:
depth: 1000
durability: volatile
history: keep_last
reliability: reliable
reflexes:
REFLEX_BUMP: true
REFLEX_CLIFF: true
REFLEX_DOCK_AVOID: false
REFLEX_GYRO_CAL: true
REFLEX_PANIC: true
REFLEX_PROXIMITY_SLOWDOWN: true
REFLEX_STUCK: true
REFLEX_VIRTUAL_WALL: false
REFLEX_WHEEL_DROP: true
reflexes_enabled: true
safety_override: backup_only
use_sim_time: false
wheel_accel_limit: 900 I get the same behavior, though. After restarting the ROS2 application ( /motion_control:
ros__parameters:
max_speed: 0.306
min_speed: 0.03
qos_overrides:
/parameter_events:
publisher:
depth: 1000
durability: volatile
history: keep_last
reliability: reliable
reflexes:
REFLEX_BUMP: true
REFLEX_CLIFF: true
REFLEX_DOCK_AVOID: false
REFLEX_GYRO_CAL: true
REFLEX_PANIC: true
REFLEX_PROXIMITY_SLOWDOWN: true
REFLEX_STUCK: true
REFLEX_VIRTUAL_WALL: false
REFLEX_WHEEL_DROP: true
reflexes_enabled: true
safety_override: none
use_sim_time: false
wheel_accel_limit: 900 The robot now seems to do reasonable things, and the log output is
Strangely, after doing this I tried to disable safety and then restore the original parameters using the The other piece of information to put out there is I am using |
Why did the hazard not clear and the explore continue? (This doesn't look like a complex hazard situation.)
[INFO] [1635609142.847961009] [create3_coverage]: Aborting ROTATE because initial hazard is not getting cleared
The full log:
The text was updated successfully, but these errors were encountered: