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

File change tracker #72

Closed
wants to merge 48 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 20, 2023

No description provided.

loki077 and others added 30 commits August 21, 2023 11:48
This is a new battery type which reads data of 2 battery over I2C using an ADC I2C Extender.
Currently if the CAN data is stopped receiving AP_Periph will still remain in the last known ARM state.
Changes Made:
AP_Periph will Disarm if
1) A specific disarm command is received
2) no arming command and no ESC command receive for DISARM_DELAY period.
Implementation for Hirth. 
Base class - AP_EFI
WIP: Log functional
includes updates for TCA9554 pin mapping
Added driver for APD HVPro Telemetry feedback. Will be only compiled if added in hwdef
Added AP_ESC_HVPro and also removed ADSB support.
OV3-396 AP_Perip: AP_ESC_APDHVPro200 : Data type modified
OV3-396 AP_ESC_APDHVPro: Current, Voltage and Temperature values are changed from Int to Float
OV3-396 AP_ESC_APDHVPro: Add voltage calibration code
OV3-522 APDHVPro temporary CURRENT_COEFFICIENT
OV3-493 AP_ESC_Telem : revert current coef to 12.5
…meout

ARM Timeout: is changed to 2000 as it is now only scanning ARM signal which is arriving at 1Hz
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
ESC_Timeout: Fixes a periph continuing to drive an ESC to an output when the esc_rawcommand packets are lost
From now we don't need to edit the print command in AP_Periph .cpp
Have added a new variable "error_status" which is gets its value for HVPro.
This value is sent over can "ESC_Status" pkt replacing "error_count"
extract error_count pkt to error_status
    
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
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
1.  port->begin() handled
2. if ( > ESC_PACKET_SIZE * 2) then packets are discarded
3. last_read_ms is updated only if parse is successful
4. divide by '0' is handled
5. proceed only if fletcher checksum succeeds
Implemented CANH log section which includes - Health, Uptime and Delta of CAN devices

Update libraries/AP_UAVCAN/AP_UAVCAN_DNA_Server.h

Co-authored-by: Jono453 <[email protected]>
@loki077 loki077 closed this Nov 28, 2023
@robertlong13 robertlong13 deleted the feature/OV3-645-Ardupilot-4-3-stable-Tridge branch June 17, 2024 07:09
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.

5 participants