mzahana / px4_fast_planner

Integration of Fast-Planner with PX4 autopilot for multi-rotor fast navigation with obstacle avoidance
MIT License
220 stars 46 forks source link

Resource not found: The following package was not found in <arg default="$(find mavlink_sitl_gazebo)/worlds/empty.world" name="world"/>: mavlink_sitl_gazebo #4

Closed Muzaib95Anjum closed 4 years ago

Muzaib95Anjum commented 4 years ago

After following all the instructions when i run roslaunch px4_fast_planner px4_fast_planner.launch. i get the errors: Resource not found: The following package was not found in : mavlink_sitl_gazebo ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/home/muzaib/catkin_ws/src ROS path [2]=/opt/ros/melodic/share ROS path [3]=/home/muzaib/Firmware The traceback for the exception was written to the log file

mzahana commented 4 years ago

@Muzaib95Anjum looks like you did not includ PX4 SITL packages on the path. Did you do the setup using the setup.sh script in the install folder? It already does that for you and the necessary lines in your .bashrc file

Muzaib95Anjum commented 4 years ago

@mzahana yes i did setup using setup.sh script in the install folder! But the error remains....

mzahana commented 4 years ago

@Muzaib95Anjum Are the paths updated in your .bashrc? Also make sure that you source your .bashrc before you launch the setup?

cd
source .bashrc
Muzaib95Anjum commented 4 years ago

@mzahana let me check again then tell you the situation.

mzahana commented 4 years ago

@Muzaib95Anjum I just noticed that there are few steps missing in the setup.sh file. I will update it.

Muzaib95Anjum commented 4 years ago

@mzahana okay when you update the the file kindly do notify.

mzahana commented 4 years ago

@Muzaib95Anjum setup.sh file is updated. Kindly re-run it and check.

Muzaib95Anjum commented 4 years ago

@mzahana okay checking it.

mzahana commented 4 years ago

Also make sure that the end of your .bashrc looks like the following

source /opt/ros/melodic/setup.bash
source /home/arrow/catkin_ws/devel/setup.bash
source ~/Firmware/Tools/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware/Tools/sitl_gazebo
export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/home/arrow/catkin_ws/src/px4_fast_planner/models

Note that your home folder name can be different.

Also make sure that

source $HOME/catkin_ws/devel/setup.bash

is before all the export lines.

Muzaib95Anjum commented 4 years ago

@mzahana okay thanks i am re running it.

mzahana commented 4 years ago

If your issue is solved please close it.

Muzaib95Anjum commented 4 years ago

@mzahana i have re runned the file and after this command roslaunch px4_fast_planner px4_fast_planner.launch these errors are listed:

... logging to /home/muzaib/.ros/log/8ac84420-bfb5-11ea-91fb-54ab3ae22b7e/roslaunch-Lenovo-V310-15ISK-5357.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag started roslaunch server http://Lenovo-V310-15ISK:38533/

SUMMARY

CLEAR PARAMETERS

PARAMETERS

NODES / camera_pose_publisher (px4_fast_planner/camera_pose_publisher.py) fast_planner_node (plan_manage/fast_planner_node) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) geometric_controller (geometric_controller/geometric_controller_node) mavros (mavros/mavros_node) rqt_reconfigure (rqt_reconfigure/rqt_reconfigure) rvizvisualisation (rviz/rviz) sitl (px4/px4) tf_camera (tf/static_transform_publisher) traj_msg_converter (px4_fast_planner/trajectory_msg_converter.py) traj_server (plan_manage/traj_server) vehicle_spawn_Lenovo_V310_15ISK_5357_7201448473956089106 (gazebo_ros/spawn_model) waypoint_generator (waypoint_generator/waypoint_generator) world_map_linker (tf/static_transform_publisher)

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

