I tried running tutorial 1 but it stucks in waiting for heartbeat line. I check MAVProxy verison and install 1.5.2 version as it is said in another topic which is similar to this but there is no change. While it stucks in there, I start gazebo and information is received in that window but I cannot take off erle-copter in gazebo simulation, it cannot communicate with MAV I think, there is no change in simulation. I have a clean install Ubuntu 14.4.5, Gazebo7 and MAVProxy 1.5.2, I checked many things and I reinstall them and also Ubuntu but it didn't work. I follow Configuring your environment step by step many times. Please help me for this, I need to solve this as soon as possible and I gave up solving because it took many days to try and I have many things to do besides that.
I use this to start:
../Tools/autotest/sim_vehicle.sh -j 4 -f Gazebo
and use this to start gazebo:
roslaunch ardupilot_sitl_gazebo_plugin erlecopter_spawn.launch
ROS indigo was found
Ardupilot Gazebo plugin found on path:
// BUILDROOT=/tmp/ArduCopter.build HAL_BOARD=HAL_BOARD_SITL HAL_BOARD_SUBTYPE=HAL_BOARD_SUBTYPE_NONE TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION="fe724032"
Starting up at CMAC : -35.363261,149.165230,584,353
Generated the file setting the GPS location of Gazebo map's center:
Starting ardupilot : /home/sam/simulation/ardupilot/ArduCopter/ArduCopter.elf -S -I0 --home -35.363261,149.165230,584,353 --model Gazebo --speedup=1 --autotest-dir ../Tools/autotest
MavProxy overlay map image found for the world '':
it will be centered on lat=-35.363261 lon=149.165230
Starting MavProxy : mavproxy.py --master 127.0.0.1:14550 --out 127.0.0.1:14551 --cmd=" map overlay /home/sam/simulation/ros_catkin_ws/src/ardupilot_sitl_gazebo_plugin/ardupilot_sitl_gazebo_plugin/worlds/powerplant/map_w180m_h180m.png -35.363261 149.165230;"
Using MAVLink 1.0
WARNING: You should uninstall ModemManager as it conflicts with APM and Pixhawk
Using MAVLink 1.0
Connect 127.0.0.1:14550 source_system=255
Unknown command 'map overlay /home/sam/simulation/ros_catkin_ws/src/ardupilot_sitl_gazebo_plugin/ardupilot_sitl_gazebo_plugin/worlds/powerplant/map_w180m_h180m.png -35.363261 149.165230'
Telemetry log: mav.tlog
MAV> Waiting for heartbeat from 127.0.0.1:14550
There is a screenshot when I start those things. Erle-copter did not give response in simulation but in two terminals it gives something but not in xterm.
The problem was not related to gazebo or mavproxy. it was about my system. I had Ubuntu 14.04.5 and it was stuck on ubuntu loading scene, so i've set "acpi=off" to get rod fo that problem but it affected the system configurations. I've installed 14.04 and then upgrade to 14.04.5 and there is no issue now. Thank you for no help