1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00
Commit graph

52 commits

Author SHA1 Message Date
breadoven
7547d67eae Merge remote-tracking branch 'upstream/master' into abo_acro_attitude_hold 2023-10-13 10:53:43 +01:00
Ray Morris
a2a18257e8 IPF: Yaw operand 2023-09-29 22:55:31 -05:00
shota
e108558601 add MIXER_TRANSITION_ACTIVE OPERAND 2023-09-26 22:12:50 +09:00
breadoven
32fcb13823 Revert "remove attimode, add acro stabilise"
This reverts commit 6f2c501431.
2023-09-22 21:30:27 +01:00
breadoven
6f2c501431 remove attimode, add acro stabilise 2023-09-19 22:21:10 +01:00
breadoven
221d8fe3ad fixes + telemetry 2023-09-14 15:20:43 +01:00
shota
203bb2a471 mixer and pid profile linking 2023-06-30 04:01:01 +09:00
Darren Lines
881bfafb22 Update Flight Mode operand in programming framework
- Add `ACRO` to `FLIGHT_MODE` operand
- Add `WAYPOINT_MISSION` to `FLIGHT_MODE` operand
- Update functionality of `COURSE_HOLD` as currently it will still be active if `CRUISE` is active
- Update Programming Framework.md document
2023-01-28 09:10:29 +00:00
Darren Lines
ba8da95562 Merge branch 'master' into MrD_Enhance-programming-options-for-waypoint-missions 2023-01-03 12:49:52 +00:00
Darren Lines
812308a482 Add ability to check actions on next WP 2022-12-19 13:01:32 +00:00
Darren Lines
10dc8d91dc Updates with tested code and docs
Fixed typo
Updated document
Finished & tested LCs for:
- Delay
- Timer
- Delta
- Approx. Equal
2022-12-01 19:36:35 +00:00
Darren Lines
026e40c297 Added some more logic
Added delay, almost equal, and timer. Not yet tested.
2022-12-01 13:41:21 +00:00
Darren Lines
63652aa4dd Removed comments for old IDs 2022-11-25 18:44:06 +00:00
Darren Lines
1ca3527f92 Added EDGE switch to Logical Conditions 2022-11-24 18:37:34 +00:00
Darren Lines
7e51f1ff5d Initial code 2022-11-24 13:38:11 +00:00
Darren Lines
b2ad70329b fixed initial code and added more
Now working:
- Distance to WP
- Distance from WP
- User actions 1 to 4
2022-11-23 22:39:22 +00:00
Darren Lines
7115d03276 add distance to WP
needs testing ... and compiling even. Coding at work is blind xD
2022-11-23 13:35:18 +00:00
Darren Lines
775a080768 Initial code
This will break LCs backwards compatibility. But a small conversion tool will be simple to make.
2022-11-22 13:40:36 +00:00
Darren Lines
fca5a0eac7 Add PINIO 3 & 4
There are plenty of flight controllers around now that use PINIO 1 and 2 internally for camera switching and switchable VTx power. This left no scope for user definable PINIO. A friend wanted to control a Caddx Peanut on such an FC. So I have implemented USER 3 and USER 4 PINIO options. Also in the PR is the target that was created for my friend.
2022-09-17 08:41:39 +01:00
Michel Pastor
da521b0fde
Add USER3 mode (#8276) 2022-08-01 17:56:14 +02:00
Pawel Spychalski (DzikuVx)
27480b32d1 Optimize memory for better alignment 2022-07-01 14:22:11 +02:00
Darren Lines
eda26f085f Fixed typos 2022-05-24 08:35:30 +01:00
Darren Lines
ddcb695224 Increase Logic Conditions to 64 2022-05-10 10:24:54 +01:00
Pawel Spychalski (DzikuVx)
2557dc0f40 Add rangefinder operands 2022-04-22 12:06:10 +02:00
Pawel Spychalski (DzikuVx)
68c47e7c09 Allow Angle target overrides 2022-04-12 08:55:36 +02:00
Pawel Spychalski (DzikuVx)
8be0247dec Add the new logic conditions definitions 2022-04-06 11:18:53 +02:00
Luca
b8cf0272e9 battery cells in logic condition 2022-02-09 17:51:56 +01:00
Darren Lines
2f00540c60 Removed constrain min and max as they are unnecessary 2022-02-07 08:30:56 +00:00
Darren Lines
bdc83e4e0e Added some comparative operations
Added comparative operations for constraints, min, and max.
2022-02-06 18:09:12 +00:00
Darren Lines
fedfa7a8d7 fixed a little comma that slipped through 2021-10-28 18:39:46 +01:00
Darren Lines
787e9a76b2 Merge branch 'master' into change-profiles-with-programming 2021-10-28 18:37:24 +01:00
Darren Lines
bd4c4da4ca changes for conflict resolution 2021-10-28 18:26:51 +01:00
Darren Lines
b66caae07a Adding loiter radius to programming
Adding a loiter radius override to the programming. This change allows pilots to change their loiter radius on the fly. The minimum loiter radius will always be that set in Advanced Tuning, for safety. The maximum radius is 100000cm.

As part of this change, I increased the min and max constraints of the basic maths conditions. The were set to int16, however operands can be int32. Before the change, this caused clipping of the radius when performing basic calculus on it.
2021-09-22 22:32:56 +01:00
Darren Lines
0f9c6cd8df Renamed PID Profiles to Profiles 2021-09-16 09:35:19 +01:00
Darren Lines
51d5df1690 Added PID Profiles to Programming framework
## Added PID Profiles to Programming framework
This allows setting the profile and getting the active profile in the programming framework.
2021-09-09 10:24:57 +01:00
Michel Pastor
56286c1698
Add CRUISE mode which is equivalent to CRSH+AH (#6904) 2021-05-04 19:52:27 +02:00
Darren Lines
2d07330d42
Update logic_condition.h
Added GPS Valid Fix to flight parameters
2021-03-27 10:17:09 +00:00
Mingchen Zhang
cce8345d90 move the modulus to the last entry 2021-03-12 02:14:22 +00:00
Mingchen Zhang
2eecf30603 Add modulus operator support 2021-03-11 08:12:49 +00:00
Tim O'Brien
0b13c2cd8d Adds heading target logic condition
- allows for a slider/global-var to set the desired heading
- addresses issue #6642
2021-02-24 14:04:05 -08:00
Pawel Spychalski (DzikuVx)
416f6470b9 Merge branch 'master' into dzikuvx-lc-rc-channels-override 2021-01-19 10:41:53 +01:00
Pawel Spychalski (DzikuVx)
d32fe6dea5 Move PID gains to UINT16 instead of UINT8. Keep it compatible on the MSP level 2020-12-04 20:38:34 +01:00
Pawel Spychalski (DzikuVx)
9dea44a4da Allow Logic Conditions to override RC channels 2020-11-25 08:39:31 +01:00
Pawel Spychalski (DzikuVx)
29d56bab36 LC Operands update 2020-11-08 15:51:52 +01:00
Alexander van Saase
d17bfc67e3 Add logic condition for 3D home distance based on Pythagorean theorem. 2020-10-19 22:30:23 +02:00
Pawel Spychalski (DzikuVx)
f565b9ae4d Ability to read current waypoint index as part of LC 2020-09-21 10:51:17 +02:00
Pawel Spychalski (DzikuVx)
9714f05368 New functions: sin, cos, tan and range scaling 2020-09-07 14:39:31 +02:00
Pawel Spychalski (DzikuVx)
03a014d0e1 Bump the number of logic conditions to 32 2020-07-31 10:30:16 +02:00
Pawel Spychalski (DzikuVx)
893e532f8b Merge branch 'master' into dzikuvx-logic-condition-global-function-unification 2020-07-23 10:15:17 +02:00
Pawel Spychalski (DzikuVx)
827ac04950 Unify Global Functions and Logic Conditions into single entity 2020-07-22 21:53:54 +02:00