setting /run_id to 8ac84420-bfb5-11ea-91fb-54ab3ae22b7e process[rosout-1]: started with pid [5378] started core service [/rosout] process[world_map_linker-2]: started with pid [5386] process[tf_camera-3]: started with pid [5387] ERROR: cannot launch node of type [px4/px4]: Cannot locate node of type [px4] in package [px4]. Make sure file exists in package path and permission is set to executable (chmod +x) process[gazebo-5]: started with pid [5398] process[gazebo_gui-6]: started with pid [5403] process[vehicle_spawn_Lenovo_V310_15ISK_5357_7201448473956089106-7]: started with pid [5408] process[mavros-8]: started with pid [5409] process[fast_planner_node-9]: started with pid [5410] process[traj_server-10]: started with pid [5412] process[waypoint_generator-11]: started with pid [5417] process[geometric_controller-12]: started with pid [5427] process[rqt_reconfigure-13]: started with pid [5430] process[camera_pose_publisher-14]: started with pid [5434] process[traj_msg_converter-15]: started with pid [5435] process[rvizvisualisation-16]: started with pid [5438] [ INFO] [1594059704.238122743]: FCU URL: udp://:14540@localhost:14557 [ INFO] [1594059704.246192999]: udp0: Bind address: 0.0.0.0:14540 [ INFO] [1594059704.246332989]: udp0: Remote address: 127.0.0.1:14557 [ INFO] [1594059704.246491125]: GCS bridge disabled [ INFO] [1594059704.294175661]: Plugin 3dr_radio loaded [ INFO] [1594059704.300580186]: Plugin 3dr_radio initialized [ INFO] [1594059704.300948356]: Plugin actuator_control loaded [ INFO] [1594059704.313296778]: Plugin actuator_control initialized [ INFO] [1594059704.317570200]: Plugin adsb loaded [ INFO] [1594059704.327994246]: Plugin adsb initialized [ INFO] [1594059704.328231945]: Plugin altitude loaded [ INFO] [1594059704.333555721]: Plugin altitude initialized [ INFO] [1594059704.333810118]: Plugin cam_imu_sync loaded [ INFO] [1594059704.337134773]: Plugin cam_imu_sync initialized [ INFO] [1594059704.337374773]: Plugin command loaded [ INFO] [1594059704.357393246]: Plugin command initialized [ INFO] [1594059704.357625138]: Plugin companion_process_status loaded hit: 0.619039 miss: -0.619039 min log: -1.99243 max: 2.19722 thresh log: 1.38629 [ INFO] [1594059704.379226005]: Plugin companion_process_status initialized [ INFO] [1594059704.379429320]: Plugin debug_value loaded [ INFO] [1594059704.414871201]: Plugin debug_value initialized [ INFO] [1594059704.415029391]: Plugin distance_sensor blacklisted [ INFO] [1594059704.415243853]: Plugin fake_gps loaded [ INFO] [1594059704.470497239]: Plugin fake_gps initialized [ INFO] [1594059704.470755389]: Plugin ftp loaded [ INFO] [1594059704.492654804]: Plugin ftp initialized [ INFO] [1594059704.492914146]: Plugin global_position loaded [ INFO] [1594059704.541828995]: Plugin global_position initialized [ INFO] [1594059704.542060286]: Plugin gps_rtk loaded [ INFO] [1594059704.548399238]: Plugin gps_rtk initialized [ INFO] [1594059704.548649588]: Plugin hil loaded [ INFO] [1594059704.582129546]: Plugin hil initialized [ INFO] [1594059704.582383771]: Plugin home_position loaded [ INFO] [1594059704.591473112]: Plugin home_position initialized [ INFO] [1594059704.591713203]: Plugin imu loaded [ INFO] [1594059704.633062406]: Plugin imu initialized [ INFO] [1594059704.633325766]: Plugin landing_target loaded [ INFO] [1594059704.710566627]: Plugin landing_target initialized [ INFO] [1594059704.710828121]: Plugin local_position loaded [ INFO] [1594059704.742924701]: Plugin local_position initialized [ INFO] [1594059704.743165244]: Plugin log_transfer loaded [ INFO] [1594059704.758540254]: Plugin log_transfer initialized [ INFO] [1594059704.758812260]: Plugin manual_control loaded [ INFO] [1594059704.765133180]: Plugin manual_control initialized [ INFO] [1594059704.765380925]: Plugin mocap_pose_estimate loaded [ INFO] [1594059704.785122846]: Plugin mocap_pose_estimate initialized [ INFO] [1594059704.785456238]: Plugin mount_control loaded [ INFO] [1594059704.800483944]: Plugin mount_control initialized [ INFO] [1594059704.800715532]: Plugin obstacle_distance loaded [ INFO] [1594059704.804805702]: Plugin obstacle_distance initialized [ INFO] [1594059704.805061602]: Plugin odom loaded [ INFO] [1594059704.823334670]: Plugin odom initialized [ INFO] [1594059704.823568689]: Plugin onboard_computer_status loaded [ INFO] [1594059704.830478579]: Plugin onboard_computer_status initialized [ INFO] [1594059704.830735243]: Plugin param loaded [ INFO] [1594059704.845938988]: Plugin param initialized [ INFO] [1594059704.846084038]: Plugin px4flow loaded [ INFO] [1594059704.860394160]: Plugin px4flow initialized [ INFO] [1594059704.860565082]: Plugin rangefinder blacklisted [ INFO] [1594059704.860754730]: Plugin rc_io loaded [ INFO] [1594059704.880090159]: Plugin rc_io initialized [ INFO] [1594059704.880244735]: Plugin safety_area blacklisted [ INFO] [1594059704.880436798]: Plugin setpoint_accel loaded [ INFO] [1594059704.883804521]: Plugin setpoint_accel initialized [ INFO] [1594059704.884060047]: Plugin setpoint_attitude loaded [ INFO] [1594059704.902430662]: Plugin setpoint_attitude initialized [ INFO] [1594059704.902678500]: Plugin setpoint_position loaded [ INFO] [1594059704.936384694]: Plugin setpoint_position initialized [ INFO] [1594059704.936653904]: Plugin setpoint_raw loaded [ INFO] [1594059704.976500764]: Plugin setpoint_raw initialized [ INFO] [1594059704.976749763]: Plugin setpoint_trajectory loaded [ INFO] [1594059704.990373521]: Plugin setpoint_trajectory initialized [ INFO] [1594059704.990693251]: Plugin setpoint_velocity loaded [ INFO] [1594059705.031320866]: Plugin setpoint_velocity initialized [ INFO] [1594059705.031579472]: Plugin sys_status loaded [ INFO] [1594059705.081508347]: Plugin sys_status initialized [ INFO] [1594059705.081937292]: Plugin sys_time loaded [ INFO] [1594059705.096134314]: TM: Timesync mode: MAVLINK [ INFO] [1594059705.103766710]: Plugin sys_time initialized [ INFO] [1594059705.103992710]: Plugin trajectory loaded [ INFO] [1594059705.131770312]: Plugin trajectory initialized [ INFO] [1594059705.132013739]: Plugin vfr_hud loaded [ INFO] [1594059705.133958635]: Plugin vfr_hud initialized [ INFO] [1594059705.134019394]: Plugin vibration blacklisted [ INFO] [1594059705.134136288]: Plugin vision_pose_estimate loaded [ INFO] [1594059705.170399094]: Plugin vision_pose_estimate initialized [ INFO] [1594059705.170543293]: Plugin vision_speed_estimate loaded [ INFO] [1594059705.192105483]: Plugin vision_speed_estimate initialized [ INFO] [1594059705.192268712]: Plugin waypoint loaded [ INFO] [1594059705.216331762]: Plugin waypoint initialized [ INFO] [1594059705.216393337]: Plugin wheel_odometry blacklisted [ INFO] [1594059705.216518275]: Plugin wind_estimation loaded [ INFO] [1594059705.219204316]: Plugin wind_estimation initialized [ INFO] [1594059705.219266162]: Autostarting mavlink via USB on PX4 [ INFO] [1594059705.219417413]: Built-in SIMD instructions: SSE, SSE2 [ INFO] [1594059705.219451325]: Built-in MAVLink package version: 2020.6.6 [ INFO] [1594059705.219493696]: Known MAVLink dialects: common ardupilotmega ASLUAV autoquad icarous matrixpilot paparazzi slugs standard uAvionix ualberta [ INFO] [1594059705.219521839]: MAVROS started. MY ID 1.240, TARGET ID 1.1 [ INFO] [1594059705.333032618]: Finished loading Gazebo ROS API Plugin. [ INFO] [1594059705.337210940]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... libGL error: failed to create drawable libGL error: failed to create drawable libGL error: failed to create drawable libGL error: failed to create drawable rviz: /build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/OgreGLSupport.cpp:56: virtual void Ogre::GLSupport::initialiseExtensions(): Assertion `pcVer && "Problems getting GL version string using glGetString"' failed. [ INFO] [1594059705.772355186]: Finished loading Gazebo ROS API Plugin. [ INFO] [1594059705.776171128]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting... [rvizvisualisation-16] process has died [pid 5438, exit code -6, cmd /opt/ros/melodic/lib/rviz/rviz -d /home/muzaib/catkin_ws/src/px4_fast_planner/rviz/rviz.rviz name:=rvizvisualisation log:=/home/muzaib/.ros/log/8ac84420-bfb5-11ea-91fb-54ab3ae22b7e/rvizvisualisation-16.log]. log file: /home/muzaib/.ros/log/8ac84420-bfb5-11ea-91fb-54ab3ae22b7e/rvizvisualisation-16.log libGL error: failed to create drawable libGL error: failed to create drawable X Error of failed request: GLXBadContext Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 26 (X_GLXMakeContextCurrent) Serial number of failed request: 40 Current serial number in output stream: 40 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] [1594059706.133039, 0.000000]: Loading model XML from file /home/muzaib/catkin_ws/src/px4_fast_planner/models/iris_depth_camera/iris_depth_camera.sdf [INFO] [1594059706.159421, 0.000000]: Waiting for service /gazebo/spawn_sdf_model Aborted (core dumped) [gazebo-5] process has died [pid 5398, exit code 134, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/muzaib/catkin_ws/src/px4_fast_planner/worlds/outdoor_village.world name:=gazebo log:=/home/muzaib/.ros/log/8ac84420-bfb5-11ea-91fb-54ab3ae22b7e/gazebo-5.log]. log file: /home/muzaib/.ros/log/8ac84420-bfb5-11ea-91fb-54ab3ae22b7e/gazebo-5.log

