Commit Graph

7 Commits

Author SHA1 Message Date
Tuomas Järvinen 54b7dc41ca Reduced and improved logging
- removed unnecessary logging
- print start date and time when application starts
- use std::cout instead of qDebug()
- better logging in DroneController classes
- renamed Controller states for better readability
2024-10-18 21:45:20 +02:00
Tuomas Järvinen 91257d0ce7 Added support for switching to AUTO mode in Autopilot.
When the application is started with the command parameter "plane", the
application uses the AzDroneControllerPlane class to control
initialisation. It doesn't arm or takeoff the drone. Instead, it waits
for the user to mode to AUTO (in Ardupilot, Mission in MAVSDK) with the
RC controller. When AUTO mode has been detected, the application will
start a normal mission handling.
2024-10-17 20:56:42 +02:00
Tuomas Järvinen 05722c0e09 Added initial support for the ArduPlane. Added mandatory command line options.
How to use ArduCopter:
  Launch simulator with command: "./Tools/autotest/sim_vehicle.py --map --console -v ArduCopter"
  Launch autopilot with command: "./autopilot mission.json quadcopter udp"

How to use ArduPlane:
  Launch simulator with command: "./Tools/autotest/sim_vehicle.py --map --console -v ArduPlane"
  Wait 30 seconds and give following commands in the same terminal
    arm throttle
    mode takeoff
  Launch autopilot with command: "./autopilot mission.json plane udp"

Type: New Feature
2024-06-02 09:37:55 +02:00
Tuomas Järvinen ab791eb254 Improve use of MAVSDK::add_any_connection()
Added error printing and possibility to use UART as connection
to the flight controller.

Issue: https://denyspopov.atlassian.net/browse/AZ-16
Type: New Feature
2024-05-20 21:02:32 +02:00
Tuomas Järvinen b0b17d7fcc Improve comments in Autopilot
Issue: https://denyspopov.atlassian.net/browse/AZ-14
Type: Improvement
2024-05-19 19:49:39 +02:00
Tuomas Järvinen f832b9fc92 Initial version of ArduPilot compatible autopilot
- removed PX4 and MAVSDK git submodules
2024-05-12 22:42:52 +02:00
Tuomas Järvinen f7acface7f Initial version. Can fly simple mission defined in JSON file.
Please check README.md how to install dependencies and run the application.
2024-03-18 22:31:38 +01:00