mavros_apriltag_tracking icon indicating copy to clipboard operation
mavros_apriltag_tracking copied to clipboard

roslaunch mavros_apriltag_tracking tracker.launch

Open Sunyuzxy opened this issue 2 years ago • 5 comments

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?

Sunyuzxy avatar Mar 17 '22 06:03 Sunyuzxy

How did you fixed it?

Soapen avatar Sep 08 '22 11:09 Soapen

I have the issue too. Did you fixed it?

Ethan-02 avatar Nov 09 '22 14:11 Ethan-02

Ubuntu 18.04 ROS melodic I already source devel/setup.zsh, but I have a similar issue. image

AlexWUrobot avatar Nov 11 '22 05:11 AlexWUrobot

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" image

AlexWUrobot avatar Nov 11 '22 06:11 AlexWUrobot

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.

bytesByHarsh avatar Mar 01 '23 10:03 bytesByHarsh