Martin Budden
d72b4e96c9
Separated out pidConfig_t items
2016-12-15 09:12:42 +00:00
Michael Keller
455e54e1c5
Added ESC passtrough to MSP (poc).
...
Fixed typo.
Cleanup.
Fixed indentation.
2016-12-13 15:25:32 +13:00
Bas Delfos
97ff8a154e
Bumped MSP api version to 0.1.23 and added length check to MSP_SET_VOLTAGE_METER_TYPE
2016-12-08 21:19:23 +01:00
Bas Delfos
f0eebb5cd0
Added battery meter type to end of MSP_(SET_)VOLTAGE_METER_CONFIG
2016-12-08 21:19:23 +01:00
Michael Keller
5e308669d4
Merge pull request #1762 from mikeller/make_msp_status_cleanflight_compatible
...
Make 'MSP_STATUS' compatible to implementation in cleanflight.
2016-12-08 23:48:16 +13:00
Martin Budden
41dda49b44
Added ability to display PIDs in OSD
2016-12-06 13:24:04 +00:00
mikeller
46a2560237
Make 'MSP_STATUS' compatible to implementation in cleanflight.
2016-12-06 23:43:35 +13:00
Martin Budden
06e871406e
Moved xx_hardware out of sensorSelectionConfig into config for specific sensor
2016-12-05 06:49:14 +00:00
Martin Budden
60e2227396
Moved alignment from sensor into device
2016-12-05 06:49:14 +00:00
Michael Jakob
46387c9dbe
Cleanup ENUM usage
2016-12-04 16:09:21 +01:00
borisbstyle
01968ff207
Merge pull request #1720 from TheAngularity/patch-1
...
flightmodebox only seen if it's defined and activated
2016-12-02 16:14:48 +01:00
Martin Budden
b8b9c95f57
Moved sensor global data into sensor_s structs
2016-12-01 17:47:17 +00:00
Martin Budden
fd5710051e
Merge pull request #1606 from martinbudden/bf_gyro_isr
...
Gyro initialisation refactoring
2016-12-01 18:43:43 +01:00
TheAngularity
6f43494a77
Update fc_msp.c
2016-12-01 16:52:35 +01:00
TheAngularity
2854bbbecd
flightmodebox only seen if it's defined and activated
2016-12-01 16:02:01 +01:00
Martin Budden
4498f58918
Added osdProfile, vcdProfile, sdcard, and blackbox config macros
2016-11-30 23:43:10 +00:00
Martin Budden
57a9393f5f
Added adc, beeper, sonar, and ledStrip config() macros
2016-11-30 23:37:23 +00:00
Martin Budden
086d1f731e
Added failsafe, serial, telemetry, ppm, and pwm config() macros
2016-11-30 23:11:53 +00:00
Martin Budden
c175d304c2
Added rx, arming, mixer, and airplane config() macros
2016-11-30 23:06:42 +00:00
Martin Budden
00338cb854
Added throttleCorrection, batter, rcControls, gpsProfile, and gps config() macros
2016-11-30 22:59:12 +00:00
Martin Budden
b19e439361
Merge pull request #1707 from betaflight/pid_config_init
...
Add PID config initialisation
2016-11-30 23:10:25 +01:00
Martin Budden
3ec46f1bd2
Added gyro, compass, acc, and baro config macros
2016-11-30 21:38:14 +00:00
Martin Budden
a9280d732a
Added sensor config macros
2016-11-30 21:30:57 +00:00
borisbstyle
4a0f678dec
Add PID config initialisation
2016-11-30 21:16:49 +01:00
Martin Budden
590e569375
Changed gyro init and read functions to take a gyro_t* parameter.
...
Scaled gyro values to degrees per second in gyroUpdate.
2016-11-30 16:59:55 +00:00
Martin Budden
dc9e773b02
Added flight3DConfig() macro
2016-11-30 11:46:20 +00:00
Martin Budden
6ccf11d518
Added motorConfig() macro
2016-11-30 11:44:29 +00:00
Michael Keller
a39df1cb86
Fixed setting of 3D deadband throttle to 1000.
2016-11-29 08:06:51 +13:00
Martin Budden
78e6130aab
Moved further gyro parameters into gyroConfig_t
2016-11-25 23:22:24 +00:00
Martin Budden
2c7d06a94e
Moved gyro filter settings into gyroConfig
2016-11-25 23:22:24 +00:00
Martin Budden
e9407f3065
Tidied initialisation, especially PID filters
2016-11-25 23:22:23 +00:00
Martin Budden
d85eed0933
Move freestanding masterConfig items into structs
2016-11-24 17:34:05 +00:00
Steffen Windoffer
f139c1bb49
remove duplicate break and return
2016-11-19 18:32:37 +01:00
Martin Budden
efd859f14d
Fixup OSD builds without MAX7456
2016-11-19 06:47:53 +00:00
Martin Budden
7c8d1967d0
Improved OSD & displayPort initialisation. Allowed nested screen grabbing
2016-11-19 06:47:53 +00:00
jflyper
062e8b7b26
MAX7456: Adjustable screen area position offsets
...
There are displays and goggles with slightly different timing
characteristics compared the standard ones. With such devices, screen
area may be too high or too low that top or bottom most characters may
be truncated.
This PR provides a way to adjust the screen area position so that
entire screen area can be shifted up or down, or left or right.
A new vcdProfile_t (VCD = Video Character Device) is defined and
video_system was moved from osdProfile also.
2016-11-16 23:30:10 +09:00
Martin Budden
93cab8805b
Call serial frame status functions via pointer rather than switch statement.
...
Added type specific serial build flags as per iNav for finer grain ROM size control for F1 targets.
Improved efficiency of rxUpdateCheck function.
2016-11-11 21:08:05 +00:00
Martin Budden
013455bb21
Fixed warnings in fc_msp.c
2016-11-10 17:53:07 +00:00
Martin Budden
020bbacf03
Minor code tidy for easier comparison with iNav
2016-11-10 10:11:25 +00:00
Martin Budden
8edcaeb42a
Minor code rearrangement for easier comparison with iNav
2016-11-10 07:00:19 +00:00
Martin Budden
a7a428a5bb
Code tidy and addition of GPL headers
2016-11-06 10:29:11 +00:00
jflyper
e9a2f2b2c1
Merge remote-tracking branch 'betaflight/master' into bfdev-osd-cms-separation-poc
2016-11-06 02:43:24 +09:00
blckmn
e56f915018
Moving LED strip to be configurable via resource command
2016-11-05 13:35:20 +11:00
jflyper
f58f7f65b1
Cleanups
2016-11-02 09:12:37 +09:00
jflyper
8816678333
Rebased on to master
2016-10-29 02:01:48 +09:00
jflyper
720a841008
More displayPort_t, CANVAS as new feature, multi-display cycling
...
- Further touch-ups with displayPort_t handling.
- CANVAS is a FEATURE now.
- Device specific xxxCmsInit() are registered by device’s init, and
called by CMS upon entry to menu.
- Multiple display devices can be cycled by entering menu invocation
command while in menu.
- The menu invocation command is (was) changed to THR-Mid + YAW-Left +
Pitch-Full to avoid collision with MWOSD menu invocation command.
- More separation attempt.
2016-10-28 13:22:28 +09:00
gaelj
431295ab21
Enable using of any RC channel to set the color hue modifier.
...
Can be set via MSP (bumped to version 22)
New CLI command: mode_color 7 0 AUX_Channel
AUX_Channel:
ROLL = 0
PITCH = 1
YAW = 2
THROTTLE = 3
AUX1 = 4
AUX2 = 5
AUX3 = 6
AUX4 = 7
AUX5 = 8
AUX6 = 9
AUX7 = 10
AUX8 = 11
Fixed CLI defaults printing for #1019 .
2016-10-28 11:31:16 +13:00
Michael Keller
0a4648c03e
Fixed motor value translation to / from MSP for DShot.
...
Fixed 'stopMotors' (used in 'HardfaultHandler' to actually stop motors with DShot. Also made 'disarmMotorOutput' used consistently.
Renamed functions to be more clear.
2016-10-27 08:31:00 +13:00
Martin Budden
58c85029d6
Removed unnecessary #includes
2016-10-26 05:15:26 +01:00
jflyper
482dbe316b
Rebased again ...
2016-10-26 03:22:12 +09:00