How to run Software-in-loop simulation using ArduCopter SITL + Gazebo + MAVROS Melodic+ SLAM( Simultaneous localisation and mapping) for Quadcopter Drone in Simulation Environment?

asked 2020-10-16 00:00:05 -0500

praveen gravatar image

Can anyone have an idea of how can SLAM in a simulation environment with a Quadcopter Drone can be set up? I would like to do it in Hector SLAM in ROS Rviz visualization with SITL Simulation. Since I am at the beginner level I could not able to find the working method of SLAM in Simulation Environment using Drones. Can anyone please help me or guide me to simulate SLAM technique in the SITL environment for drones? I have tried the following steps. but could not able to succeed.

I followed the steps with the following link

And then Tried, Terminal 1: roscore Terminal 2: roslaunch iq_sim lidar.launch ( This is the model with quadcopter lidar in gazebo simulation) Terminal 3: -v ArduCopter -f gazebo-iris --console Terminal 4: roslaunch hector_slam_launch tutorial.launch

Here, I get this warning Terminal 5: roslaunch mavros apm.launch fcu_url:=udp://:14855@

I have tried in this way, but nothing is popping up as mentioned in the above website,

can you help me, how can I do with rviz or please try to resolve my issue?

Thank you.

edit retag flag offensive close merge delete