Open Daidalos92 opened 1 year ago
Which version of px4 are you running?
I git cloned the v1.9.2 tag from the main PX4 repository.
@Daidalos92 I no longer remember how it was done in v1.9.2
You can check whether px4 is on the ROS_PACKAGE_PATH
Otherwise, Ubuntu 16.04 is is EOL and I recommend you to update your setup
@Jaeyoung-Lim Hi thanks for your help, I realised the architecture is a bit different in the version im using in that instead of Firmware/Tools/simulation/gazebo/sitl_gazebo, my sitl_gazebo is in the directory Firmware/Tools/sitl_gazebo. rospack find mavros_sitl_gazebo shows
rospack find mavlink_sitl_gazebo
/home/offboard/src/Firmware/Tools/sitl_gazebo
I no longer get that error when trying to launch the sitl but i now faced another error ResourceNotFound: gazebo_ros
. Do i need to install the gazebo_ros package from source?
No you should have access to gazebo_ros through your package manager.
However, since Ubuntu 16.04 is end of life, I am not sure whether this is still available
I encountered the following error when running the
roslaunch px4 posix_sitl.launch
command from the PX4 SITL tutorial. I am running on ubuntu 16.04 ROS kinetic. anyone encountered similar errors or know any possible causes for it? i have already sourced and exported the paths as per below. I am able to run theno_sim=1 make px4_sitl_default gazebo
as per normal.