Code Monkey home page Code Monkey logo

Comments (17)

Jaeyoung-Lim avatar Jaeyoung-Lim commented on August 17, 2024

I see a few things wrong. Please follow the readme precisely.

a. You cannot run catkin build before you have pulled in all the dependencies using wstool init

b. I see you are running wstool init in the wrong directory as the following.

 ~/catkin_ws$ wstool init . ./mavros_swarm/dependencies.rosinstall

The readme tells you to run it in a different directory as

cd ~/catkin_ws/src
wstool init . ./mavros_swarm/dependencies.rosinstall 
wstool update -t src -j4

c. This is also not a valid way to pull in files

wget https://github.com/Jaeyoung-Lim/mavros_swarm.rosinstall

If you want to download the file, it is explained here how to do it. However, if you did a. and b. correctly this is not needed

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

its giving the following error after doing second step

wstool init https://github.com/Jaeyoung-Lim/mavros_swarm/dependencies.rosinstall
Traceback (most recent call last):
File "/usr/bin/wstool", line 62, in
sys.exit(wstool.wstool_cli.wstool_main(sys.argv))
File "/usr/lib/python2.7/dist-packages/wstool/wstool_cli.py", line 174, in wstool_main
return commandscommand
File "/usr/lib/python2.7/dist-packages/wstool/multiproject_cli.py", line 440, in cmd_init
os.mkdir(target_path)
OSError: [Errno 2] No such file or directory: 'https://github.com/Jaeyoung-Lim/mavros_swarm/dependencies.rosinstall'

from mavros_swarm.

Jaeyoung-Lim avatar Jaeyoung-Lim commented on August 17, 2024

@zillay-bot
The readme does not tell you to run the command you are running.

Please follow the readme as the following

cd ~/catkin_ws/src
wstool init . ./mavros_swarm/dependencies.rosinstall 
wstool update -t src -j4

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

i am really sorry but i am unable to understand as i am new to this all.

from mavros_swarm.

Jaeyoung-Lim avatar Jaeyoung-Lim commented on August 17, 2024

@zillay-bot This is the command that is written in the readme

wstool init . ./mavros_swarm/dependencies.rosinstall 

This is the command you are running

wstool init https://github.com/Jaeyoung-Lim/mavros_swarm/dependencies.rosinstall

That is the reason it is not working for you

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

should i move to next step

~/catkin_ws/src$ wstool init . ./mavros_swarm/dependencies.rosinstall
Error: There already is a workspace config file .rosinstall at ".". Use wstool install/modify.

from mavros_swarm.

Jaeyoung-Lim avatar Jaeyoung-Lim commented on August 17, 2024

yes.

If you want to know how to use rosinstall you can look at the documentation

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

~/catkin_ws/src$ wstool update -t src -j4
ERROR in config: /home/cactus/catkin_ws/src/src has no workspace configuration file '.rosinstall'

its not working

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

~/catkin_ws/src$ wstool update -t src -j4
ERROR in config: /home/cactus/catkin_ws/src/src has no workspace configuration file '.rosinstall'

its not working

from mavros_swarm.

Jaeyoung-Lim avatar Jaeyoung-Lim commented on August 17, 2024

Could you try this?

cd ~/catkin_ws
wstool init src
wstool merge -t src src/mavros_swarm/dependencies.rosinstall
wstool update -t src -j4

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

i worked and i ve build the catkin_ws but after running the launch file its giving error:

~$ roslaunch formation_control sitl_multiuav_swarm.launch
... logging to /home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/roslaunch-cactus-Inspiron-5559-20436.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/loader.py:409: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
data = yaml.load(text)
started roslaunch server http://cactus-Inspiron-5559:46370/

SUMMARY