RVIZ opened and closed immediately and Gazebo has no models!!

mzahana commented 4 years ago

How does your .bashrc look like? Did you source it before you launch? Also expect Gazebo to take some time the first time you run the setup as it downloads worrd models

Muzaib95Anjum commented 4 years ago

My .bashrc

source /opt/ros/melodic/setup.bash source /home/muzaib/catkin_ws/devel/setup.bash source ~/Firmware/Tools/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware/Tools/sitl_gazebo export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/home/muzaib/catkin_ws/src/px4_fast_planner/models

Yes i sourced it when opened new terminal source .bashrc

mzahana commented 4 years ago

you need to also have

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware/Tools/sitl_gazebo
Muzaib95Anjum commented 4 years ago

This is my .bashrc

source /opt/ros/melodic/setup.bash source /home/muzaib/catkin_ws/devel/setup.bash source ~/Firmware/Tools/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware/Tools/sitl_gazebo export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/home/muzaib/catkin_ws/src/px4_fast_planner/models

mzahana commented 4 years ago

I am not sure why are you crossing source ~/Firmware/Tools/setup_gazebo.bash /Firmware /Firmware/build/px4_sitl_default export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/Firmware export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/Firmware/Tools/sitl_gazebo

are they not included in your bashrc?

Muzaib95Anjum commented 4 years ago

