drone_controller is a ROS package which controls drone through mavros.
- ROS package MAVROS
- Python Package Jetson.GPIO, paho.mqtt,
- Pixhawk 4 connected with usb
- Dcmotor connected with GPIO
- clone repository to your catkin_ws/src folder
- make scripts/MQTT.py executable with command
chmod +x MQTT.py - build node with catkin_make command
- run with command
rosurn drone_controller MQTT.py