Jaeyoung-Lim / mavros_swarm

ROS based mav fleet control for swarming
BSD 3-Clause "New" or "Revised" License
32 stars 20 forks source link

ERROR in config: Unable to download URL [https://github.com/Jaeyoung-Lim/mavros_swarm/dependencies.rosinstall]: HTTP Error 404: Not Found #30

Closed zillay-bot closed 3 years ago

zillay-bot commented 4 years ago

i tried to install mavros_swarm from https://github.com/Jaeyoung-Lim/mavros_swarm but i am unableto as i clone after this i am unable to rosinistall the dependencies to here are the details:

:/catkin_ws/src$ git clone https://github.com/Jaeyoung-Lim/mavros_swarm.git Cloning into 'mavros_swarm'... remote: Enumerating objects: 4, done. remote: Counting objects: 100% (4/4), done. remote: Compressing objects: 100% (4/4), done. remote: Total 351 (delta 1), reused 0 (delta 0), pack-reused 347 Receiving objects: 100% (351/351), 2.63 MiB | 152.00 KiB/s, done. Resolving deltas: 100% (218/218), done. Checking connectivity... done. cd catkin_ws cactus@cactus-Inspiron-5559:/catkin_ws$ catkin build Profile: default Extending: [cached] /opt/ros/kinetic Workspace: /home/cactus/catkin_ws Build Space: [exists] /home/cactus/catkin_ws/build Devel Space: [exists] /home/cactus/catkin_ws/devel Install Space: [unused] /home/cactus/catkin_ws/install Log Space: [exists] /home/cactus/catkin_ws/logs Source Space: [exists] /home/cactus/catkin_ws/src DESTDIR: [unused] None Devel Space Layout: linked Install Space Layout: None Additional CMake Args: None Additional Make Args: None Additional catkin Make Args: None Internal Make Job Server: True Cache Job Environments: False Whitelisted Packages: None Blacklisted Packages: None Workspace configuration appears valid.

[build] Found '16' packages in 0.0 seconds. [build] Updating package table. Starting >>> beginner Starting >>> final_year_project Starting >>> gazebo_dev Starting >>> gazebo_msgs Finished <<< final_year_project [ 0.2 seconds ] Starting >>> mavlink Finished <<< beginner [ 0.2 seconds ] Starting >>> mavros_msgs Finished <<< gazebo_dev [ 0.2 seconds ] Finished <<< mavlink [ 1.6 seconds ] Finished <<< gazebo_msgs [ 2.2 seconds ] Starting >>> libmavconn Finished <<< libmavconn [ 0.3 seconds ] Starting >>> gazebo_plugins Starting >>> gazebo_ros Finished <<< mavros_msgs [ 3.2 seconds ] Starting >>> mavros Finished <<< gazebo_ros [ 1.7 seconds ] Finished <<< mavros [ 2.5 seconds ] Starting >>> gazebo_ros_control Starting >>> formation_control Starting >>> mavros_extras Finished <<< gazebo_plugins [ 2.7 seconds ] Finished <<< gazebo_ros_control [ 0.2 seconds ] Finished <<< mavros_extras [ 1.2 seconds ] Starting >>> test_mavros

Errors << formation_control:cmake /home/cactus/catkin_ws/logs/formation_control/build.cmake.000.log CMake Error at /home/cactus/catkin_ws/src/mavros_swarm/formation_control/CMakeLists.txt:6 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one.

Could not find a package configuration file provided by "catkin_simple" with any of the following names:

catkin_simpleConfig.cmake catkin_simple-config.cmake

Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set "catkin_simple_DIR" to a directory containing one of the above files. If "catkin_simple" provides a separate development package or SDK, be sure it has been installed. ~/catkin_ws$ wstool init . ./mavros_swarm/dependencies.rosinstall Using initial elements from: ./mavros_swarm/dependencies.rosinstall ERROR in config: Is not a local file, nor a valid URL [./mavros_swarm/dependencies.rosinstall] : unknown url type: ./mavros_swarm/dependencies.rosinstall /catkin_ws/src$ wstool merge mavros_swarm.rosinatall /usr/lib/python2.7/dist-packages/wstool/config_yaml.py:74: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. yamldata = yaml.load(stream) ERROR in config: Is not a local file, nor a valid URL [mavros_swarm.rosinatall] : unknown url type: mavros_swarm.rosinatall cactus@cactus-Inspiron-5559:/catkin_ws/src$ wget https://github.com/Jaeyoung-Lim/mavros_swarm.rosinstall --2019-12-31 21:21:15-- https://github.com/Jaeyoung-Lim/mavros_swarm.rosinstall Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2019-12-31 21:21:19 ERROR 404: Not Found.

Jaeyoung-Lim commented 4 years ago

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

zillay-bot commented 4 years ago

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'

Jaeyoung-Lim commented 4 years ago

@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
zillay-bot commented 4 years ago

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

Jaeyoung-Lim commented 4 years ago

@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

zillay-bot commented 4 years ago

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.

Jaeyoung-Lim commented 4 years ago

yes.

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

zillay-bot commented 4 years ago

~/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

zillay-bot commented 4 years ago

~/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

Jaeyoung-Lim commented 4 years ago

Could you try this?

cd ~/catkin_ws
wstool init src
wstool merge -t src src/mavros_swarm/dependencies.rosinstall
wstool update -t src -j4
zillay-bot commented 4 years ago

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

PARAMETERS

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_injector >' 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

zillay-bot commented 4 years ago

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

Jaeyoung-Lim commented 4 years ago

@zillay-bot Seems like your px4 sitl is segfaulting

zillay-bot commented 4 years ago

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.

Jaeyoung-Lim commented 4 years ago

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

zillay-bot commented 4 years ago

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

zillay-bot commented 4 years ago

yes i can run it

Syeda Zillay Nain ZukhrafAssociate Section Student Representative (ASSR)Student Activities Committee, IEEE Islamabad Section Region-10, Pakistan.

Email: zillaynain@ieee.org muzamil@ieee.org www.ieee.org http://www.ieee.org/ Follow us on: http://twitter.com/ieeexp http://www.instagram.com/ieeexp/

On Tue, Dec 31, 2019 at 10:54 PM JaeyoungLim notifications@github.com wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Jaeyoung-Lim/mavros_swarm/issues/30?email_source=notifications&email_token=AOB2HBW7MJXCHAEXPFE5AYDQ3OBM3A5CNFSM4KBWYNCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH4P5GY#issuecomment-569966235, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOB2HBQMBMOUTMUHAWUO4D3Q3OBM3ANCNFSM4KBWYNCA .