Move Base setup for Magni

Hi,

I am trying to get my move base to work for navigating my robot. I am getting my Lidar next week so I cant really test it yet but would like to create my launch files so long. I did use :~$ locate move_base.launch and found a launch file that already exists on my PC with the following in:

launch>

ode pkg=“move_base” type=“move_base” respawn=“false” name=“move_base” output=“screen”>
rosparam file="$(find magni_nav)/param/costmap_common_param.yaml" command=“load” ns=“local_costmap” />
rosparam file="$(find magni_nav)/param/costmap_common_param.yaml" command=“load” ns=“global_costmap” />
rosparam file="$(find magni_nav)/param/local_costmap_param.yaml" command=“load” />
rosparam file="$(find magni_nav)/param/global_costmap_param.yaml" command=“load” />
rosparam file="$(find magni_nav)/param/base_local_planner_param.yaml" command=“load” />

/node>

/launch>

(I Removed the < infront of each line so it shows up on the post)

I can send you what each yaml file contains if you’d like but id just like to know whether this launch file is the correct one to use, whether I should edit it or whether I should try to create a new one.

I have started to try and create my own launch file using the instructions set out on this page http://wiki.ros.org/navigation/Tutorials/RobotSetup. However, I am really confused as to what to put into the parameters of the odometry section.

I know me not having the Lidar yet does make this task more difficult but I’d like to make some progress in the meantime.

You should look at this page to help you get started:

The ODOM is already setup for the motor node, ubiquity_motor repository.
If you are curious, you can look at the config file that has the defines ODOM uses is here:
/opt/ros/kinetic/share/magni_bringup/param/base.yaml

Hi, Since I found this post about move base , I wll post here,

I had Magni for a while now and I still couldnt get Magni’s move base to work properly for path planning and simple obstacle avoidance even in Gazebo Simulation environment, it is going no where, are you planning to fix Magni’s move base at ALL? …(and Now I have to make tonnes and tonnes of efforts, spending months, weeks and nights trying to sort out Magni’s Move base to work properly, I know you have made move_basic but that does not help at all in real life situation…with no path planning and no obstacle avoidance which is not much use …besides just going in a straight line with nothing blocking it… )

Can you please tell me know the proper parameters? for the parameter YAMLs below,

especially for base_local_planner_param.yaml , costmap_common, global_costmap and local_costmap , I have been tweaking alot and lot and still Magni in Gazebo (turtlebot’s playground world environment for example), cannot get even pass ONE obstacle… and it just fails)

image

below are the parameters I had been experimenting, testing, tweaking with no Luck!!!

global costmap

local costmap

I changed using the navfnROS Global planner because the default carrot planner just hits the obstacles and walls straight away where navfnROS at least will stop in front of an obstacle/wall , eventhough it does not follow the planned path to go around it …

I had also tweaked the cost scaling factor, does not make much difference , inflation radius I changed to 0.1 and no still no luck

These below keeps happening constantly…

This is the simple playground world I use to simulate and even that failed , Magni just stuck with there with the Global and local planner

now if your Magni move base code comes at a cost, please let me know how much then? I will consider to buy instead spending months and months with no results…on my Magni,

Also, I tried in Noetic, with the same move base config, it even got worse, it moves a little bit and far from the global planned path and just stuck there,…