-
Notifications
You must be signed in to change notification settings - Fork 158
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
MiR movement execution is aborted if target goal is occupied #134
Comments
It's true that the I suspect that the MiR control software simply wraps a loop around the |
Thank you for the quick reply. I implemented the recommended solution. A question before closing this issue - is it possible to control the desired/allowed velocities (lin and rot) for the planner over the ROS parameter server? I've tried changing the values of EDIT: these parameters are on the MiR internal roscore, not using the Thank you for your help |
I don't think it's that easy. In general, most ROS parameters are only read when the node starts, so changing them on the parameter server when the node is already running often doesn't accomplish anything. One exception are dynamically reconfigurable parameters; you can change those via a GUI (
There's also However, this probably doesn't work easily via Alternatively, many things that can be done via the web interface can generally also be done via the REST API. There's an open issue (#74) about calling parts of the REST API instead of going via ROS. Perhaps you can dynamically set the velocities that way. |
Right. Was hoping some of them were reconfigurable but that doesn't seem to be the case. Too bad, since the interface / REST API planner settings only allow control over linear velocity and acceleration. Thank you for your help, as far as I'm concerned this issue can be closed. |
Tested on:
Hello!
First of all I would like to thank you for the work done in this repository.
I have a problem when using
mir_driver
on the real robot.When sending the robot to a target goal using the web interface, there is a timeout that starts if the target goal is occupied. If the target goal becomes unoccupied during the timeout period, the robot moves to the target goal. If the target goal remains occupied until the end of the timeout period an error is thrown.
When sending a target goal over
move_base_simple/goal
:move_base/status
andmove_base/result
topicThe same occurs when sending the target goal using
2D Nav Goal
or using aactionlib
client in a python script.It was my understanding from this reply, that the
mir_driver
relays the goal to the planner running on the internal MiR computer.If that is the case, why does it seem that the planner aborts movement execution if the target goal is occupied since that is not the behavior of the robot when sending the command over the web interface? Do i need to implement the "timeout + retry moving to the target goal behavior" in a separate node?
Any explanation or help regarding this topic is appreciated.
I can provide further information about my setup and execution if needed.
Best regards
The text was updated successfully, but these errors were encountered: