Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

PX4io_v1 fix current sensor ADC #8

Open
wants to merge 77 commits into
base: master
Choose a base branch
from

Conversation

totaltmega
Copy link

--UPDATE-- Sorry about the mess, the only commit to consider is this: totaltmega@c08af34
Please read last comment on that commit.


PX4io_v1 current sensor adc was not defined …

ADC_IBATT had to be defined instead of ADC_IN5 for adc to work.

I have test flown this and it works.

LorenzMeier and others added 30 commits January 7, 2014 16:42
this seems to avoid a problem where the mpu6000 doesn't startup
correctly if other devices are transferring at the same time.
this helps tracking down a startup issue
…ws to warn users about badly formatted PPM frames
Andrew Tridgell and others added 24 commits January 20, 2014 16:20
this allows the balance between PWM channels and GPIOs to be changed
after the main flight code has started, which makes it possible to
change the balance with a parameter in APM
this fixes two bugs in "hmc5883 calibrate" and also makes it much
faster, so it can be run on every boot. It now uses the correct 2.5Ga
range when calibrating, and fixes the expected values for X/Y/Z axes

The basic calibration approach is similar to the APM2 driver, waiting
for 10 good samples after discarding some initial samples. That allows
the calibration to run fast enough that it can be done on every boot
without causing too much boot delay.
this adds a 0.1s delay after update to give px4io time to boot. It
removes the need for the user to reboot after an IO update
this reports sudden changes in D1, useful for diagnosing temperature
related issues
this solves the ms5611 issue related to temperature. We now need to
test if it is OK with all sensors
Define ADC_IBAT instead of ADC_IN5
This reverts commit 9833402.
ADC_IBATT had to be defined instead of ADC_IN5 for adc to work.
this allows the FMU to force the safety off on the IO board. Useful in
two cases:

 1) vehicles where the safety switch is impractical or not useful
 (eg. HAB planes or internal combustion motors)

 2) doing ESC calibration on multi-copters
this allows the safety switch on px4io to be forced off
holds power supply state and 5V rail voltage on FMUv2
the slope seems to be reasonably consistent between sensors
report both a raw (signed) and non-raw (unsigned) differential
pressure. The signed value needs to be used for calibration to prevent
a bias at low airpeeds if the tubes are reversed
this is useful for testing for filesystem corruption on cluster
boundaries
this allows a normal GPS cable to be used for the 2nd GPS, making
dual-GPS setups easier
and add current output in "hmc5883 info"
tridge pushed a commit that referenced this pull request Oct 29, 2014
rmackay9 pushed a commit to rmackay9/PX4Firmware that referenced this pull request May 25, 2015
read serial device to obtain manual control setpoint
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants