Dominic Clifton
ebd5475a55
DISPLAY - Allow FC to boot normally if OLED display is not connected at
...
boot. FC can detect when the display is unplugged and recovers after
display I2C timeouts.
2015-04-18 20:13:46 +01:00
Dominic Clifton
a6dc7148c4
Change Profile display page so things fit better.
2015-03-28 19:20:21 +00:00
Dominic Clifton
74c605ab9b
Change Delta to 'Dt' on display so that larger delta times fit.
2015-03-28 19:16:51 +00:00
Dominic Clifton
704ace82ec
Reduce display update frequency to allow more CPU time for GPS frame
...
processing when unarmed.
2015-03-28 18:55:18 +00:00
Dominic Clifton
4746b336b9
Tweak to GPS page to show when Space Vehicle updates are received via a
...
ticker next to the bargraphs which updates each time SV info is
received.
Some code-size improvements optimizations could be done.
2015-03-10 23:01:06 +00:00
Dominic Clifton
b595b49ca8
Decouple roll and pitch rates. MSP clients take note of updated
...
MSP_RC_TUNING/MSP_SET_RC_TUNING commands.
2015-03-07 15:11:20 +00:00
Dominic Clifton
b4e4684ac7
Avoid resetting page cycle index when re-enabling page cycling so that
...
it is possible to stop on a page, inspect it, and then resume cycling at
the point that it was stopped.
2015-02-22 14:42:43 +00:00
Dominic Clifton
e554f73f5c
Update the sensors page to show inclination, heading, estimated G and
...
the value for small angle. The latter is to help get field reports to
help with a problem where sometimes the aircraft won't arm because the
FC thinks it's tilted over too much.
2015-02-18 19:29:47 +00:00
Dominic Clifton
6de42dd0de
Display version on the OLED display.
2015-02-02 22:30:59 +00:00
Dominic Clifton
55cac2bdeb
Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
...
Relocate more code.
2015-02-01 00:39:38 +01:00
Dominic Clifton
8cc9e8ca37
More relocation of variables.
2015-02-01 00:03:46 +01:00
Pierre Hugo
be03ed95fa
Renamed min, max and abs macros to MIN MAX and ABS.
2015-01-23 22:40:00 -08:00
Dominic Clifton
947bb0d918
Minor code size reduction. Adding some const correctness.
2015-01-15 10:48:54 +00:00
Dominic Clifton
183c5f8e16
Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
...
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses. Needs
further investigation.
2014-12-21 23:40:48 +00:00
Dominic Clifton
d8b5f6c60c
GPS - Add satellite strength bargraphs to OLED display.
2014-12-13 21:58:54 +00:00
Dominic Clifton
9cc7a5aab1
DISPLAY - Skip GPS page if GPS is not enabled.
2014-12-13 19:40:19 +00:00
Dominic Clifton
9bcc0acd18
DISPLAY - Only compile in GPS page if GPS is enabled.
2014-12-13 19:37:27 +00:00
Dominic Clifton
ce6582b88a
GPS - remove temporary hack for fixing the OLED page to the GPS page.
...
Fix incorrect flag usage.
2014-12-13 03:45:39 +00:00
Dominic Clifton
27ae6fdb72
GPS - move debug code for gps OLED page around.
2014-12-13 02:19:49 +00:00
Dominic Clifton
20f32d632c
GPS - differenciate between timeouts and crc errors. Improve packet
...
logging. Cleanup UBLOX packet parsing.
2014-12-12 18:26:38 +00:00
Dominic Clifton
1d5c2fb13e
GPS - fix ubox maximum packet size comparisons. Increase UBlox buffer
...
size to work with Glonass MSG-SVINFO packets. Skip data from packets
that are too large to process without attempting to process a large
payout as packet data. Ignore GPS presence check when enabling
passthrough mode so that it is possible to configure a GPS unit via the
FC without the GPS unit actually having communicated to the FC first.
2014-12-12 16:32:26 +00:00
Dominic Clifton
6ce288063e
GPS - Add packet logging to the OLED display. Allow autobauding to be
...
enabled/disabled via cli (disabled by default now). Fix missing rate
configuration for UBLOX SVINFO which would have resulted in missing
satallite counts.
2014-12-12 14:43:59 +00:00
Dominic Clifton
2778ad0c5d
Fix gps error counter so that it is meaningful, it was being reset each
...
time the gps unit was reinitialised leading users to think there were no
GPS errors.
2014-12-11 16:31:14 +00:00
Dominic Clifton
80acc39a46
GPS page on the display to aid GPS outdoor testing.
2014-12-11 15:41:18 +00:00
Dominic Clifton
c364d971a0
Some OLED displays do not respond on the first initialisation so refresh
...
the display when the page changes in the hopes the hardware responds.
This also allows the user to power off/on the display or connect it
while powered.
2014-11-14 00:48:33 +00:00
Dominic Clifton
daef382dd9
Show rates on OLED rate display page.
...
Other minor display cleanups and improvements.
2014-11-13 01:51:36 +00:00
Dominic Clifton
f5a0f9d3b2
Update RX & Battery OLED pages.
...
RX page shows up to 14 channels.
Battery page shows current and capacity information.
2014-11-13 01:29:07 +00:00
Dominic Clifton
a6a72be0d2
Add a debug page to the OLED display.
2014-11-10 18:33:07 +00:00
Dominic Clifton
ef7f5321da
Add Profile OLED display page that shows the current profile and rate
...
profile.
2014-10-29 23:55:12 +00:00
Dominic Clifton
6b6df68fa7
DISPLAY - Fix ticker updating problem, line buffer was too short.
2014-09-22 19:27:50 +01:00
Dominic Clifton
c898ca4634
OLED Display - Add two pages: RX info and Welcome.
...
The RX info page shows channel letters and bar graphs for the first 8
channels.
The Welcome page shows the target and cleanflight git revision.
2014-09-21 05:09:01 +01:00
Dominic Clifton
0d37bcdf5b
Add DISPLAY feature to enable/disable the OLED display. Add ARMED page
...
which is displayed upon arming. Resume page cycling when disarmed.
2014-09-16 01:33:15 +01:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
853fdb20b1
Display sensor readings (acc/gyro/compass) and battery readings on OLED
...
screen.
2014-09-12 21:56:34 +01:00
Dominic Clifton
2e959dfd04
Make display support configurable per-target, enabled by default for
...
NAZE and EUSTM32F103RC.
2014-09-12 21:56:33 +01:00
Dominic Clifton
f29168a998
Working OLED in test mode.
2014-09-12 21:56:33 +01:00