monemati / PX4-ROS2-Gazebo-YOLOv8

Aerial Object Detection using a Drone with PX4 Autopilot and ROS 2. PX4 SITL and Gazebo Garden used for Simulation. YOLOv8 used for Object Detection.
78 stars 10 forks source link

drone cant take off #7

Open Meriem-ghrissi opened 2 months ago

Meriem-ghrissi commented 2 months ago

when running the last command (ros2 run px4_ros_com offboard_control )on the terminal i get command send but the drone never moves

monemati commented 2 months ago

@Meriem-ghrissi Hi. Are you getting any errors in the terminals?

Meriem-ghrissi commented 2 months ago

hello, thank you for replying. no i am getting no errors in the terminal but the drone never moves

monemati commented 2 months ago

@Meriem-ghrissi Hello. Be sure you are getting the pxh> INFO [commander] Ready for takeoff! message in your px4 terminal then run other controlling commands.

Meriem-ghrissi commented 2 months ago

yes i am getting this on terminal pxh> INFO [commander] Ready for takeoff!

monemati commented 2 months ago

@Meriem-ghrissi Then everything should be fine, if it is only from ros side you can try to reinstall it (Install ROS 2).