Commit Graph

19 Commits

Author SHA1 Message Date
Oleg Kalachev 49039f752d Refactor Wi-Fi log download
Use MAVLink LOG_REQUEST_DATA and LOG_DATA for download log instead of console.
Make Wi-Fi download default way of downloading the log.
Make `log` command only print the header and `log dump` dump the log.
2025-11-14 20:21:05 +03:00
Oleg Kalachev 0e6651ab82 Add Rate class for running the code at fixed rate 2025-11-06 13:41:33 +03:00
Oleg Kalachev e50a9d5fea Revert t variable type to float instead of double
For the sake of simplicity and consistency.
2025-10-19 20:46:38 +03:00
Oleg Kalachev 6b7601c0bd Improve vector and quaternion libraries
Make the order or basic methods consistent between Vector and Quaternion.
Remove `ZYX` from Euler method names as this is standard for robotics.
Rename angular rates to rotation vector, which is more correct.
Make rotation methods static, to keep the arguments order consistent.
Make `Quaternion::fromAxisAngle` accept Vector for axis.
Minor fixes.
2025-05-31 04:17:00 +03:00
Oleg Kalachev d60628e14d Support MAVLink console
Implement receiving and sending SERIAL_CONTROL message
Use global defined print function instead of Serial.printf
2025-02-18 10:33:01 +03:00
Oleg Kalachev 70f5186c1b Use double for storing time instead of float
Float precision may be not enough after some time of operating
2025-01-12 19:58:36 +03:00
Oleg Kalachev 7ae5457bb4 Improve logging code
Make it easer to add and remove log entries
2024-12-28 22:10:43 +03:00
Oleg Kalachev 455729fdb4 Improve log download: remove empty records, sort by timestamp
To make Plotjuggler not to warn about unsorted records everytime
2024-02-18 01:23:33 +03:00
Oleg Kalachev d2296fea76 Change C++ code style: put curly brace on the same line 2023-12-29 18:56:25 +03:00
Oleg Kalachev dbd413c234 Minor code cleanups and fixes 2023-11-12 10:51:56 +03:00
Oleg Kalachev a04d713157 Fix log period computation 2023-11-11 06:18:06 +03:00
Oleg Kalachev 8df71b078d Cleanups and minor changes 2023-11-11 06:17:50 +03:00
Oleg Kalachev 9eaa45c1d9 Consistently use defines to set parameters 2023-05-31 20:16:43 +03:00
Oleg Kalachev 39875cafb9 Remove non-effective statics 2023-05-31 20:12:45 +03:00
Oleg Kalachev c1aa0d9869 Store current time in float variable 2023-05-26 16:23:30 +03:00
Oleg Kalachev d6cca7dcf7 Some unification of the headers 2023-05-24 11:26:30 +03:00
Oleg Kalachev 52d19e6b11 Add attitude to log 2023-04-05 02:37:51 +03:00
Oleg Kalachev c7422d12a2 Fix logging pointer overflow check 2023-03-26 10:50:19 +03:00
Oleg Kalachev e039055c8e Initial commit 2023-03-26 10:23:30 +03:00