Closed fatburg3r closed 2 years ago
Hello @fatburg3r Did u manage to find a solution to this issue? Because I am facing the exact same problem rn 😅 Thanks in advance!
I didn't figure out what was wrong, I got it working on the second try but not on the third. Not sure if this will help, but here's the end of my .bashrc file.
# for ros1 noetic
source /opt/ros/noetic/setup.bash
source ~/ros_workspace/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/syuant/Firmware/Tools/sitl_gazebo/models
I solved it by this way, based on Ubuntu 18.04 and Python 3.6 https://discuss.px4.io/t/mavros-posix-sitl-launch-is-neither-a-launch-file-in-package-px4-nor-is-px4-a-launch-file-name/30522 https://docs.px4.io/main/en/simulation/ros_interface.html
Hey @fatburg3r, did you find a solution for this : https://discuss.px4.io/t/failed-to-use-mavlink-mav-cmd-set-message-interval/28921 I’m having exactly the same problem as you do
Hi, I'm a beginner and just started learning px4 and mavros. I wanted to launch a python script obtained from the px4 User Guide website. https://docs.px4.io/main/en/ros/mavros_offboard_python.html
I created a ros package (package_px4), python script file (position.py), launch file (start.launch). As per the website, I added
at the end of the .bashrc file.
I tried to source the .bashrc file but the terminal gave me this output.
When I tried launching the script
roslaunch package_px4 start.launch
, I still got this errorAny ideas on why this is happening? Thanks in advance.