1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 00:05:28 +03:00
Commit graph

7313 commits

Author SHA1 Message Date
Konstantin Sharlaimov
40a95d8e3a
Merge pull request #3207 from iNavFlight/agh_sport_gps_sensor_when_configured
Send GPS related sensors via S.Port even without a fix
2018-05-13 15:31:00 +10:00
Konstantin Sharlaimov
c917540e6a
Merge pull request #3206 from iNavFlight/agh_fix_fport_sensor_lost
Make SmartPort sensors rest a cycle out of every 3
2018-05-13 14:16:01 +10:00
Alberto García Hierro
f665972fb3 Send GPS related sensors via S.Port even without a fix
Check for feature(FEATURE_GPS) rather than for a GPS fix. This lets
users perform the sensor discovery step without having a GPS fix.

To still allow users to notice if the GPS has stopped working, we
check that either the craft has never been armed or we do have a GPS
fix. This way the sensor is available on startup, but if it stops
working mid-flight the user will get a "sensor lost" alarm.
2018-05-13 00:17:12 +01:00
Alberto García Hierro
3625f0583d Make SmartPort sensors rest a cycle out of every 3
Fixes #3198
2018-05-12 23:17:48 +01:00
Paweł Spychalski
fd790f1235
Merge pull request #3191 from iNavFlight/dzikuvx-stage2-fir2-gyro-filter
Port of FIR2 second stage gyro filter from Betaflight
2018-05-12 10:11:44 +02:00
Konstantin Sharlaimov
d934460623
Merge pull request #3184 from nyway/master
Add new target DALRCF405
2018-05-12 12:59:40 +10:00
Pawel Spychalski (DzikuVx)
78396808aa debug for stage2 filter 2018-05-10 22:03:12 +02:00
Pawel Spychalski (DzikuVx)
2d0f76e7e2 fixed FIR2 filter initialization call 2018-05-10 21:55:22 +02:00
Konstantin Sharlaimov
0dce1907c4
Merge pull request #3183 from iNavFlight/agh_home_reset
Add new parameter for controlling home position reset
2018-05-10 00:34:12 +10:00
Konstantin Sharlaimov
8a849496fb
Merge pull request #3178 from iNavFlight/agh_osd_map
Add support for OSD map mode
2018-05-10 00:15:09 +10:00
Pawel Spychalski (DzikuVx)
edcccd01e4 Port of FIR2 second stage gyro filter from Betaflight 2018-05-09 13:10:20 +02:00
Paweł Spychalski
0df71589aa
Merge pull request #3187 from iNavFlight/dzikuvx-servo-gimbal-feature-removed
Feature SERVO_TILT removed
2018-05-09 11:18:39 +02:00
Pawel Spychalski (DzikuVx)
bc6beb9f22 Docs updated 2018-05-09 08:34:49 +02:00
Pawel Spychalski (DzikuVx)
969825f53d Gimbal mode removed. If needed, this can be recreated using mixer itself 2018-05-09 08:20:12 +02:00
Paweł Spychalski
d739e12b7a
Merge pull request #3188 from iNavFlight/dzikuvx-unused-function-removed
Forgotten function removed
2018-05-08 22:07:56 +02:00
stronnag
60b305c8dd
Merge pull request #3172 from iNavFlight/jh_gcc_8_dev
gcc 8 support
2018-05-08 16:44:07 +01:00
Pawel Spychalski (DzikuVx)
e28e7c6965 Forgotten function removed 2018-05-08 15:25:50 +02:00
Pawel Spychalski (DzikuVx)
392e31a9a5 Feature SERVO_TILT removed 2018-05-08 15:14:41 +02:00
Alberto García Hierro
b9d710aa27 Add support for OSD map mode
Draws the home centered, while the craft moves around. There are
2 available maps: one with the North pointing up and another one
with the takeoff direction pointing up.
Maps support arbitrary elements over them, as long as it doesn't
overlap the home at the center nor the direction indicator at the
top right nor the scale indicator at the bottom left (all of them
are fixed size). This allows users to customize how their maps
look with additional info that they might find useful (e.g. altitude
or distance to home).
2018-05-08 10:43:01 +01:00
Alberto García Hierro
daec1b9aff Add navigationGetHomeHeading()
Returns the heading for the home point, as recorded when home was
stored. Note that it won't work properly on FW without a mag yet,
since we'll need to adjust the value after we acquire a valid
heading.
2018-05-08 10:12:19 +01:00
Alberto García Hierro
f8f31f3d33 Add displayReadCharWithAttr()
Allows reading back a character from the display if the driver
supports it. For now, only the MAX7456 supports it.
2018-05-08 10:12:19 +01:00
Paweł Spychalski
2aac86663d
Merge pull request #3119 from iNavFlight/dzikuvx-channel-forwarding-removed
Remove feature channel forwarding
2018-05-08 10:10:20 +02:00
Konstantin Sharlaimov
d5f3309fb7
Merge pull request #3167 from shellixyz/update_msp_output_mapping
Update MSP2_INAV_OUTPUT_MAPPING to exclude inputs
2018-05-08 15:22:41 +10:00
Konstantin Sharlaimov
b3fb69af79
Merge pull request #3169 from shellixyz/add_pitch_and_roll_attitude_angle_in_osd
Add pitch and roll attitude angles in OSD
2018-05-08 15:02:33 +10:00
ZhengNingwei
c74658130e Add new target DALRCF405
Add new target DALRCF405.
The code has been compiled and tested.
The DALRCF405 described here:
http://www.dalrcmodel.com/DALRC/plus/view.php?aid=184

