267 Commits

Autor SHA1 Mensagem Data
Christopher Pereira 805ca9e452 Fix motion bugs
- Fix landing sequence interruption (timerIgnoreMavLink)
- Fix MAV_CMD_NAV_TAKEOFF response (for MAVSDK compatibility)
- Fix rotation() calculation
- Fix yaw units
- Add isFlying to DummyProduct
- Call landing callback in DummyProduct
2025-01-09 12:51:34 -03:00
Christopher Pereira c0aa4105c7 Fix landed detetion 2024-12-07 17:56:32 -03:00
Christopher Pereira a091871c6c Fix button state on init 2024-12-07 17:56:20 -03:00
Christopher Pereira 22d94960a5 Fix yawRate radians to degrees conversion 2024-12-07 16:53:36 -03:00
Angel Ayala b45efd3b7f making public m_model in DroneModel.java 2024-09-20 08:45:16 +10:00
Angel Ayala cd7a3bc679 disconnect WebRTC clients on pause() 2024-08-29 12:20:32 -03:00
Angel Ayala f49076706c adding WebRTC user settings 2024-08-13 19:45:49 -03:00
Angel Ayala 08657de77c adding WebRTC user settings 2024-08-13 19:45:18 -03:00
Angel Ayala 02d4eb2587 cleaning code and fix codec for WebRTC video streaming 2024-08-13 14:21:48 -03:00
Angel Ayala a9a397a2d3 first working WebRTC video streaming 2024-08-11 17:29:01 -03:00
Angel Ayala 9d3787719b WebRTC video stream draft 2024-08-07 23:58:54 -03:00
Angel Ayala c5489fc425 first attempt for WebRTC video stream 2024-08-07 19:05:47 -03:00
Jarasłaŭ Viktorčyk b02e7b6c94 maintain video feed aspect ratio 2024-05-18 16:15:47 +02:00
Jarasłaŭ Viktorčyk 3d4ffd58f9 automatically align elements in the top bar 2024-05-18 15:26:56 +02:00
Jarasłaŭ Viktorčyk a6f76b2c7b put MainActivity into fullscreen 2024-05-18 15:26:56 +02:00
Jarasłaŭ Viktorčyk 759dc765a2 keep aspect ratio of ui elements 2024-05-18 15:26:40 +02:00
Christopher Pereira e5ac3aabce Fix: https://github.com/RosettaDrone/rosettadrone/issues/167 2023-06-01 19:39:23 -04:00
Christopher Pereira 2fd8efc870 Fixed altitude bug (wrong MAV_FRAME) in MissionManager 2023-06-01 19:34:28 -04:00
Christopher Pereira 2f3c0d4870 Added 4th telemetry port option 2023-06-01 19:33:14 -04:00
Christopher Pereira 311ef83403 Update DroneModel.java
- Added DEBUG_MOTION flag
- Increased miniPIDHeading param
- Ignore yawError when detecting waypoint reached
- set takeOffLocation once takeoff and ascend finished (GPS signal is better in the sky)
2023-06-01 19:32:32 -04:00
Christopher Pereira 4d4c6e2b73 Fix https://github.com/RosettaDrone/rosettadrone/issues/158 2023-04-13 11:20:19 -04:00
Christopher Pereira 5f4b744e01 Improved plugin interface
Re-enabled some AI9Tek custom code
2023-04-12 15:56:21 -04:00
Christopher Pereira 4fb380f68e Removed some unused resources 2023-04-12 15:52:53 -04:00
Christopher Pereira b3bab6ab62 Better home icon 2023-04-12 15:43:23 -04:00
Christopher Pereira f3b016f665 Moved old custom AI code to AI9tek plugin > missionFinished() 2023-04-12 14:24:33 -04:00
Christopher Pereira 52c46e2b11 Commented logging 2023-04-11 22:17:00 -04:00
Christopher Pereira feac5688e6 Fix PID oscillations
- Fix https://github.com/RosettaDrone/rosettadrone/issues/155
- Added doReturnToLaunch()
2023-04-11 20:00:49 -04:00
Christopher Pereira 84600f70c3 Implemented velocity ignore masks 2023-04-11 00:43:32 -04:00
Christopher Pereira 0db7eed9c6 Update RawVideoStreamer.java 2023-04-11 00:42:52 -04:00
Christopher Pereira 0fc505d424 Add stop() method to plugin interface
Start and stop RawVideoStreamer TestSender
2023-04-10 23:51:21 -04:00
Christopher Pereira 3de4c11939 Ensure correct altitude
- use newMotion (it is safer)
- Cleaned and commented code
- Added debug info
- Minor optimizations
- Fixed setVirtualSticksEnabled(false)
2023-04-10 21:52:10 -04:00
Christopher Pereira d58a212f32 Fixed bug preventing TakeOff and other commands for systemId = 0 2023-04-09 22:38:18 -04:00
Christopher Pereira 3af7161fab Set "video_mode = 2" for DJI MINI 2 2023-04-09 20:33:11 -04:00
Christopher Pereira 48fe7dffa0 More AI9Tek code
Moved onMapReady()
2023-04-09 20:11:06 -04:00
Christopher Pereira a75a635026 Separated AI9Tek plugin
- Moved custom code to AI9Tek plugin (probably broke, requires revision)
- Extended plugin interface
- Hide AI menu (was causing confusion) and old Waypoints menu (one should be enough)
2023-04-09 20:01:33 -04:00
Christopher Pereira edea733bf6 Update DummyProduct.java
Use real dt
2023-04-07 22:12:30 -04:00
Christopher Pereira 5815c30a1a Use mFlightController everywhere 2023-04-05 23:05:49 -04:00
Christopher Pereira 45f92e13b7 Fixed response to MAVLINK_MSG_ID_PARAM_REQUEST_READ when parameter doesn't exist 2023-04-05 21:17:29 -04:00
Christopher Pereira 00a0618a3e Prevent null flightController
- Close MainActivity if FlightController is null
- Added timerIgnoreMavLink: Timer to ignore MAVLink motion commands while user is moving the RC Joystick
- Cancel tasks and disable VirtualSticks when enabling SafeMode
2023-04-05 21:13:16 -04:00
Christopher Pereira e20d589d9a Fixed indentation 2023-04-05 19:24:51 -04:00
Christopher Pereira 973df33734 Added timestamp and yaw to RawVideoStreamer
- Added test code
2023-04-05 15:38:58 -04:00
Christopher Pereira d650b50f13 Close https://github.com/RosettaDrone/rosettadrone/issues/139 2023-04-03 14:44:32 -04:00
Christopher Pereira 4b4f8341cb Re-added binary files 2023-04-03 14:39:54 -04:00
Christopher Pereira c8ca59e4b3 Rewrote ConnectionActivity
- Fixed many connection and reconnection issues
- Fixed wrong product information displayed
- Show 3 buttons
- Removed image customizations
- Cleaned code
2023-04-03 11:45:53 -04:00
Christopher Pereira 8a7789ac5b Allow vertical orientation for ConnectionActivity 2023-04-03 11:16:51 -04:00
Christopher Pereira c953da1a57 Delete app/src/main/cpp/lib/armeabi-v7a directory 2023-04-03 10:21:23 -04:00
Christopher Pereira 3533aca4a3 Delete app/src/main/cpp/lib/arm64-v8a directory 2023-04-03 10:21:14 -04:00
Paweł Kotiuk 28b3b9492d Add missing dependency
This one is required for building APK file
2023-04-03 08:31:38 +02:00
Christopher Pereira 34063f9e06 Removed other ffmpeg binaries
To fix https://github.com/RosettaDrone/rosettadrone/issues/141
2023-04-01 19:24:22 -03:00
Christopher Pereira cee7c0511f Changed test code to test reconnecting 2023-04-01 00:14:11 -03:00