@mzahana i am not crossing them when i paste them from terminal it gets crossed. Yes they are included in my .bashrc. And Gazebo is opened with the world but i cant see the drone in it. And rviz is not opened also kindly guide.

mzahana commented 4 years ago

I am not sure what your issue is here. The setup seems correct. Are you able to launch PX$ SITL alone?

Muzaib95Anjum commented 4 years ago

@ i have run the command roslaunch px4_fast_planner px4_fast_planner.launch it opened the following

But i cant see the drone in the Simulation and Rviz opened and immediately closed.. This is i am assking..

mzahana commented 4 years ago

Can you run ?

cd ~/Firmware
make px4_sitl_default gazebo
Muzaib95Anjum commented 4 years ago

@mzahana Yes i ran and gazebo opened with empty world and a Drone

mzahana commented 4 years ago

That means PX4 SITL is compiled and successfully. Then, I see no reason why the setup should not work.

mzahana commented 4 years ago

I just notice that your .bashrc is not correct. The Firmware folder should be in home i.e. ~/Firmware, and the correct .bashrc should point to ~/Firmware not /Firmware

Muzaib95Anjum commented 4 years ago

@mzahana the project is started to work Fine now Thank you for your cooperation.

DavidLlantenC commented 3 years ago

Hello! I am new to ROS and Linux. Right now I am doing research that requires the use of them. When trying to run the ORB_SLAM2_CUDA project on a jetson nano, but I have an error specified as follows:

Resource not found: the following package was not found in : ORB_SLAM2_CUDA ROS path [0] = / opt / ros / melodic / share / ros ROS path [1] = / opt / ros / melodic / share / The traceback for the exception was written to the log file