This board use the STM32F405RGT6 microcontroller and have the following features:

* 1024K bytes of flash memory,192K bytes RAM,168 MHz CPU/210 DMIPS

* The 16M byte SPI flash for data logging

* USB VCP and boot select button on board(for DFU)

* Stable voltage regulation,9V/2A DCDC BEC for VTX/camera etc.And could select 5v/9v with pad

* Serial LED interface(LED_STRIP)

* VBAT/CURR/RSSI sensors input

* Suppose IRC Tramp/smart audio/FPV Camera Control/FPORT/telemetry

* Supports SBus, Spektrum1024/2048, PPM. No external inverters required (built-in).

* Supports I2C device extend(baro/compass/OLED etc)

* Supports GPS
2018-05-08 09:27:37 +08:00
Alberto García Hierro
954ae18086 Add new parameter for controlling home position reset
Add new inav_reset_home setting with the same possible values and
semantics as inav_reset_altitude (as suggested by @stronagg),
but with a default value of EACH_ARM to keep backwards compatibility.

Fixes #3143
2018-05-08 00:35:33 +01:00
Michel Pastor
d7f77f75bc Add pitch and roll attitude angles in OSD 2018-05-07 23:28:27 +02:00
Jonathan Hudson
90ab77af2f gcc8: further tidy up obsolete casts and macros 2018-05-07 21:15:27 +01:00
Pawel Spychalski (DzikuVx)
6af9abe759 Docs for channel forwarding 2018-05-07 19:45:25 +02:00
Jonathan Hudson
7370926c5c Merge branch 'jh_gcc_8_dev_fp' into jh_gcc_8_dev 2018-05-07 18:06:06 +01:00
Jonathan Hudson
fff7ba2793 gcc8: modify cms data defintions to be gcc8 safe 2018-05-07 18:05:25 +01:00
Konstantin Sharlaimov
81dd2f3c0e
MSP opflow and rangefinder drivers (#3164)
* Add MSP optic flow and MSP rangefinder sensors
* Relax condition to lock on flow
* Opflow alignment support
2018-05-07 21:49:41 +10:00
Jonathan Hudson
a0a025ba2c Merge branch 'development' into jh_gcc_8_dev 2018-05-07 11:59:53 +01:00
Alberto García Hierro
23b1b84cee
Merge pull request #3173 from iNavFlight/agh_home_symbol
Prepend a home icon to the home distance in the OSD
2018-05-07 08:27:39 +01:00
Paweł Spychalski
15cbf082f8
Merge pull request #3175 from iNavFlight/jh_fix_cli_md_align_board
update Cli documentation for board align units
2018-05-07 08:18:23 +02:00
Paweł Spychalski
daee5455ed
Merge pull request #3176 from MDM63/development
Fixed Vagrantfile, again.
2018-05-07 08:17:44 +02:00
MDM63
ceebc22d9a Add Building in Vagrant.md 2018-05-07 00:22:17 +03:00
MDM63
6ac81f0148 Fixed Vagrant file, again. 2018-05-07 00:05:55 +03:00
Jonathan Hudson
fcb16851cd gcc8: correct comment for saCmsORFreqGetString pragma 2018-05-06 17:38:03 +01:00
Jonathan Hudson
8f932eb560 update Cli documentation for board align units 2018-05-06 17:29:53 +01:00
Jonathan Hudson
035c6b33df gcc8: suppress function pointer warnings with #pragmas 2018-05-06 17:26:25 +01:00
Jonathan Hudson
505b712c56 remove unused size from pgResetFunc (gcc8 -Wcast-function-type) 2018-05-06 12:06:22 +01:00
Alberto García Hierro
47f45eb988 Prepend a home icon to the home distance in the OSD 2018-05-06 10:56:31 +01:00
Konstantin Sharlaimov
39de8c5a2b
Merge pull request #3166 from shellixyz/add_vbat_cell_detect_voltage
Replace vbat_max_cell_voltage by the new vbat_cell_detect_voltage setting for detecting number of battery cells
2018-05-06 18:13:27 +10:00
Konstantin Sharlaimov
05a9be3a60
Merge pull request #3163 from iNavFlight/de_fix_trip_distance
Fix trip distance not shown without current sensor
2018-05-06 10:56:18 +10:00
Michel Pastor
ae6896c519 Update MSP2_INAV_OUTPUT_MAPPING to exclude inputs 2018-05-06 02:34:28 +02:00
Michel Pastor
49b3444088 Replace vbat_max_cell_voltage by the new vbat_cell_detect_voltage setting for detecting number of battery cells 2018-05-06 01:56:14 +02:00
Jonathan Hudson
d91a9a1176 initial attempt at gcc 8 2018-05-05 21:05:56 +01:00
Konstantin Sharlaimov (DigitalEntity)
1635d3c36d Fix trip distance not shown without current sensor 2018-05-05 20:33:18 +10:00
Konstantin Sharlaimov
9f353355ac
Merge pull request #3161 from teckel12/te_new_omnibusf4pro_pic
Updated image for Omnibus F4 Pro (PWMs on connector now correct order)
2018-05-05 17:05:40 +10:00