0
$\begingroup$

the robot is ros controlled but the problem is that, it has wheels in front and caster at back, so when it turns around its axis, when near the wall it collides with the wall, we are using trajectory planner as local and global planner and localization is being done using amcl, is there any work around to let ros know that there are wheels at the front instead of middle so you have to make some adjustments to turn?

$\endgroup$

2 Answers 2

0
$\begingroup$

I don't think so, since ROS navigation is only meant for differential drive and holonomic robots. However, a kind of hacky workaround might be to change the navigation parameters to try to guide the robot to stay further away from obstacles by increasing its footprint in the costmap comman params file. Or you can write your own custom local planner plugin and use that instead of ROS's local planner, which would be the more elegant solution but might take longer to implement.

$\endgroup$
1
  • $\begingroup$ This answer is not correct. The move_base planners will handle this situation correctly if the origin and footprint of the robot are defined properly. $\endgroup$
    – Mike973
    Commented Jul 20 at 11:54
0
$\begingroup$

I am currently using a similarly built robot, and found that declaring a custom footprint, while making sure that my base_link frame was on the axis of rotation was enough for smac_hybrid and RPP to keep me from hitting anything, even in close quarters. I did have to slightly inflate the footprint on the back, to allow for more careful rotation. See attached image for example.

Robot model & footprint

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.