Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cherry pick carbopilt440 #77

Merged
merged 3 commits into from
Nov 22, 2023
Merged

Conversation

loki077
Copy link
Contributor

@loki077 loki077 commented Nov 21, 2023

Other Cherry Picks from Ottano dev

Few more are left but non critical
CAN logging
OV3-463 ESC_STATUS pkt
OV3-461 EFI and ESC Lua implementation

@loki077 loki077 force-pushed the feature/cherry-pick-carbopilt440 branch from a9153b7 to 2f0aad4 Compare November 21, 2023 05:42
ESC_Timeout: Fixes a periph continuing to drive an ESC to an output when the esc_rawcommand packets are lost

ARM Timeout: is changed to 2000 as it is now only scanning ARM signal which is arriving at 1Hz

Parameters added :
ESC timeout: Timeout defaults to 200ms. Timeout can be disabled by setting parameter to 0. Timeout should be configured to be able to handle at small number of missed packets.

ARM _Monitoring: dropped to be also cleared at ESC signal received
this allows for testing of a fwd motor or control surfaces while not
allowing for VTOL ESCs to run. This makes CAN actuators behave the
same as direct PWM actuators
@loki077 loki077 force-pushed the feature/cherry-pick-carbopilt440 branch from 2f0aad4 to b2bebe2 Compare November 21, 2023 23:04
this sets up the vwd integrator more reasonably when we are in
POSITION1 stage of VTOL landing. We need to have enough throttle to
cope with a headwind, but want it lower when we are at or above our
target closing speed so can minimise the amount of pitch up

This also makes the landing_desired_closing_velocity() consistent with
the landing speed used in approach, using average of airspeed min and
cruise speed if TECS_LAND_ARSPD is not set

The target airspeed for TECS during airbraking is now set to
ARSPD_FBW_MIN, on the basis we are trying to slow down to min speed,
and we have VTOL support which should prevent a stall.


To cope with a high headwind where ARSPD_FBW_MIN is below the headwind
we now check for too low achieved closing speed and switch to 
POSITION1 which can use vfwd to get to the landing location
@loki077 loki077 force-pushed the feature/cherry-pick-carbopilt440 branch from b2bebe2 to 82dbf51 Compare November 21, 2023 23:10
@loki077 loki077 requested a review from Jono453 November 21, 2023 23:46
Copy link
Contributor Author

@loki077 loki077 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done on my side

@loki077 loki077 merged commit 8269257 into CxPilot Nov 22, 2023
61 checks passed
@robertlong13 robertlong13 deleted the feature/cherry-pick-carbopilt440 branch June 17, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants