Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR [px4] Startup script returned with return value: 256 #1027

Open
umicar1234 opened this issue Feb 11, 2024 · 0 comments
Open

ERROR [px4] Startup script returned with return value: 256 #1027

umicar1234 opened this issue Feb 11, 2024 · 0 comments

Comments

@umicar1234
Copy link

auto-starting new master
process[master]: started with pid [3078]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 00baf670-c89d-11ee-b5b9-9916ed800015
process[rosout-1]: started with pid [3088]
started core service [/rosout]
process[gazebo-2]: started with pid [3096]
process[gazebo_gui-3]: started with pid [3100]
Gazebo multi-robot simulator, version 11.14.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

process[sitl_0-4]: started with pid [3173]
INFO [px4] instance: 0
process[spawn_mech_Latitude_3420_3066_621052393044011381-5]: started with pid [3174]


| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /
| |
| | / /^\ \ ___ |
_| / / |_/

px4 starting.

INFO [px4] startup script: /bin/sh etc/init.d-posix/rcS 0
Gazebo multi-robot simulator, version 11.14.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Wrn] [GuiIface.cc:194] g/gui-plugin is really loading a SystemPlugin. To load a GUI plugin please use --gui-client-plugin
process[mavros-6]: started with pid [3187]
ERROR [init] Unknown model clover (not found by name on /home/mech/.ros/etc/init.d-posix/airframes)
ERROR [px4] Startup script returned with return value: 256
process[visualization-7]: started with pid [3192]
process[web_video_server-8]: started with pid [3193]
process[aruco_detect-9]: started with pid [3194]
process[aruco_map-10]: started with pid [3200]
================================================================================REQUIRED process [sitl_0-4] has died!
process has died [pid 3173, exit code 255, cmd /home/mech/PX4-Autopilot/build/px4_sitl_default/bin/px4 /home/mech/PX4-Autopilot/ROMFS/px4fmu_common -s etc/init.d-posix/rcS -i 0 __name:=sitl_0 __log:=/home/mech/.ros/log/00baf670-c89d-11ee-b5b9-9916ed800015/sitl_0-4.log].
log file: /home/mech/.ros/log/00baf670-c89d-11ee-b5b9-9916ed800015/sitl_0-4*.log
Initiating shutdown!

