MikeS96 / autonomous_landing_uav

ROS packages of the Autonomous landing system of a UAV in Gazebo
MIT License
166 stars 54 forks source link

Gazebo does not open up with the given commands #5

Closed jashshah999 closed 3 years ago

jashshah999 commented 3 years ago

After running $roslaunch mavros_off_board mavros_posix_sitl.launch, this is my log. Please help me out I really need to get this sorted.

The gazebo SW opens but it hangs at "preparing your world"

Please help

px4 starting.

INFO [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0 process[gazebo-3]: started with pid [27586] Info: found model autostart file as SYS_AUTOSTART=1076 INFO [param] selected parameter default file eeprom/parameters_1076 [param] parameter file not found, creating eeprom/parameters_1076 process[gazebo_gui-4]: started with pid [27599] SYS_AUTOCONFIG: curr: 0 -> new: 1 process[vehicle_spawn_ananthu_inspiron_27544_2643451066337593827-5]: started with pid [27607] process[mavros-6]: started with pid [27611] ERROR: cannot launch node of type [image_view/image_view]: image_view ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/home/ananthu/catkin_ws/src ROS path [2]=/opt/ros/melodic/share ROS path [3]=/home/ananthu/Downloads/PX4-Autopilot ROS path [4]=/home/ananthu/Downloads/PX4-Autopilot/Tools/sitl_gazebo SYS_AUTOSTART: curr: 0 -> new: 1076 CAL_ACC0_ID: curr: 0 -> new: 1310988 CAL_GYRO0_ID: curr: 0 -> new: 1310988 CAL_ACC1_ID: curr: 0 -> new: 1310996 CAL_GYRO1_ID: curr: 0 -> new: 1310996 CAL_ACC2_ID: curr: 0 -> new: 1311004 CAL_GYRO2_ID: curr: 0 -> new: 1311004 CAL_MAG0_ID: curr: 0 -> new: 197388 CAL_MAG1_ID: curr: 0 -> new: 197644 SENS_BOARD_X_OFF: curr: 0.0000 -> new: 0.0000 [ INFO] [1616142200.985455715]: FCU URL: udp://:14540@localhost:14557 [ INFO] [1616142200.987320949]: udp0: Bind address: 0.0.0.0:14540 [ INFO] [1616142200.987483506]: udp0: Remote address: 127.0.0.1:14557 [ INFO] [1616142200.987632737]: GCS bridge disabled SENS_DPRES_OFF: curr: 0.0000 -> new: 0.0010 [ INFO] [1616142200.996044638]: Plugin 3dr_radio loaded [ INFO] [1616142200.997235792]: Plugin 3dr_radio initialized [ INFO] [1616142200.997338472]: Plugin actuator_control loaded [ INFO] [1616142200.999575561]: Plugin actuator_control initialized [ INFO] [1616142201.002585128]: Plugin adsb loaded [ INFO] [1616142201.006838388]: Plugin adsb initialized [ INFO] [1616142201.007898049]: Plugin altitude loaded [ INFO] [1616142201.008848041]: Plugin altitude initialized [ INFO] [1616142201.009015564]: Plugin cam_imu_sync loaded [ INFO] [1616142201.009523838]: Plugin cam_imu_sync initialized [ INFO] [1616142201.012846403]: Plugin command loaded [ INFO] [1616142201.017367835]: Plugin command initialized [ INFO] [1616142201.017607510]: Plugin companion_process_status loaded [ INFO] [1616142201.019207060]: Plugin companion_process_status initialized [ INFO] [1616142201.019372436]: Plugin debug_value loaded [ INFO] [1616142201.028992638]: Plugin debug_value initialized [ INFO] [1616142201.029117425]: Plugin distance_sensor blacklisted [ INFO] [1616142201.029245016]: Plugin esc_status loaded [ INFO] [1616142201.030261481]: Plugin esc_status initialized [ INFO] [1616142201.030396307]: Plugin fake_gps loaded [ INFO] [1616142201.043489802]: Plugin fake_gps initialized [ INFO] [1616142201.043693432]: Plugin ftp loaded [ INFO] [1616142201.047852312]: Plugin ftp initialized [ INFO] [1616142201.047983072]: Plugin global_position loaded [ INFO] [1616142201.060124430]: Plugin global_position initialized [ INFO] [1616142201.060260302]: Plugin gps_rtk loaded [ INFO] [1616142201.062821496]: Plugin gps_rtk initialized [ INFO] [1616142201.062950954]: Plugin gps_status loaded [ INFO] [1616142201.064698707]: Plugin gps_status initialized [ INFO] [1616142201.064832740]: Plugin hil loaded [ INFO] [1616142201.074081219]: Plugin hil initialized [ INFO] [1616142201.074216461]: Plugin home_position loaded [ INFO] [1616142201.076561549]: Plugin home_position initialized [ INFO] [1616142201.076688176]: Plugin imu loaded [ INFO] [1616142201.081719758]: Plugin imu initialized [ INFO] [1616142201.081848062]: Plugin landing_target loaded [ INFO] [1616142201.092192821]: Plugin landing_target initialized [ INFO] [1616142201.092342040]: Plugin local_position loaded MC_PITCHRATE_P: curr: 0.1500 -> new: 0.1000 MC_ROLLRATE_P: curr: 0.1500 -> new: 0.1000 [ INFO] [1616142201.097091220]: Plugin local_position initialized [ INFO] [1616142201.097216195]: Plugin log_transfer loaded

MikeS96 commented 3 years ago

Hi @jashshah999

This problem usually happens when the world or model files are not found by the launch file. Please follow the instructions carefully and check if both are properly located in the project's folder.