mavros_controllers icon indicating copy to clipboard operation
mavros_controllers copied to clipboard

Setting up the control in the firmware itself

Open SafalRaj10 opened this issue 1 year ago • 1 comments

Hey, I wanted to know how do I configure it to work onboard itself, needless of the mavlink protocol. I am this issue facing: root@97f3a2417c4c:/px4/PX4-Autopilot# roslaunch geometric_controller sitl_trajectory_track_circle.launch ... logging to /root/.ros/log/5c9e6964-99ac-11ef-8dc7-0242ac110002/roslaunch-97f3a2417c4c-9941.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.

Resource not found: px4 ROS path [0]=/opt/ros/noetic/share/ros ROS path [1]=/root/catkin_ws/src/catkin_simple ROS path [2]=/root/catkin_ws/src/mavros_controllers/controller_msgs ROS path [3]=/root/catkin_ws/src/eigen_catkin ROS path [4]=/root/catkin_ws/src/mavros_controllers/geometric_controller ROS path [5]=/root/catkin_ws/src/mav_comm/mav_comm ROS path [6]=/root/catkin_ws/src/mav_comm/mav_msgs ROS path [7]=/root/catkin_ws/src/mav_comm/mav_planning_msgs ROS path [8]=/root/catkin_ws/src/mav_comm/mav_state_machine_msgs ROS path [9]=/root/catkin_ws/src/mav_comm/mav_system_msgs ROS path [10]=/root/catkin_ws/src/mavros_controllers/mavros_controllers ROS path [11]=/root/catkin_ws/src/mavros_controllers/trajectory_publisher ROS path [12]=/opt/ros/noetic/share The traceback for the exception was written to the log file I have all the necessary files sourced, still...

SafalRaj10 avatar Nov 03 '24 06:11 SafalRaj10

@SafalRaj10 You can follow the guide here: https://docs.px4.io/main/en/sim_gazebo_classic/

Jaeyoung-Lim avatar Nov 03 '24 14:11 Jaeyoung-Lim