I don't know what to do to fix this error. I would appreciate your cooperation.

mzahana commented 3 years ago

@DavidLlantenC Hi!

Unfortunately, this is not the right place for your question. It's better to ask on the corresponding repository issue tracker.

Tanmaywankhede07 commented 2 years ago

Hello !!..i'm trying to the simulation but it's show the same like @Muzaib95Anjum and my .bashrc looks like . .

source /opt/ros/melodic/setup.bash source /home/tanmay/catkin_ws/devel/setup.bash export PATH=/usr/lib/ccache:$PATH export GAZEBO_MODEL_PATH=~/ardupilot_gazebo/model source ~/Firmware/Tools/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Firmware/Tools/sitl_gazebo export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/home/tanmay/catkin_ws/src/px4_fast_planner/models . . . And the error shown in the terminal is Resource not found: The following package was not found in : mavlink_sitl_gazebo ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/home/tanmay/catkin_ws/src ROS path [2]=/opt/ros/melodic/share The traceback for the exception was written to the log file

Tanmaywankhede07 commented 2 years ago

And after adding /opt/ros/melodic/share to .bashrc, I'm getting this error . . WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag started roslaunch server http://tanmay-Nitro-AN515-54:39111/

SUMMARY

CLEAR PARAMETERS

PARAMETERS

NODES / camera_pose_publisher (px4_fast_planner/camera_pose_publisher.py) fast_planner_node (plan_manage/fast_planner_node) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) geometric_controller (geometric_controller/geometric_controller_node) mavros (mavros/mavros_node) rqt_reconfigure (rqt_reconfigure/rqt_reconfigure) rvizvisualisation (rviz/rviz) sitl (px4/px4) tf_camera (tf/static_transform_publisher) traj_msg_converter (px4_fast_planner/trajectory_msg_converter.py) traj_server (plan_manage/traj_server) vehicle_spawn_tanmay_Nitro_AN515_54_7906_5010508217689179395 (gazebo_ros/spawn_model) waypoint_generator (waypoint_generator/waypoint_generator) world_map_linker (tf/static_transform_publisher)

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

setting /run_id to 29cae2ea-30a7-11ec-946a-b89a2a729232 process[rosout-1]: started with pid [7928] started core service [/rosout] process[world_map_linker-2]: started with pid [7932] process[tf_camera-3]: started with pid [7933] ERROR: cannot launch node of type [px4/px4]: Cannot locate node of type [px4] in package [px4]. Make sure file exists in package path and permission is set to executable (chmod +x) process[gazebo-5]: started with pid [7934] process[gazebo_gui-6]: started with pid [7939] process[vehicle_spawn_tanmay_Nitro_AN515_54_7906_5010508217689179395-7]: started with pid [7944] process[mavros-8]: started with pid [7945] ERROR: cannot launch node of type [plan_manage/fast_planner_node]: Cannot locate node of type [fast_planner_node] in package [plan_manage]. Make sure file exists in package path and permission is set to executable (chmod +x) ERROR: cannot launch node of type [plan_manage/traj_server]: Cannot locate node of type [traj_server] in package [plan_manage]. Make sure file exists in package path and permission is set to executable (chmod +x) ERROR: cannot launch node of type [waypoint_generator/waypoint_generator]: Cannot locate node of type [waypoint_generator] in package [waypoint_generator]. Make sure file exists in package path and permission is set to executable (chmod +x) ERROR: cannot launch node of type [geometric_controller/geometric_controller_node]: Cannot locate node of type [geometric_controller_node] in package [geometric_controller]. Make sure file exists in package path and permission is set to executable (chmod +x) process[rqt_reconfigure-13]: started with pid [7950] process[camera_pose_publisher-14]: started with pid [7952] process[traj_msg_converter-15]: started with pid [7953] process[rvizvisualisation-16]: started with pid [7957] Traceback (most recent call last): File "/home/tanmay/catkin_ws/src/px4_fast_planner/scripts/trajectory_msg_converter.py", line 11, in from quadrotor_msgs.msg import PositionCommand # for Fast-Planner ImportError: No module named quadrotor_msgs.msg [traj_msg_converter-15] process has died [pid 7953, exit code 1, cmd /home/tanmay/catkin_ws/src/px4_fast_planner/scripts/trajectory_msg_converter.py name:=traj_msg_converter log:=/home/tanmay/.ros/log/29cae2ea-30a7-11ec-946a-b89a2a729232/traj_msg_converter-15.log]. log file: /home/tanmay/.ros/log/29cae2ea-30a7-11ec-946a-b89a2a729232/traj_msg_converter-15.log [FATAL] [1634625508.472151975]: UAS: GeographicLib exception: File not readable /usr/share/GeographicLib/geoids/egm96-5.pgm | Run install_geographiclib_dataset.sh script in order to install Geoid Model dataset! ================================================================================REQUIRED process [mavros-8] has died! process has finished cleanly log file: /home/tanmay/.ros/log/29cae2ea-30a7-11ec-946a-b89a2a729232/mavros-8.log Initiating shutdown!

