Open Sunyuzxy opened 2 years ago
How did you fixed it?
I have the issue too. Did you fixed it?
Ubuntu 18.04 ROS melodic I already source devel/setup.zsh, but I have a similar issue.
I solve it by put the whole package installing with PX4-Autopilot. Then, catkin build again Then, source Then, check the package "mavlink_sitl_gazebo" exists by using "rospack list-names"
Hi You can solve this by running the following commands:
source ~/catkin_ws/devel/setup.bash
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo
Assuming, that you are running the command from the PX4 SITL folder. You can change the relative path if you want.
My environment is as below: Ubuntu18.04 Ros melodic PX4 v1.10.1 I set up my environment as the instructions in PX4 website and your README.md, however there is some error as below:
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/sy/catkin_ws/src/mavros_apriltag_tracking
ROS path [2]=/home/sy/can_module/src
ROS path [3]=/opt/ros/melodic/share
The traceback for the exception was written to the log file
Can you give me a hand please?