Below is the Result of using ros2 node to move the drone


IMG_4692.MOV

p.s. below code line is example of how to build specific package instead of the whole workspace (takes for ever…if you have a lot of stuff in your works stace RIP)

cd ~/ros2_ws
colcon build --packages-select my_package

Download (MAVROS,PX4,….etc) before you start

refer to the below page, download all the stuff mentioned and do the homework (commander takeoff in px4, and receiving MAVROS position topics)

2025. 9.23 VTOL 자율비행 세미나

-Once we are done with the seminar homework we can move on to using ROS python codes to move drones


⚠️p.s. (if you encounter ros2: command not found or something similar, you proabably didn’t source it. Don’t forget that you have to source ros2 and your workspace refer to below page

Making Workspace

1) Create (or reuse) your package

If you already have ~/ros2_ws/src/mavros_waypoints/, skip to step 2.