Hello, i have a problem. For ROS Homework at university I have to start from a prodefined package and i have to get the robot to drive predefined points. However when I cant launch to the move_base, nothing happens and 2D Nav Goal also doesnt get the robot to move, how ever when using ros echo on move_base_simple/goal i get goal position that i sent with 2D Nav Goal
Following is the dropbox link to the package: Dropbox - summerschool2022 (1).tar - Simplify your life
(Fyi MSROB.Ue3.pdf is the instruction for the homework)
When I was looking for errors, I found
[move_base_node-16] process has died [pid 27657, exit code 1, cmd /opt/ros/noetic/lib/move_base/move_base map:=/map marker:=move_base_node/DWBLocalPlanner/markers __name:=move_base_node __log:=/home/user/.ros/log/c91c311e-8f7e-11ed-a174-0242c0a82007/move_base_node-16.log].
log file: /home/user/.ros/log/c91c311e-8f7e-11ed-a174-0242c0a82007/move_base_node-16*.log
A college got it working with pretty much the same code as mine on a virtual machine and Ubuntu, so maybe it has something to do with the simulated ROS?
And according to the instructions, it should already drive by just using 2D Nav Goal in Rviz
And it does when my Colleague does it in the virtual machine with ubuntu, but it doesnt work here on Constructsim, at least as far as i tried
Yes, that is true. That is because, I think, this website does not work with MIR robot. I have not seen it in courses I have taken so far.
So the best way to get it working would be to install ROS in your laptop and run.
Not sure if you have completed ROS Navigation course, but to get 2D Nav Goal to work, you must first do 2D Pose Estimate. You must, basically, locate the robot in the environment before giving it pose goals.
You can publish your goal pose to /move_base action server with your own action client. This is clearly explained in the ROS Navigation course - Path Planning unit (unit 4, I guess).
I think you might have missed to fill something important. I am guessing that you would have added the pose position and orientation, but you might have missed to set goal target_pose frame_id to 'map'.
Check if you are using the correct goal message format to send the goal to move_base action server.
move_base should work regardless of what robot you are using.
Honestly, you do not have to. Just learn the concept using turtlebot in The Construct course and apply it to the MIR robot that you use in your homework.
gmapping, amcl and move_base will work regardless of what kind of robot you are using! (I believe so).