CLEAR PARAMETERS

  • /uav0/mavros/
  • /uav1/mavros/
  • /uav2/mavros/

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.14
  • /uav0/mavros/cmd/use_comp_id_system_control: False
  • /uav0/mavros/conn/heartbeat_rate: 1.0
  • /uav0/mavros/conn/system_time_rate: 1.0
  • /uav0/mavros/conn/timeout: 10.0
  • /uav0/mavros/conn/timesync_rate: 10.0
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/field_of_view: 0.0
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/frame_id: hrlv_ez4_sonar
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/id: 0
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/orientation: PITCH_270
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/send_tf: True
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/x: 0.0
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/y: 0.0
  • /uav0/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/z: -0.1
  • /uav0/mavros/distance_sensor/laser_1_sub/id: 3
  • /uav0/mavros/distance_sensor/laser_1_sub/orientation: PITCH_270
  • /uav0/mavros/distance_sensor/laser_1_sub/subscriber: True
  • /uav0/mavros/distance_sensor/lidarlite_pub/field_of_view: 0.0
  • /uav0/mavros/distance_sensor/lidarlite_pub/frame_id: lidarlite_laser
  • /uav0/mavros/distance_sensor/lidarlite_pub/id: 1
  • /uav0/mavros/distance_sensor/lidarlite_pub/orientation: PITCH_270
  • /uav0/mavros/distance_sensor/lidarlite_pub/send_tf: True
  • /uav0/mavros/distance_sensor/lidarlite_pub/sensor_position/x: 0.0
  • /uav0/mavros/distance_sensor/lidarlite_pub/sensor_position/y: 0.0
  • /uav0/mavros/distance_sensor/lidarlite_pub/sensor_position/z: -0.1
  • /uav0/mavros/distance_sensor/sonar_1_sub/id: 2
  • /uav0/mavros/distance_sensor/sonar_1_sub/orientation: PITCH_270
  • /uav0/mavros/distance_sensor/sonar_1_sub/subscriber: True
  • /uav0/mavros/fake_gps/eph: 2.0
  • /uav0/mavros/fake_gps/epv: 2.0
  • /uav0/mavros/fake_gps/fix_type: 3
  • /uav0/mavros/fake_gps/geo_origin/alt: 408.0
  • /uav0/mavros/fake_gps/geo_origin/lat: 47.3667
  • /uav0/mavros/fake_gps/geo_origin/lon: 8.55
  • /uav0/mavros/fake_gps/gps_rate: 5.0
  • /uav0/mavros/fake_gps/mocap_transform: True
  • /uav0/mavros/fake_gps/satellites_visible: 5
  • /uav0/mavros/fake_gps/tf/child_frame_id: fix
  • /uav0/mavros/fake_gps/tf/frame_id: map
  • /uav0/mavros/fake_gps/tf/listen: False
  • /uav0/mavros/fake_gps/tf/rate_limit: 10.0
  • /uav0/mavros/fake_gps/tf/send: False
  • /uav0/mavros/fake_gps/use_mocap: True
  • /uav0/mavros/fake_gps/use_vision: False
  • /uav0/mavros/fcu_protocol: v2.0
  • /uav0/mavros/fcu_url: udp://:14540@loca...
  • /uav0/mavros/gcs_url:
  • /uav0/mavros/global_position/child_frame_id: base_link
  • /uav0/mavros/global_position/frame_id: map
  • /uav0/mavros/global_position/gps_uere: 1.0
  • /uav0/mavros/global_position/rot_covariance: 99999.0
  • /uav0/mavros/global_position/tf/child_frame_id: base_link
  • /uav0/mavros/global_position/tf/frame_id: map
  • /uav0/mavros/global_position/tf/global_frame_id: earth
  • /uav0/mavros/global_position/tf/send: False
  • /uav0/mavros/global_position/use_relative_alt: True
  • /uav0/mavros/image/frame_id: px4flow
  • /uav0/mavros/imu/angular_velocity_stdev: 0.0003490659 // 0...
  • /uav0/mavros/imu/frame_id: base_link
  • /uav0/mavros/imu/linear_acceleration_stdev: 0.0003
  • /uav0/mavros/imu/magnetic_stdev: 0.0
  • /uav0/mavros/imu/orientation_stdev: 1.0
  • /uav0/mavros/landing_target/camera/fov_x: 2.0071286398
  • /uav0/mavros/landing_target/camera/fov_y: 2.0071286398
  • /uav0/mavros/landing_target/image/height: 480
  • /uav0/mavros/landing_target/image/width: 640
  • /uav0/mavros/landing_target/land_target_type: VISION_FIDUCIAL
  • /uav0/mavros/landing_target/listen_lt: False
  • /uav0/mavros/landing_target/mav_frame: LOCAL_NED
  • /uav0/mavros/landing_target/target_size/x: 0.3
  • /uav0/mavros/landing_target/target_size/y: 0.3
  • /uav0/mavros/landing_target/tf/child_frame_id: camera_center
  • /uav0/mavros/landing_target/tf/frame_id: landing_target
  • /uav0/mavros/landing_target/tf/listen: False
  • /uav0/mavros/landing_target/tf/rate_limit: 10.0
  • /uav0/mavros/landing_target/tf/send: True
  • /uav0/mavros/local_position/frame_id: map
  • /uav0/mavros/local_position/tf/child_frame_id: base_link
  • /uav0/mavros/local_position/tf/frame_id: map
  • /uav0/mavros/local_position/tf/send: False
  • /uav0/mavros/local_position/tf/send_fcu: False
  • /uav0/mavros/mission/pull_after_gcs: True
  • /uav0/mavros/mocap/use_pose: True
  • /uav0/mavros/mocap/use_tf: False
  • /uav0/mavros/odometry/in/child_frame_id: base_link
  • /uav0/mavros/odometry/in/frame_id: odom
  • /uav0/mavros/odometry/in/frame_tf/body_frame_orientation: flu
  • /uav0/mavros/odometry/in/frame_tf/local_frame: local_origin_ned
  • /uav0/mavros/odometry/out/frame_tf/body_frame_orientation: frd
  • /uav0/mavros/odometry/out/frame_tf/local_frame: vision_ned
  • /uav0/mavros/plugin_blacklist: ['safety_area', '...
  • /uav0/mavros/plugin_whitelist: []
  • /uav0/mavros/px4flow/frame_id: px4flow
  • /uav0/mavros/px4flow/ranger_fov: 0.118682
  • /uav0/mavros/px4flow/ranger_max_range: 5.0
  • /uav0/mavros/px4flow/ranger_min_range: 0.3
  • /uav0/mavros/safety_area/p1/x: 1.0
  • /uav0/mavros/safety_area/p1/y: 1.0
  • /uav0/mavros/safety_area/p1/z: 1.0
  • /uav0/mavros/safety_area/p2/x: -1.0
  • /uav0/mavros/safety_area/p2/y: -1.0
  • /uav0/mavros/safety_area/p2/z: -1.0
  • /uav0/mavros/setpoint_accel/send_force: False
  • /uav0/mavros/setpoint_attitude/reverse_thrust: False
  • /uav0/mavros/setpoint_attitude/tf/child_frame_id: target_attitude
  • /uav0/mavros/setpoint_attitude/tf/frame_id: map
  • /uav0/mavros/setpoint_attitude/tf/listen: False
  • /uav0/mavros/setpoint_attitude/tf/rate_limit: 50.0
  • /uav0/mavros/setpoint_attitude/use_quaternion: False
  • /uav0/mavros/setpoint_position/mav_frame: LOCAL_NED
  • /uav0/mavros/setpoint_position/tf/child_frame_id: target_position
  • /uav0/mavros/setpoint_position/tf/frame_id: map
  • /uav0/mavros/setpoint_position/tf/listen: False
  • /uav0/mavros/setpoint_position/tf/rate_limit: 50.0
  • /uav0/mavros/setpoint_raw/thrust_scaling: 1.0
  • /uav0/mavros/setpoint_velocity/mav_frame: LOCAL_NED
  • /uav0/mavros/startup_px4_usb_quirk: True
  • /uav0/mavros/sys/disable_diag: False
  • /uav0/mavros/sys/min_voltage: 10.0
  • /uav0/mavros/target_component_id: 1
  • /uav0/mavros/target_system_id: 1
  • /uav0/mavros/tdr_radio/low_rssi: 40
  • /uav0/mavros/time/time_ref_source: fcu
  • /uav0/mavros/time/timesync_avg_alpha: 0.6
  • /uav0/mavros/time/timesync_mode: MAVLINK
  • /uav0/mavros/vibration/frame_id: base_link
  • /uav0/mavros/vision_pose/tf/child_frame_id: vision_estimate
  • /uav0/mavros/vision_pose/tf/frame_id: map
  • /uav0/mavros/vision_pose/tf/listen: False
  • /uav0/mavros/vision_pose/tf/rate_limit: 10.0
  • /uav0/mavros/vision_speed/listen_twist: True
  • /uav0/mavros/vision_speed/twist_cov: True
  • /uav0/mavros/wheel_odometry/child_frame_id: base_link
  • /uav0/mavros/wheel_odometry/count: 2
  • /uav0/mavros/wheel_odometry/frame_id: map
  • /uav0/mavros/wheel_odometry/send_raw: True
  • /uav0/mavros/wheel_odometry/send_twist: False
  • /uav0/mavros/wheel_odometry/tf/child_frame_id: base_link
  • /uav0/mavros/wheel_odometry/tf/frame_id: map
  • /uav0/mavros/wheel_odometry/tf/send: True
  • /uav0/mavros/wheel_odometry/use_rpm: False
  • /uav0/mavros/wheel_odometry/vel_error: 0.1
  • /uav0/mavros/wheel_odometry/wheel0/radius: 0.05
  • /uav0/mavros/wheel_odometry/wheel0/x: 0.0
  • /uav0/mavros/wheel_odometry/wheel0/y: -0.15
  • /uav0/mavros/wheel_odometry/wheel1/radius: 0.05
  • /uav0/mavros/wheel_odometry/wheel1/x: 0.0
  • /uav0/mavros/wheel_odometry/wheel1/y: 0.15
  • /uav0/rotors_description: <?xml version="1....
  • /uav1/mavros/cmd/use_comp_id_system_control: False
  • /uav1/mavros/conn/heartbeat_rate: 1.0
  • /uav1/mavros/conn/system_time_rate: 1.0
  • /uav1/mavros/conn/timeout: 10.0
  • /uav1/mavros/conn/timesync_rate: 10.0
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/field_of_view: 0.0
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/frame_id: hrlv_ez4_sonar
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/id: 0
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/orientation: PITCH_270
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/send_tf: True
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/x: 0.0
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/y: 0.0
  • /uav1/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/z: -0.1
  • /uav1/mavros/distance_sensor/laser_1_sub/id: 3
  • /uav1/mavros/distance_sensor/laser_1_sub/orientation: PITCH_270
  • /uav1/mavros/distance_sensor/laser_1_sub/subscriber: True
  • /uav1/mavros/distance_sensor/lidarlite_pub/field_of_view: 0.0
  • /uav1/mavros/distance_sensor/lidarlite_pub/frame_id: lidarlite_laser
  • /uav1/mavros/distance_sensor/lidarlite_pub/id: 1
  • /uav1/mavros/distance_sensor/lidarlite_pub/orientation: PITCH_270
  • /uav1/mavros/distance_sensor/lidarlite_pub/send_tf: True
  • /uav1/mavros/distance_sensor/lidarlite_pub/sensor_position/x: 0.0
  • /uav1/mavros/distance_sensor/lidarlite_pub/sensor_position/y: 0.0
  • /uav1/mavros/distance_sensor/lidarlite_pub/sensor_position/z: -0.1
  • /uav1/mavros/distance_sensor/sonar_1_sub/id: 2
  • /uav1/mavros/distance_sensor/sonar_1_sub/orientation: PITCH_270
  • /uav1/mavros/distance_sensor/sonar_1_sub/subscriber: True
  • /uav1/mavros/fake_gps/eph: 2.0
  • /uav1/mavros/fake_gps/epv: 2.0
  • /uav1/mavros/fake_gps/fix_type: 3
  • /uav1/mavros/fake_gps/geo_origin/alt: 408.0
  • /uav1/mavros/fake_gps/geo_origin/lat: 47.3667
  • /uav1/mavros/fake_gps/geo_origin/lon: 8.55
  • /uav1/mavros/fake_gps/gps_rate: 5.0
  • /uav1/mavros/fake_gps/mocap_transform: True
  • /uav1/mavros/fake_gps/satellites_visible: 5
  • /uav1/mavros/fake_gps/tf/child_frame_id: fix
  • /uav1/mavros/fake_gps/tf/frame_id: map
  • /uav1/mavros/fake_gps/tf/listen: False
  • /uav1/mavros/fake_gps/tf/rate_limit: 10.0
  • /uav1/mavros/fake_gps/tf/send: False
  • /uav1/mavros/fake_gps/use_mocap: True
  • /uav1/mavros/fake_gps/use_vision: False
  • /uav1/mavros/fcu_protocol: v2.0
  • /uav1/mavros/fcu_url: udp://:14541@loca...
  • /uav1/mavros/gcs_url:
  • /uav1/mavros/global_position/child_frame_id: base_link
  • /uav1/mavros/global_position/frame_id: map
  • /uav1/mavros/global_position/gps_uere: 1.0
  • /uav1/mavros/global_position/rot_covariance: 99999.0
  • /uav1/mavros/global_position/tf/child_frame_id: base_link
  • /uav1/mavros/global_position/tf/frame_id: map
  • /uav1/mavros/global_position/tf/global_frame_id: earth
  • /uav1/mavros/global_position/tf/send: False
  • /uav1/mavros/global_position/use_relative_alt: True
  • /uav1/mavros/image/frame_id: px4flow
  • /uav1/mavros/imu/angular_velocity_stdev: 0.0003490659 // 0...
  • /uav1/mavros/imu/frame_id: base_link
  • /uav1/mavros/imu/linear_acceleration_stdev: 0.0003
  • /uav1/mavros/imu/magnetic_stdev: 0.0
  • /uav1/mavros/imu/orientation_stdev: 1.0
  • /uav1/mavros/landing_target/camera/fov_x: 2.0071286398
  • /uav1/mavros/landing_target/camera/fov_y: 2.0071286398
  • /uav1/mavros/landing_target/image/height: 480
  • /uav1/mavros/landing_target/image/width: 640
  • /uav1/mavros/landing_target/land_target_type: VISION_FIDUCIAL
  • /uav1/mavros/landing_target/listen_lt: False
  • /uav1/mavros/landing_target/mav_frame: LOCAL_NED
  • /uav1/mavros/landing_target/target_size/x: 0.3
  • /uav1/mavros/landing_target/target_size/y: 0.3
  • /uav1/mavros/landing_target/tf/child_frame_id: camera_center
  • /uav1/mavros/landing_target/tf/frame_id: landing_target
  • /uav1/mavros/landing_target/tf/listen: False
  • /uav1/mavros/landing_target/tf/rate_limit: 10.0
  • /uav1/mavros/landing_target/tf/send: True
  • /uav1/mavros/local_position/frame_id: map
  • /uav1/mavros/local_position/tf/child_frame_id: base_link
  • /uav1/mavros/local_position/tf/frame_id: map
  • /uav1/mavros/local_position/tf/send: False
  • /uav1/mavros/local_position/tf/send_fcu: False
  • /uav1/mavros/mission/pull_after_gcs: True
  • /uav1/mavros/mocap/use_pose: True
  • /uav1/mavros/mocap/use_tf: False
  • /uav1/mavros/odometry/in/child_frame_id: base_link
  • /uav1/mavros/odometry/in/frame_id: odom
  • /uav1/mavros/odometry/in/frame_tf/body_frame_orientation: flu
  • /uav1/mavros/odometry/in/frame_tf/local_frame: local_origin_ned
  • /uav1/mavros/odometry/out/frame_tf/body_frame_orientation: frd
  • /uav1/mavros/odometry/out/frame_tf/local_frame: vision_ned
  • /uav1/mavros/plugin_blacklist: ['safety_area', '...
  • /uav1/mavros/plugin_whitelist: []
  • /uav1/mavros/px4flow/frame_id: px4flow
  • /uav1/mavros/px4flow/ranger_fov: 0.118682
  • /uav1/mavros/px4flow/ranger_max_range: 5.0
  • /uav1/mavros/px4flow/ranger_min_range: 0.3
  • /uav1/mavros/safety_area/p1/x: 1.0
  • /uav1/mavros/safety_area/p1/y: 1.0
  • /uav1/mavros/safety_area/p1/z: 1.0
  • /uav1/mavros/safety_area/p2/x: -1.0
  • /uav1/mavros/safety_area/p2/y: -1.0
  • /uav1/mavros/safety_area/p2/z: -1.0
  • /uav1/mavros/setpoint_accel/send_force: False
  • /uav1/mavros/setpoint_attitude/reverse_thrust: False
  • /uav1/mavros/setpoint_attitude/tf/child_frame_id: target_attitude
  • /uav1/mavros/setpoint_attitude/tf/frame_id: map
  • /uav1/mavros/setpoint_attitude/tf/listen: False
  • /uav1/mavros/setpoint_attitude/tf/rate_limit: 50.0
  • /uav1/mavros/setpoint_attitude/use_quaternion: False
  • /uav1/mavros/setpoint_position/mav_frame: LOCAL_NED
  • /uav1/mavros/setpoint_position/tf/child_frame_id: target_position
  • /uav1/mavros/setpoint_position/tf/frame_id: map
  • /uav1/mavros/setpoint_position/tf/listen: False
  • /uav1/mavros/setpoint_position/tf/rate_limit: 50.0
  • /uav1/mavros/setpoint_raw/thrust_scaling: 1.0
  • /uav1/mavros/setpoint_velocity/mav_frame: LOCAL_NED
  • /uav1/mavros/startup_px4_usb_quirk: True
  • /uav1/mavros/sys/disable_diag: False
  • /uav1/mavros/sys/min_voltage: 10.0
  • /uav1/mavros/target_component_id: 1
  • /uav1/mavros/target_system_id: 2
  • /uav1/mavros/tdr_radio/low_rssi: 40
  • /uav1/mavros/time/time_ref_source: fcu
  • /uav1/mavros/time/timesync_avg_alpha: 0.6
  • /uav1/mavros/time/timesync_mode: MAVLINK
  • /uav1/mavros/vibration/frame_id: base_link
  • /uav1/mavros/vision_pose/tf/child_frame_id: vision_estimate
  • /uav1/mavros/vision_pose/tf/frame_id: map
  • /uav1/mavros/vision_pose/tf/listen: False
  • /uav1/mavros/vision_pose/tf/rate_limit: 10.0
  • /uav1/mavros/vision_speed/listen_twist: True
  • /uav1/mavros/vision_speed/twist_cov: True
  • /uav1/mavros/wheel_odometry/child_frame_id: base_link
  • /uav1/mavros/wheel_odometry/count: 2
  • /uav1/mavros/wheel_odometry/frame_id: map
  • /uav1/mavros/wheel_odometry/send_raw: True
  • /uav1/mavros/wheel_odometry/send_twist: False
  • /uav1/mavros/wheel_odometry/tf/child_frame_id: base_link
  • /uav1/mavros/wheel_odometry/tf/frame_id: map
  • /uav1/mavros/wheel_odometry/tf/send: True
  • /uav1/mavros/wheel_odometry/use_rpm: False
  • /uav1/mavros/wheel_odometry/vel_error: 0.1
  • /uav1/mavros/wheel_odometry/wheel0/radius: 0.05
  • /uav1/mavros/wheel_odometry/wheel0/x: 0.0
  • /uav1/mavros/wheel_odometry/wheel0/y: -0.15
  • /uav1/mavros/wheel_odometry/wheel1/radius: 0.05
  • /uav1/mavros/wheel_odometry/wheel1/x: 0.0
  • /uav1/mavros/wheel_odometry/wheel1/y: 0.15
  • /uav1/rotors_description: <?xml version="1....
  • /uav2/mavros/cmd/use_comp_id_system_control: False
  • /uav2/mavros/conn/heartbeat_rate: 1.0
  • /uav2/mavros/conn/system_time_rate: 1.0
  • /uav2/mavros/conn/timeout: 10.0
  • /uav2/mavros/conn/timesync_rate: 10.0
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/field_of_view: 0.0
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/frame_id: hrlv_ez4_sonar
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/id: 0
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/orientation: PITCH_270
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/send_tf: True
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/x: 0.0
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/y: 0.0
  • /uav2/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/z: -0.1
  • /uav2/mavros/distance_sensor/laser_1_sub/id: 3
  • /uav2/mavros/distance_sensor/laser_1_sub/orientation: PITCH_270
  • /uav2/mavros/distance_sensor/laser_1_sub/subscriber: True
  • /uav2/mavros/distance_sensor/lidarlite_pub/field_of_view: 0.0
  • /uav2/mavros/distance_sensor/lidarlite_pub/frame_id: lidarlite_laser
  • /uav2/mavros/distance_sensor/lidarlite_pub/id: 1
  • /uav2/mavros/distance_sensor/lidarlite_pub/orientation: PITCH_270
  • /uav2/mavros/distance_sensor/lidarlite_pub/send_tf: True
  • /uav2/mavros/distance_sensor/lidarlite_pub/sensor_position/x: 0.0
  • /uav2/mavros/distance_sensor/lidarlite_pub/sensor_position/y: 0.0
  • /uav2/mavros/distance_sensor/lidarlite_pub/sensor_position/z: -0.1
  • /uav2/mavros/distance_sensor/sonar_1_sub/id: 2
  • /uav2/mavros/distance_sensor/sonar_1_sub/orientation: PITCH_270
  • /uav2/mavros/distance_sensor/sonar_1_sub/subscriber: True
  • /uav2/mavros/fake_gps/eph: 2.0
  • /uav2/mavros/fake_gps/epv: 2.0
  • /uav2/mavros/fake_gps/fix_type: 3
  • /uav2/mavros/fake_gps/geo_origin/alt: 408.0
  • /uav2/mavros/fake_gps/geo_origin/lat: 47.3667
  • /uav2/mavros/fake_gps/geo_origin/lon: 8.55
  • /uav2/mavros/fake_gps/gps_rate: 5.0
  • /uav2/mavros/fake_gps/mocap_transform: True
  • /uav2/mavros/fake_gps/satellites_visible: 5
  • /uav2/mavros/fake_gps/tf/child_frame_id: fix
  • /uav2/mavros/fake_gps/tf/frame_id: map
  • /uav2/mavros/fake_gps/tf/listen: False
  • /uav2/mavros/fake_gps/tf/rate_limit: 10.0
  • /uav2/mavros/fake_gps/tf/send: False
  • /uav2/mavros/fake_gps/use_mocap: True
  • /uav2/mavros/fake_gps/use_vision: False
  • /uav2/mavros/fcu_protocol: v2.0
  • /uav2/mavros/fcu_url: udp://:14542@loca...
  • /uav2/mavros/gcs_url:
  • /uav2/mavros/global_position/child_frame_id: base_link
  • /uav2/mavros/global_position/frame_id: map
  • /uav2/mavros/global_position/gps_uere: 1.0
  • /uav2/mavros/global_position/rot_covariance: 99999.0
  • /uav2/mavros/global_position/tf/child_frame_id: base_link
  • /uav2/mavros/global_position/tf/frame_id: map
  • /uav2/mavros/global_position/tf/global_frame_id: earth
  • /uav2/mavros/global_position/tf/send: False
  • /uav2/mavros/global_position/use_relative_alt: True
  • /uav2/mavros/image/frame_id: px4flow
  • /uav2/mavros/imu/angular_velocity_stdev: 0.0003490659 // 0...
  • /uav2/mavros/imu/frame_id: base_link
  • /uav2/mavros/imu/linear_acceleration_stdev: 0.0003
  • /uav2/mavros/imu/magnetic_stdev: 0.0
  • /uav2/mavros/imu/orientation_stdev: 1.0
  • /uav2/mavros/landing_target/camera/fov_x: 2.0071286398
  • /uav2/mavros/landing_target/camera/fov_y: 2.0071286398
  • /uav2/mavros/landing_target/image/height: 480
  • /uav2/mavros/landing_target/image/width: 640
  • /uav2/mavros/landing_target/land_target_type: VISION_FIDUCIAL
  • /uav2/mavros/landing_target/listen_lt: False
  • /uav2/mavros/landing_target/mav_frame: LOCAL_NED
  • /uav2/mavros/landing_target/target_size/x: 0.3
  • /uav2/mavros/landing_target/target_size/y: 0.3
  • /uav2/mavros/landing_target/tf/child_frame_id: camera_center
  • /uav2/mavros/landing_target/tf/frame_id: landing_target
  • /uav2/mavros/landing_target/tf/listen: False
  • /uav2/mavros/landing_target/tf/rate_limit: 10.0
  • /uav2/mavros/landing_target/tf/send: True
  • /uav2/mavros/local_position/frame_id: map
  • /uav2/mavros/local_position/tf/child_frame_id: base_link
  • /uav2/mavros/local_position/tf/frame_id: map
  • /uav2/mavros/local_position/tf/send: False
  • /uav2/mavros/local_position/tf/send_fcu: False
  • /uav2/mavros/mission/pull_after_gcs: True
  • /uav2/mavros/mocap/use_pose: True
  • /uav2/mavros/mocap/use_tf: False
  • /uav2/mavros/odometry/in/child_frame_id: base_link
  • /uav2/mavros/odometry/in/frame_id: odom
  • /uav2/mavros/odometry/in/frame_tf/body_frame_orientation: flu
  • /uav2/mavros/odometry/in/frame_tf/local_frame: local_origin_ned
  • /uav2/mavros/odometry/out/frame_tf/body_frame_orientation: frd
  • /uav2/mavros/odometry/out/frame_tf/local_frame: vision_ned
  • /uav2/mavros/plugin_blacklist: ['safety_area', '...
  • /uav2/mavros/plugin_whitelist: []
  • /uav2/mavros/px4flow/frame_id: px4flow
  • /uav2/mavros/px4flow/ranger_fov: 0.118682
  • /uav2/mavros/px4flow/ranger_max_range: 5.0
  • /uav2/mavros/px4flow/ranger_min_range: 0.3
  • /uav2/mavros/safety_area/p1/x: 1.0
  • /uav2/mavros/safety_area/p1/y: 1.0
  • /uav2/mavros/safety_area/p1/z: 1.0
  • /uav2/mavros/safety_area/p2/x: -1.0
  • /uav2/mavros/safety_area/p2/y: -1.0
  • /uav2/mavros/safety_area/p2/z: -1.0
  • /uav2/mavros/setpoint_accel/send_force: False
  • /uav2/mavros/setpoint_attitude/reverse_thrust: False
  • /uav2/mavros/setpoint_attitude/tf/child_frame_id: target_attitude
  • /uav2/mavros/setpoint_attitude/tf/frame_id: map
  • /uav2/mavros/setpoint_attitude/tf/listen: False
  • /uav2/mavros/setpoint_attitude/tf/rate_limit: 50.0
  • /uav2/mavros/setpoint_attitude/use_quaternion: False
  • /uav2/mavros/setpoint_position/mav_frame: LOCAL_NED
  • /uav2/mavros/setpoint_position/tf/child_frame_id: target_position
  • /uav2/mavros/setpoint_position/tf/frame_id: map
  • /uav2/mavros/setpoint_position/tf/listen: False
  • /uav2/mavros/setpoint_position/tf/rate_limit: 50.0
  • /uav2/mavros/setpoint_raw/thrust_scaling: 1.0
  • /uav2/mavros/setpoint_velocity/mav_frame: LOCAL_NED
  • /uav2/mavros/startup_px4_usb_quirk: True
  • /uav2/mavros/sys/disable_diag: False
  • /uav2/mavros/sys/min_voltage: 10.0
  • /uav2/mavros/target_component_id: 1
  • /uav2/mavros/target_system_id: 3
  • /uav2/mavros/tdr_radio/low_rssi: 40
  • /uav2/mavros/time/time_ref_source: fcu
  • /uav2/mavros/time/timesync_avg_alpha: 0.6
  • /uav2/mavros/time/timesync_mode: MAVLINK
  • /uav2/mavros/vibration/frame_id: base_link
  • /uav2/mavros/vision_pose/tf/child_frame_id: vision_estimate
  • /uav2/mavros/vision_pose/tf/frame_id: map
  • /uav2/mavros/vision_pose/tf/listen: False
  • /uav2/mavros/vision_pose/tf/rate_limit: 10.0
  • /uav2/mavros/vision_speed/listen_twist: True
  • /uav2/mavros/vision_speed/twist_cov: True
  • /uav2/mavros/wheel_odometry/child_frame_id: base_link
  • /uav2/mavros/wheel_odometry/count: 2
  • /uav2/mavros/wheel_odometry/frame_id: map
  • /uav2/mavros/wheel_odometry/send_raw: True
  • /uav2/mavros/wheel_odometry/send_twist: False
  • /uav2/mavros/wheel_odometry/tf/child_frame_id: base_link
  • /uav2/mavros/wheel_odometry/tf/frame_id: map
  • /uav2/mavros/wheel_odometry/tf/send: True
  • /uav2/mavros/wheel_odometry/use_rpm: False
  • /uav2/mavros/wheel_odometry/vel_error: 0.1
  • /uav2/mavros/wheel_odometry/wheel0/radius: 0.05
  • /uav2/mavros/wheel_odometry/wheel0/x: 0.0
  • /uav2/mavros/wheel_odometry/wheel0/y: -0.15
  • /uav2/mavros/wheel_odometry/wheel1/radius: 0.05
  • /uav2/mavros/wheel_odometry/wheel1/x: 0.0
  • /uav2/mavros/wheel_odometry/wheel1/y: 0.15
  • /uav2/rotors_description: <?xml version="1....
  • /use_sim_time: True

NODES
/uav1/
iris_1_spawn (gazebo_ros/spawn_model)
mavros (mavros/mavros_node)
sitl_1 (px4/px4)
/uav0/
iris_0_spawn (gazebo_ros/spawn_model)
mavros (mavros/mavros_node)
sitl_0 (px4/px4)
/uav2/
iris_2_spawn (gazebo_ros/spawn_model)
mavros (mavros/mavros_node)
sitl_2 (px4/px4)
/
formation_control_node (formation_control/formation_control_node)
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)

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

setting /run_id to a17d52d6-2bf5-11ea-aa82-e4029be100e1
process[rosout-1]: started with pid [20468]
started core service [/rosout]
process[formation_control_node-2]: started with pid [20488]
process[gazebo-3]: started with pid [20489]
process[gazebo_gui-4]: started with pid [20506]
process[uav0/sitl_0-5]: started with pid [20606]
INFO [px4] Creating symlink /home/cactus/Firmware/ROMFS/px4fmu_common -> /home/cactus/.ros/sitl_iris_0/etc


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

px4 starting.

INFO [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0
0 WARNING: setRealtimeSched failed (not run as root?)
process[uav0/iris_0_spawn-6]: started with pid [20625]
process[uav0/mavros-7]: started with pid [20630]
[ INFO] [1577814458.803323017]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1577814458.811487274]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
INFO [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes
INFO [simulator] Waiting for simulator to connect on TCP port 4560
[ INFO] [1577814458.870701884]: FCU URL: udp://:14540@localhost:14580
[ INFO] [1577814458.874499677]: udp0: Bind address: 0.0.0.0:14540
[ INFO] [1577814458.874705440]: udp0: Remote address: 127.0.0.1:14580
[ INFO] [1577814458.875116134]: GCS bridge disabled
[ INFO] [1577814458.898487558]: Plugin 3dr_radio loaded
[ INFO] [1577814458.902399520]: Plugin 3dr_radio initialized
[ INFO] [1577814458.902627953]: Plugin actuator_control loaded
[ INFO] [1577814458.910492608]: Plugin actuator_control initialized
[ INFO] [1577814458.917530555]: Plugin adsb loaded
[ INFO] [1577814458.924760311]: Plugin adsb initialized
[ INFO] [1577814458.925210024]: Plugin altitude loaded
[ INFO] [1577814458.927947461]: Plugin altitude initialized
[ INFO] [1577814458.928388933]: Plugin cam_imu_sync loaded
[ INFO] [1577814458.930021960]: Plugin cam_imu_sync initialized
[ INFO] [1577814458.930517916]: Plugin command loaded
[ INFO] [1577814458.943614248]: Plugin command initialized
[ INFO] [1577814458.943859125]: Plugin companion_process_status loaded
[ INFO] [1577814458.954113954]: Plugin companion_process_status initialized
[ INFO] [1577814458.954356384]: Plugin debug_value loaded
INFO [px4] Creating symlink /home/cactus/Firmware/ROMFS/px4fmu_common -> /home/cactus/.ros/sitl_iris_1/etc
0 WARNING: setRealtimeSched failed (not run as root?)


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

px4 starting.

INFO [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 1
process[uav1/sitl_1-8]: started with pid [20790]
process[uav1/iris_1_spawn-9]: started with pid [20823]
[ INFO] [1577814458.976000212]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1577814458.982327289]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
process[uav1/mavros-10]: started with pid [20839]
[ INFO] [1577814458.983303678]: Plugin debug_value initialized
[ INFO] [1577814458.983443395]: Plugin distance_sensor blacklisted
[ INFO] [1577814458.983769073]: Plugin fake_gps loaded
[ INFO] [1577814459.032613277]: Plugin fake_gps initialized
[ INFO] [1577814459.033026714]: Plugin ftp loaded
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 153 (DRI2)
Minor opcode of failed request: 3 (DRI2CreateDrawable)
Resource id in failed request: 0x5a00002
Serial number of failed request: 31
Current serial number in output stream: 33
[ INFO] [1577814459.116433454]: Plugin ftp initialized
[ INFO] [1577814459.116714685]: Plugin global_position loaded
INFO [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes
INFO [simulator] Waiting for simulator to connect on TCP port 4561
[ INFO] [1577814459.230935255]: Plugin global_position initialized
[ INFO] [1577814459.231278183]: Plugin gps_rtk loaded
[ INFO] [1577814459.262273871]: Plugin gps_rtk initialized
[ INFO] [1577814459.262576803]: Plugin hil loaded
INFO [px4] Creating symlink /home/cactus/Firmware/ROMFS/px4fmu_common -> /home/cactus/.ros/sitl_iris_2/etc
0 WARNING: setRealtimeSched failed (not run as root?)
process[uav2/sitl_2-11]: started with pid [21037]


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

px4 starting.

INFO [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 2
process[uav2/iris_2_spawn-12]: started with pid [21060]
[ INFO] [1577814459.371560296]: Plugin hil initialized
[ INFO] [1577814459.371935197]: Plugin home_position loaded
process[uav2/mavros-13]: started with pid [21077]
[ INFO] [1577814459.402050478]: FCU URL: udp://:14541@localhost:14581
[ INFO] [1577814459.406228622]: udp0: Bind address: 0.0.0.0:14541
[ INFO] [1577814459.406400767]: udp0: Remote address: 127.0.0.1:14581
[ INFO] [1577814459.408609546]: GCS bridge disabled
[ INFO] [1577814459.418918370]: Plugin home_position initialized
[ INFO] [1577814459.419472254]: Plugin imu loaded
terminate called after throwing an instance of 'std::bad_weak_ptr'
what(): bad_weak_ptr
[ INFO] [1577814459.470400773]: Plugin imu initialized
[ INFO] [1577814459.470795030]: Plugin landing_target loaded
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::lock_error >'
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument
INFO [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes
INFO [simulator] Waiting for simulator to connect on TCP port 4562
[ INFO] [1577814459.560063221]: Plugin landing_target initialized
[ INFO] [1577814459.560367512]: Plugin local_position loaded
[ INFO] [1577814459.578777791]: Plugin local_position initialized
[ INFO] [1577814459.579061251]: Plugin log_transfer loaded
[ INFO] [1577814459.590512952]: Plugin log_transfer initialized
[ INFO] [1577814459.590893088]: Plugin manual_control loaded
[ INFO] [1577814459.601053164]: Plugin manual_control initialized
[ INFO] [1577814459.601312232]: Plugin mocap_pose_estimate loaded
[ INFO] [1577814459.631988882]: Plugin mocap_pose_estimate initialized
[ INFO] [1577814459.632322831]: Plugin mount_control loaded
[ INFO] [1577814459.641316321]: Plugin mount_control initialized
[ INFO] [1577814459.641685082]: Plugin obstacle_distance loaded
[ INFO] [1577814459.663468013]: Plugin obstacle_distance initialized
[ INFO] [1577814459.663815505]: Plugin odom loaded
[ INFO] [1577814459.749687324]: Plugin odom initialized
[ INFO] [1577814459.750122566]: Plugin param loaded
[ INFO] [1577814459.778831140]: Plugin param initialized
[ INFO] [1577814459.779103052]: Plugin px4flow loaded
[ INFO] [1577814459.822782695]: Plugin px4flow initialized
[ INFO] [1577814459.822939821]: Plugin rangefinder blacklisted
[ INFO] [1577814459.823458329]: Plugin rc_io loaded
SpawnModel script started
[ INFO] [1577814459.878638863]: Plugin rc_io initialized
[ INFO] [1577814459.878745126]: Plugin safety_area blacklisted
[ INFO] [1577814459.879046722]: Plugin setpoint_accel loaded
[ INFO] [1577814459.908199545]: FCU URL: udp://:14542@localhost:14582
[ INFO] [1577814459.912394885]: udp0: Bind address: 0.0.0.0:14542
[ INFO] [1577814459.912733832]: udp0: Remote address: 127.0.0.1:14582
[ INFO] [1577814459.913254786]: GCS bridge disabled
[ INFO] [1577814459.914881997]: Plugin setpoint_accel initialized
[ INFO] [1577814459.915362603]: Plugin setpoint_attitude loaded
Aborted (core dumped)
[ INFO] [1577814459.995783609]: Plugin 3dr_radio loaded
[ INFO] [1577814460.006619852]: Plugin setpoint_attitude initialized
[ INFO] [1577814460.007088547]: Plugin 3dr_radio initialized
[ INFO] [1577814460.007307561]: Plugin actuator_control loaded
[ INFO] [1577814460.007325871]: Plugin setpoint_position loaded
INFO [init] Mixer: etc/mixers/quad_w.main.mix on /dev/pwm_output0
[ INFO] [1577814460.029064286]: Plugin actuator_control initialized
[gazebo-3] process has died [pid 20489, exit code 134, cmd /home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -e ode /home/cactus/Firmware/Tools/sitl_gazebo/worlds/empty.world __name:=gazebo __log:=/home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/gazebo-3.log].
log file: /home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/gazebo-3*.log
================================================================================REQUIRED process [uav1/mavros-10] has died!
process has died [pid 20839, exit code -6, cmd /home/cactus/catkin_ws/devel/lib/mavros/mavros_node __name:=mavros __log:=/home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/uav1-mavros-10.log].
log file: /home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/uav1-mavros-10*.log
Initiating shutdown!

[ INFO] [1577814460.040704093]: Plugin adsb loaded
[ INFO] [1577814460.056241494]: Plugin adsb initialized
[ INFO] [1577814460.056504420]: Plugin altitude loaded
[ INFO] [1577814460.061298735]: Plugin altitude initialized
[ INFO] [1577814460.061554436]: Plugin cam_imu_sync loaded
[ INFO] [1577814460.067573530]: Plugin cam_imu_sync initialized
[ INFO] [1577814460.067931176]: Plugin command loaded
[INFO] [1577814460.088130, 0.000000]: Loading model XML from ros parameter
[INFO] [1577814460.095283, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
INFO [mavlink] mode: Normal, data rate: 4000000 B/s on udp port 14570 remote port 14550
[ INFO] [1577814460.110452399]: Plugin command initialized
[ INFO] [1577814460.110717594]: Plugin companion_process_status loaded
[ INFO] [1577814460.117436390]: Plugin setpoint_position initialized
[ INFO] [1577814460.117830009]: Plugin setpoint_raw loaded
SpawnModel script started
[ INFO] [1577814460.126353750]: Plugin companion_process_status initialized
[ INFO] [1577814460.126588669]: Plugin debug_value loaded
[uav2/mavros-13] killing on exit
[uav2/iris_2_spawn-12] killing on exit
Traceback (most recent call last):
File "/home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model", line 32, in
import tf.transformations as tft
File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf/init.py", line 28, in
[uav2/sitl_2-11] killing on exit
[uav1/mavros-10] killing on exit
[uav1/iris_1_spawn-9] killing on exit
[uav1/sitl_1-8] killing on exit
ERROR [px4] Startup script returned with return value: 2
ERROR [px4] Startup script returned with return value: 2
[uav0/mavros-7] killing on exit
[uav0/iris_0_spawn-6] killing on exit
[uav0/sitl_0-5] killing on exit
[gazebo_gui-4] killing on exit
[formation_control_node-2] killing on exit
ERROR [px4] Startup script returned with return value: 2
from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/init.py", line 39, in
from .buffer_interface import *
File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/buffer_interface.py", line 32, in
[ INFO] [1577814460.157016775]: Plugin debug_value initialized
import roslib; roslib.load_manifest('tf2_ros')
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
m = rospack.get_manifest(pkg)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 167, in get_manifest
[ INFO] [1577814460.184848084]: Plugin setpoint_raw initialized
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 211, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
File "/usr/lib/python2.7/dist-packages/rospkg/manifest.py", line 410, in parse_manifest_file
from rosdep2.rospack import init_rospack_interface, is_ros_package, is_system_dependency, is_view_empty
File "/usr/lib/python2.7/dist-packages/rosdep2/init.py", line 45, in
from .lookup import RosdepDefinition, RosdepView, RosdepLookup,
File "/usr/lib/python2.7/dist-packages/rosdep2/lookup.py", line 44, in
from .sources_list import SourcesListLoader
File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 48, in
from .gbpdistro_support import get_gbprepo_as_rosdep_data, download_gbpdistro_as_rosdep_data
File "/usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py", line 18, in
from .platforms.debian import APT_INSTALLER
File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/debian.py", line 36, in
from .pip import PIP_INSTALLER
File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/pip.py", line 33, in
import pkg_resources
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2927, in
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2955, in _initialize_master_working_set
list(map(working_set.add_entry, sys.path))
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 675, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1976, in find_on_path
if os.path.isdir(fullpath):
File "/usr/lib/python2.7/genericpath.py", line 49, in isdir
Traceback (most recent call last):
File "/home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model", line 313, in
sm.callSpawnService()
File "/home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model", line 271, in callSpawnService
initial_pose, self.reference_frame, self.gazebo_namespace)
File "/home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros/gazebo_interface.py", line 28, in spawn_urdf_model_client
rospy.wait_for_service(gazebo_namespace+'/spawn_urdf_model')
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 159, in wait_for_service
raise ROSInterruptException("rospy shutdown")
rospy.exceptions.ROSInterruptException: rospy shutdown
st = os.stat(s)
KeyboardInterrupt
Traceback (most recent call last):
File "/home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model", line 313, in
sm.callSpawnService()
File "/home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model", line 206, in callSpawnService
rospy.init_node('spawn_model')
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 323, in init_node
raise rospy.exceptions.ROSInitException("init_node interrupted before it could complete")
rospy.exceptions.ROSInitException: init_node interrupted before it could complete
[uav2/sitl_2-11] escalating to SIGTERM[uav1/sitl_1-8] escalating to SIGTERM

[uav0/sitl_0-5] escalating to SIGTERM
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

error1:

[ INFO] [1577814460.029064286]: Plugin actuator_control initialized
[gazebo-3] process has died [pid 20489, exit code 134, cmd /home/cactus/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -e ode /home/cactus/Firmware/Tools/sitl_gazebo/worlds/empty.world __name:=gazebo __log:=/home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/gazebo-3.log].
log file: /home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/gazebo-3*.log
================================================================================REQUIRED process [uav1/mavros-10] has died!
process has died [pid 20839, exit code -6, cmd /home/cactus/catkin_ws/devel/lib/mavros/mavros_node __name:=mavros __log:=/home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/uav1-mavros-10.log].
log file: /home/cactus/.ros/log/a17d52d6-2bf5-11ea-aa82-e4029be100e1/uav1-mavros-10*.log
Initiating shutdown!

error2:
[uav1/sitl_1-8] killing on exit
ERROR [px4] Startup script returned with return value: 2
ERROR [px4] Startup script returned with return value: 2
[uav0/mavros-7] killing on exit
[uav0/iris_0_spawn-6] killing on exit
[uav0/sitl_0-5] killing on exit
[gazebo_gui-4] killing on exit
[formation_control_node-2] killing on exit
ERROR [px4] Startup script returned with return value: 2

error3:
rospy.exceptions.ROSInitException: init_node interrupted before it could complete
[uav2/sitl_2-11] escalating to SIGTERM[uav1/sitl_1-8] escalating to SIGTERM

[uav0/sitl_0-5] escalating to SIGTERM
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

from mavros_swarm.

Jaeyoung-Lim avatar Jaeyoung-Lim commented on August 17, 2024

@zillay-bot Seems like your px4 sitl is segfaulting

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

and this?

ODOM: Ex: Could not find a connection between 'local_origin_ned' and 'fcu' because they are not part of the same tree.Tf has two or more unconnected trees.

from mavros_swarm.

Jaeyoung-Lim avatar Jaeyoung-Lim commented on August 17, 2024

That is not related to your issue. Can you run px4 gazebo sitl simulation without mavros_swarm?

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

yes i can launch posix and multi uavs but in case of multi uavs i get the error about unconnected trees

from mavros_swarm.

zillay-bot avatar zillay-bot commented on August 17, 2024

from mavros_swarm.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.