1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-19 06:15:14 +03:00

WIP: 2D position controller

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-04-13 16:39:28 +02:00
parent f933381d18
commit eff264f515
2 changed files with 57 additions and 3 deletions

View file

@ -203,6 +203,9 @@ bool adjustFixedWingHeadingFromRCInput(void)
static fpVector3_t virtualDesiredPosition;
static pt1Filter_t fwPosControllerCorrectionFilterState;
/*
* TODO Currently this function resets both FixedWing and Rover & Boat position controller
*/
void resetFixedWingPositionController(void)
{
virtualDesiredPosition.x = 0;