[rvizvisualisation-16] killing on exit [rqt_reconfigure-13] killing on exit [camera_pose_publisher-14] killing on exit [mavros-8] killing on exit [vehicle_spawn_tanmay_Nitro_AN515_54_7906_5010508217689179395-7] killing on exit [gazebo_gui-6] killing on exit [gazebo-5] killing on exit [tf_camera-3] killing on exit [world_map_linker-2] killing on exit Traceback (most recent call last): Traceback (most recent call last): File "/opt/ros/melodic/lib/gazebo_ros/spawn_model", line 34, in File "/home/tanmay/catkin_ws/src/px4_fast_planner/scripts/camera_pose_publisher.py", line 7, in from tf.transformations import quaternion_from_euler import tf File "/opt/ros/melodic/lib/python2.7/dist-packages/tf/init.py", line 30, in File "/opt/ros/melodic/lib/python2.7/dist-packages/tf/init.py", line 30, in from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/init.py", line 41, in File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/init.py", line 41, in from .buffer_client import from .buffer_client import File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/buffer_client.py", line 40, in File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/buffer_client.py", line 40, in import actionlib import actionlib File "/opt/ros/melodic/lib/python2.7/dist-packages/actionlib/init.py", line 28, in File "/opt/ros/melodic/lib/python2.7/dist-packages/actionlib/init.py", line 28, in from actionlib.action_client import File "/opt/ros/melodic/lib/python2.7/dist-packages/actionlib/action_client.py", line 51, in from actionlib.action_client import File "/opt/ros/melodic/lib/python2.7/dist-packages/actionlib/action_client.py", line 51, in ''' KeyboardInterrupt
''' KeyboardInterrupt Traceback (most recent call last): File "/opt/ros/melodic/lib/rqt_reconfigure/rqt_reconfigure", line 5, in from rqt_reconfigure.main import main File "/opt/ros/melodic/lib/python2.7/dist-packages/rqt_reconfigure/main.py", line 36, in from rqt_reconfigure.param_plugin import ParamPlugin File "/opt/ros/melodic/lib/python2.7/dist-packages/rqt_reconfigure/param_plugin.py", line 35, in from rqt_gui_py.plugin import Plugin File "/opt/ros/melodic/lib/python2.7/dist-packages/rqt_gui_py/plugin.py", line 33, in from qt_gui.plugin import Plugin as Base File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/plugin.py", line 31, in from python_qt_binding.QtCore import QObject File "/opt/ros/melodic/lib/python2.7/dist-packages/python_qt_binding/init.py", line 55, in from .binding_helper import loadUi, QT_BINDING, QT_BINDING_MODULES, QT_BINDING_VERSION # @UnusedImport File "/opt/ros/melodic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 276, in getattr(sys, 'SELECT_QT_BINDING_ORDER', None), File "/opt/ros/melodic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 108, in _select_qt_binding QT_BINDING_VERSION = binding_loader(required_modules, optional_modules) File "/opt/ros/melodic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 155, in _load_pyqt _named_optional_import('PyQt5.%s' % module_name) File "/opt/ros/melodic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 142, in _named_optional_import _named_import(name) File "/opt/ros/melodic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 133, in _named_import module = builtins.import(name) KeyboardInterrupt [rosout-1] killing on exit [master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done @mzahana

abdouakhad commented 2 years ago

Well in my case I just rebooted the computer with sudo reboot now after installing px4 dependencies and everything works finally

AlexWUrobot commented 1 year ago

I have the same issue after install zsh terminal. I solve it by delete the build and devel folder and then catkin build again. After that, I close the terminal and reopen the the terminal. Then. it works