Commit Graph

66 Commits

Author SHA1 Message Date
Nffj84 147213cec6 Added server side code. 2024-07-25 17:49:30 +03:00
Tuomas Järvinen 8e88cb6fe1 Initial version of combining rtsp_ai_player and camera modules.
Functionality has been written to rtsp_ai_player.

TODO!!
- move functionality of camera module misc/rtsp_ai_player/aienginegimbalserver.cpp
- implement all signals in AiEngineGimbalClient
- get drone position from autopilot and send it to AiEngineGimbalServer
2024-07-18 22:04:09 +02:00
Tuomas Järvinen 7c802106c7 Improve taking off in Autopilot
MAVSDK/ArduPilot never reached take-off altitude. Added simple logic to
start the mission when 90% of set take-off altitude has been reached.

Type: Improvement
Issue: https://denyspopov.atlassian.net/browse/AZ-22
2024-07-17 19:19:02 +02:00
Nffj84 2b9bda1ff0 Added new target location algorithm.
Fixed issue with target altitude calculation.
2024-07-16 18:15:10 +03:00
Tuomas Järvinen 46ad1f0ff7 Added Qt API suggestion for AI and camera interaction. 2024-07-15 21:58:38 +02:00
Oleksandr Bezdieniezhnykh e75da8f826 fix drone type checking 2024-07-15 19:41:27 +03:00
Tuomas Järvinen c708e40cff Minor fixes to README.md file in rtsp_ai_player. Part 2 2024-07-14 20:20:36 +02:00
Tuomas Järvinen ce2b31a388 Minor fixes to README.md file in rtsp_ai_player 2024-07-14 20:16:30 +02:00
Tuomas Järvinen 2ed17c3953 Fixed README.md file in rtsp_ai_player 2024-07-14 20:11:56 +02:00
Tuomas Järvinen 43344365e3 Minor fixed to README.md file in rtsp_ai_player 2024-07-14 19:54:46 +02:00
Tuomas Järvinen 8a7d681e5b Renamed opi_player as rtsp_ai_player 2024-07-14 19:52:45 +02:00
Tuomas Järvinen 813251b170 Fully working YOLOv8 detection with ONNX runtime. 2024-07-14 18:08:05 +02:00
Tuomas Järvinen 78cfe484b1 Added get_yolo_mode.sh scripts which gets the model and converts it to onnx 2024-07-10 20:23:39 +02:00
Tuomas Järvinen 683f2d538b Chaneges to opi_rtsp test application
- refactoring
  - can use normal YOLOv8 files converted to ONNX format
  - does not work with azaion ONNX files!
2024-07-10 19:53:19 +02:00
Tuomas Järvinen 3d39d8fd99 Fully working opi_rtsp on PC with YOLOv8 ONNX models 2024-07-10 18:37:33 +02:00
Tuomas Järvinen 896307d296 Resize input image to 640x640 for ONNX inference in RTSP demo app. 2024-07-09 21:11:23 +02:00
Tuomas Järvinen 607ac22b46 Fixed PC build to work with ONNX Yolov10 files 2024-07-09 20:34:21 +02:00
Tuomas Järvinen c4af0cc461 Print Telemetry::Health all the time 2024-07-04 16:56:06 +03:00
Tuomas Järvinen 7e4c43dec9 Fixes for A8 remote control. Added logging messages 2024-07-04 16:40:00 +03:00
Tuomas Järvinen 989fd314f2 Fixed opi_rtsp to use network module 2024-07-04 15:51:04 +03:00
Tuomas Järvinen 0bec8369e3 Minor fixes to A8 to keep GCC happy 2024-07-04 15:27:31 +03:00
Nffj84 89c68aeb67 Changed FIFO pipes to UDP. 2024-07-04 15:20:48 +03:00
Tuomas Järvinen 5af90ac918 Fixed segfault if system was not found Autopilot 2024-07-04 14:27:50 +03:00
Tuomas Järvinen aae3e87116 Added minimal UDP client and server examples 2024-07-04 13:51:29 +03:00
Tuomas Järvinen f4027094f1 Compile opi_rtsp as only command line app 2024-07-04 13:51:29 +03:00
Nffj84 67c2b41986 Removed debug printing. 2024-07-04 13:33:07 +03:00
Nffj84 f419d69dab Minor changes. 2024-07-04 13:31:28 +03:00
Nffj84 d377a626e2 Added better handling for command line parameters 2024-07-04 12:33:32 +03:00
Tuomas Järvinen ed53266ca3 Minor build fixes for OPI5 2024-07-04 12:11:05 +03:00
Your Name ad58ac34b8 Added check how many MAVSDK systems are available. 2024-07-04 12:03:43 +03:00
Nffj84 c69a7628c2 Removed unnesessary files. 2024-07-04 11:53:58 +03:00
Nffj84 25c8f6c605 Small improvements. 2024-07-04 11:29:39 +03:00
Your Name dfe3c7c561 Add support for A8 remote control to opi_rtsp test app 2024-07-04 11:02:18 +03:00
Nffj84 a14e463989 Added small sleep after reading pipe. 2024-07-03 18:40:13 +03:00
Nffj84 f77e2d3661 Removed blocking code from a8 and a8 remote. 2024-07-03 18:16:59 +03:00
Your Name df6352fe92 Addd initial AiEngineGimbalControl class 2024-07-03 17:03:12 +03:00
Your Name 2d94fd576f Fully working OPI5 and Azaion AI object recognition 2024-07-03 17:03:12 +03:00
Your Name 831aeda21d Added support for OPI5 build 2024-07-03 17:03:12 +03:00
Nffj84 0b4b2f9f10 Added sendData function call to remote main.
Commented out more things that are currently not needed.
2024-07-03 16:10:24 +03:00
Nffj84 3e0841b0ca Hard coded values to target location until real values are available.
Added function for remote which AI can call.
2024-07-03 15:59:11 +03:00
Nffj84 f2dc975d9f Minor improvements 2024-07-03 13:10:27 +03:00
Nffj84 16bb7b2929 Removed build folder. 2024-07-02 13:31:56 +03:00
Nffj84 b39e58dbc1 Refactored a8 codes and added remote testing app a8_remote. 2024-07-02 11:31:12 +03:00
Your Name c03d477c45 New threaded RTSP and AI image recognition. 2024-07-01 14:36:55 +03:00
Tuomas Järvinen 0c37aa6116 Initial object recognition for an image, video and RTSP stream with YOLOv10. 2024-06-19 20:34:57 +02:00
Nffj84 db2652d979 Added functionality to calculate target location.
Added functionality to capture camera frame from RTSP stream.
Refactored code.
Fixed some minor issues.
2024-06-18 17:29:40 +03: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
Nffj84 33399370f3 Simple program to control Siyi A8 mini gimbal
Simple program to control Siyi A8 mini (actually some other Siyi cameras too).

Receiving responce sometimes gives error when checking CRC.
2024-05-26 12:56:51 +03:00
Tuomas Järvinen a8ba701138 Land drone safely
- improved landing
- navigate to the return point defined in JSON file
- land drone safely without timeouts

Issue: https://denyspopov.atlassian.net/browse/AZ-24
Type: New Feature
2024-05-23 20:17:54 +02:00
Tuomas Järvinen 542ca96d3e Improve use of MAVSDK::Action module
Added more logging.

Type: Improvement
Issue: https://denyspopov.atlassian.net/browse/AZ-19
2024-05-22 20:20:06 +02:00