process[vpe_publisher-11]: started with pid [3209]
RLException: cannot add process [optical_flow-12] after process monitor has been shut down
The traceback for the exception was written to the log file
[ INFO] [1707628716.165203901]: ros.nodelet: Loading nodelet /aruco_detect of type aruco_pose/aruco_detect to manager main_camera_nodelet_manager with the following remappings:
[ INFO] [1707628716.166505850]: ros.nodelet: Loading nodelet /aruco_map of type aruco_pose/aruco_map to manager main_camera_nodelet_manager with the following remappings:
[ INFO] [1707628716.169849440]: ros.nodelet: /camera_info -> /main_camera/camera_info
[ INFO] [1707628716.169890102]: ros.nodelet: /image_raw -> /main_camera/image_raw
[ INFO] [1707628716.169905154]: ros.nodelet: /map_markers -> /aruco_map/map
[ INFO] [1707628716.170754161]: ros.nodelet: /camera_info -> /main_camera/camera_info
[ INFO] [1707628716.170787690]: ros.nodelet: /image_raw -> /main_camera/image_raw
[ INFO] [1707628716.170800582]: ros.nodelet: /markers -> /aruco_detect/markers
[ INFO] [1707628716.173471335]: ros.roscpp: waitForService: Service [/main_camera_nodelet_manager/load_nodelet] has not been advertised, waiting...
[ INFO] [1707628716.173752783]: ros.roscpp: waitForService: Service [/main_camera_nodelet_manager/load_nodelet] has not been advertised, waiting...
[ INFO] [1707628716.182936805]: ros.clover: using data from TF
[ INFO] [1707628716.191364694]: ros.clover: ready
[ INFO] [1707628716.226416160]: ros.mavros: FCU URL: udp://@127.0.0.1:14580
[ INFO] [1707628716.228500611]: ros.rosconsole_bridge.mavconn: udp0: Bind address: 0.0.0.0:14555
[ INFO] [1707628716.228625138]: ros.rosconsole_bridge.mavconn: udp0: Remote address: 127.0.0.1:14580
[ INFO] [1707628716.228685583]: ros.mavros: GCS bridge disabled
[ INFO] [1707628716.232255920]: ros.mavros: Plugin 3dr_radio blacklisted
[ INFO] [1707628716.232311039]: ros.mavros: Plugin actuator_control blacklisted
[ INFO] [1707628716.232324436]: ros.mavros: Plugin adsb blacklisted
[ INFO] [1707628716.244319273]: ros.mavros: Plugin altitude loaded
[ INFO] [1707628716.245357247]: ros.mavros: Plugin altitude initialized
[ INFO] [1707628716.245388477]: ros.mavros: Plugin cam_imu_sync blacklisted
[ INFO] [1707628716.245403431]: ros.mavros: Plugin camera blacklisted
[ INFO] [1707628716.245418936]: ros.mavros: Plugin cellular_status blacklisted
[ INFO] [1707628716.245474189]: ros.mavros: Plugin command loaded
[ INFO] [1707628716.248755065]: ros.mavros: Plugin command initialized
[ INFO] [1707628716.248781438]: ros.mavros: Plugin companion_process_status blacklisted
[ INFO] [1707628716.248794284]: ros.mavros: Plugin debug_value blacklisted
[vpe_publisher-11] killing on exit
[aruco_detect-9] killing on exit
[aruco_map-10] killing on exit
[web_video_server-8] killing on exit
[visualization-7] killing on exit
[mavros-6] killing on exit
[spawn_mech_Latitude_3420_3066_621052393044011381-5] killing on exit
[sitl_0-4] killing on exit
[gazebo-2] killing on exit
Traceback (most recent call last):
File "/opt/ros/noetic/lib/gazebo_ros/spawn_model", line 20, in
import rospy
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/init.py", line 47, in
[gazebo_gui-3] killing on exit
from std_msgs.msg import Header
File "/opt/ros/noetic/lib/python3/dist-packages/std_msgs/msg/init.py", line 1, in
from ._Bool import *
File "/opt/ros/noetic/lib/python3/dist-packages/std_msgs/msg/_Bool.py", line 6, in
import genpy
File "/opt/ros/noetic/lib/python3/dist-packages/genpy/init.py", line 34, in
from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
File "/opt/ros/noetic/lib/python3/dist-packages/genpy/message.py", line 64, in
import numpy as np
File "/usr/lib/python3/dist-packages/numpy/init.py", line 187, in
[ INFO] [1707628716.256652177]: ros.mavros: Plugin distance_sensor loaded
from .testing import Tester
File "/usr/lib/python3/dist-packages/numpy/testing/init.py", line 10, in
from unittest import TestCase
File "/usr/lib/python3.8/unittest/init.py", line 66, in
from .main import TestProgram, main
File "/usr/lib/python3.8/unittest/main.py", line 7, in
from . import loader, runner
File "/usr/lib/python3.8/unittest/runner.py", line 8, in
from .signals import registerResult
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 684, in _load_unlocked
File "", line 224, in _verbose_message
KeyboardInterrupt
[ INFO] [1707628716.264211000]: ros.mavros: Plugin distance_sensor initialized
[ INFO] [1707628716.264296040]: ros.mavros: Plugin esc_status blacklisted
[ INFO] [1707628716.264311990]: ros.mavros: Plugin esc_telemetry blacklisted
[ INFO] [1707628716.264326925]: ros.mavros: Plugin fake_gps blacklisted
[ INFO] [1707628716.264597038]: ros.mavros: Plugin ftp loaded
[ INFO] [1707628716.269023219]: ros.mavros: Plugin ftp initialized
[ INFO] [1707628716.269067868]: ros.mavros: Plugin geofence blacklisted
[ INFO] [1707628716.269173023]: ros.mavros: Plugin global_position loaded
[ INFO] [1707628716.288077740]: ros.mavros: Plugin global_position initialized
[ INFO] [1707628716.288145464]: ros.mavros: Plugin gps_input blacklisted
[ INFO] [1707628716.288159982]: ros.mavros: Plugin gps_rtk blacklisted
[ INFO] [1707628716.288169152]: ros.mavros: Plugin gps_status blacklisted
[ INFO] [1707628716.288113212]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1707628716.288178407]: ros.mavros: Plugin guided_target blacklisted
[ INFO] [1707628716.288195971]: ros.mavros: Plugin hil blacklisted
[ INFO] [1707628716.288204155]: ros.mavros: Plugin home_position blacklisted
[ INFO] [1707628716.288324416]: ros.mavros: Plugin imu loaded
[ INFO] [1707628716.290805423]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.29.79
[ INFO] [1707628716.297747299]: ros.mavros: Plugin imu initialized
[ INFO] [1707628716.297810161]: ros.mavros: Plugin landing_target blacklisted
[ INFO] [1707628716.297991491]: ros.mavros: Plugin local_position loaded
[ INFO] [1707628716.302567928]: ros.mavros: Plugin local_position initialized
[ INFO] [1707628716.302627408]: ros.mavros: Plugin log_transfer blacklisted
[ INFO] [1707628716.302652596]: ros.mavros: Plugin mag_calibration_status blacklisted
[ INFO] [1707628716.302774898]: ros.mavros: Plugin manual_control loaded
[ INFO] [1707628716.305377580]: ros.mavros: Plugin manual_control initialized
[ INFO] [1707628716.305427252]: ros.mavros: Plugin mocap_pose_estimate blacklisted
[ INFO] [1707628716.305444415]: ros.mavros: Plugin mount_control blacklisted
[ INFO] [1707628716.305465361]: ros.mavros: Plugin nav_controller_output blacklisted
[ INFO] [1707628716.305482181]: ros.mavros: Plugin obstacle_distance blacklisted
[ INFO] [1707628716.305499245]: ros.mavros: Plugin odom blacklisted
[ INFO] [1707628716.305517423]: ros.mavros: Plugin onboard_computer_status blacklisted
[ INFO] [1707628716.305683792]: ros.mavros: Plugin param loaded
[ INFO] [1707628716.310133677]: ros.mavros: Plugin param initialized
[ INFO] [1707628716.310200018]: ros.mavros: Plugin play_tune blacklisted
[ INFO] [1707628716.310323880]: ros.mavros: Plugin px4flow loaded
[ INFO] [1707628716.319395925]: ros.mavros: Plugin px4flow initialized
[ INFO] [1707628716.319435030]: ros.mavros: Plugin rallypoint blacklisted
[ INFO] [1707628716.319455781]: ros.mavros: Plugin rangefinder blacklisted
[ INFO] [1707628716.319566886]: ros.mavros: Plugin rc_io loaded
[ INFO] [1707628716.322154899]: ros.mavros: Plugin rc_io initialized
[ INFO] [1707628716.322198784]: ros.mavros: Plugin safety_area blacklisted
[ INFO] [1707628716.322219144]: ros.mavros: Plugin setpoint_accel blacklisted
[ INFO] [1707628716.322308027]: ros.mavros: Plugin setpoint_attitude loaded
terminate called after throwing an instance of 'boost::wrapexceptboost::lock_error'
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument
mech@mech-Latitude-3420:~$ [ INFO] [1707628716.549951005]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1707628716.550736167]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.29.79
[Msg] Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[Msg] Loading world file [/home/mech/ros_ws/src/clover/clover_simulation/resources/worlds/clover_aruco.world]
[ INFO] [1707628716.766508227]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1707628716.779898679, 0.012000000]: Physics dynamic reconfigure ready.
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/mech/umi_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_autorace"
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/mech/umi_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_autorace_2020"
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/mech/umi_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_common_meshes"
../src/intel/isl/isl.c:2105: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.
[Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant