1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
Commit Graph

5595 Commits

Author SHA1 Message Date
Cliff Geerdes
1ade8b7f59 OP-1464 remove debug 2015-05-19 20:45:57 -04:00
Cliff Geerdes
de521c9004 OP-1464 tested version with debug still in place 2015-05-19 19:33:31 -04:00
Steve Evans
c3a55d671f OP-1849 DTR on FlexIO pin 3
Conflicts:
	flight/targets/boards/revonano/board_hw_defs.c
2015-05-19 21:35:34 +10:00
Cliff Geerdes
92295559b0 OP-1464 GPS autobaud - stash while debugging newobject issue 2015-05-18 18:37:53 -04:00
Laurent Lalanne
1aceea7532 REVONANO : Enable all Airspeed modules 2015-05-18 23:08:43 +02:00
Alessio Morale
9fa1fe870a OP-1803 - Add support to RevoNano 2015-05-18 21:36:13 +02:00
Alessio Morale
1ce23d722c REVONANO - Raise the number of leds supported to 10, added limits 2015-05-18 21:30:05 +02:00
Alessio Morale
d521ce6023 REVONANO - Add support for WS2811 led on servo output 1.
To free timer1, a unused timer (9) is assigned on the fly to servo out 1 to leave pin mappings unchanged. A better approach should be implemented Later (jira 1035)
2015-05-18 21:30:05 +02:00
Alessio Morale
04c067e8cd REVONANO - Workaround an approximation bug in SPL UART code.
Due to some approximation bug in SPL 100000 gives a prescaler of 29 resulting in (48000000 / 29) / 16 (oversampling)  = 103448
99999 gives a nice 30 resulting in exactly 100000.
2015-05-18 21:30:04 +02:00
Alessio Morale
295ca38026 REVONANO - Fix Prescaler settings for APB1 and 2 (48MHz and 96MHz) 2015-05-18 21:30:04 +02:00
Werner Backes
25b5278b05 Corrected mpu9250 magnetometer axis orientation. 2015-05-18 21:30:04 +02:00
Alessio Morale
8cb9f8b802 REVONANO - Enable some other modules (battery, airspeed, CameraStab) for testing 2015-05-18 21:30:04 +02:00
Alessio Morale
109c21a8ab REVONANO - Workaround for the SBUS issue (use oversample 8 instead of 16 to reduce the bitrate error) 2015-05-18 21:30:04 +02:00
Alessio Morale
3fd75273f5 Cleanup/uncrustify 2015-05-18 21:30:04 +02:00
Alessio Morale
0d714fb861 REVONANO - Change Power Regulatro Scale mode to Scale1.
Looks like stm32f4xx_Clock_Configuration_V1.1.0 seems like doesn't play well with 411. Reg Scale mode was wrong
2015-05-18 21:30:03 +02:00
abeck70
c0618258ad OP-1760 nano statusvtol addition 2015-05-18 21:30:03 +02:00
Alessio Morale
3152ebcaf0 OP-1828 - add support for Revonano 2015-05-18 21:30:03 +02:00
Alessio Morale
15a5022c7e Raise callbackscheduler stack size 2015-05-18 21:30:03 +02:00
Alessio Morale
2c96835555 REVONANO - Fix System stack size 2015-05-18 21:30:03 +02:00
Alessio Morale
40fa643cca REVONANO - Cleanup servo pin definitions, map PPM as last channel 2015-05-18 21:30:02 +02:00
Alessio Morale
855361488a REVONANO - emulate bigger sector size for erase operations 2015-05-18 21:30:02 +02:00
Alessio Morale
5ca6e43070 REVONANO - Fix erase settings 2015-05-18 21:30:02 +02:00
Alessio Morale
2497b3d605 REVONANO - some cleanup 2015-05-18 21:30:02 +02:00
Alessio Morale
60f8a8d9f0 REVONANO - Move PPM to input 2 to support oneshot 2015-05-18 21:30:02 +02:00
Alessio Morale
2dcc9e5deb OP-1659 - Revonano, raise sensor rate to 500Hz 2015-05-18 21:30:01 +02:00
Alessio Morale
54b83085bb OP-1696 - Revonano cpp support 2015-05-18 21:30:01 +02:00
Alessio Morale
895540974a REVONANO - Disable Sensitivity Adjustment values. 2015-05-18 21:30:01 +02:00
Alessio Morale
cf09616ba8 OP-1685 - OneShot support for revonano 2015-05-18 21:30:01 +02:00
Alessio Morale
e4dc6b0b64 OP-1658 - baro support for revonano 2015-05-18 21:30:01 +02:00
Alessio Morale
43f04a340b OP-1658 - MPU9250 support for sensor "reset", fix temperature measurement 2015-05-18 21:30:01 +02:00
Alessio Morale
174340d8bf OP-1658 - Various fixes for MPU9250 2015-05-18 21:30:01 +02:00
Alessio Morale
94d30f7ad2 OP-1658 - Add RevoNano support 2015-05-18 21:30:00 +02:00
Alessio Morale
928f1385ec OP-1658 - MPU9250 sensor device model implementation 2015-05-18 21:30:00 +02:00
Alessio Morale
5a140957f9 REVONANO - Update uavos list 2015-05-18 21:30:00 +02:00
Stefan Karlsson
2630383669 REVONANO - Fix the I2C Error IRQ Handler name for the pressure adapter 2015-05-18 21:29:59 +02:00
Stefan Karlsson
a3fc54ac0b REVONANO - Fix Baro initialization bug
The I2C SCLK pin (A8) was being changed by code used to support battery voltage sensing on the Revo. This code was run after PIOS_I2C_Init but before PIOS_MS5611_Init, causing a BUSY state on the I2C bus before the Barometer initialization code was run.
2015-05-18 21:29:59 +02:00
Laurent Lalanne
57845a7cf9 REVONANO - Disable WDG - Add PathPlanner and PathFollower modules - Fix Tx/Rx buffers for GPS 2015-05-18 21:29:59 +02:00
Stefan Karlsson
8f94aa5353 REVONANO - Use Nano as the USB connection name 2015-05-18 21:29:59 +02:00
Stefan Karlsson
7252fb4207 REVONANO - Fix Auto Upload 2015-05-18 21:29:58 +02:00
Laurent Lalanne
aff4951d02 REVONANO Remove hardcoded Flexiport with telemetry 2015-05-18 21:29:58 +02:00
Stefan Karlsson
21b485aa3f REVONANO - Fix timers for PPM 2015-05-18 21:29:58 +02:00
Stefan Karlsson
047ee1fcb0 REVONANO - Remove relaytuning from revonano target 2015-05-18 21:29:58 +02:00
Laurent Lalanne
f82a584eb2 REVONANO mpu9250 driver fix for Mag orientation 2015-05-18 21:29:57 +02:00
Alessio Morale
3651ac61a3 REVONANO - Change sensors rate to 333Hz 2015-05-18 21:29:57 +02:00
Alessio Morale
1d7c1b2fc9 REVONANO - Change target to 411, fix ram and flash extents, raise clock to 96MHz (cannot do 100 because of USB) , cleanup spl 2015-05-18 21:29:57 +02:00
Alessio Morale
674963790e REVONANO - Enable WDG and raise timeout value (due to eeprom reading and initialization being very slow) 2015-05-18 21:29:57 +02:00
Alessio Morale
e5baa8e847 REVONANO - align to 9k setting uniformation 2015-05-18 21:29:57 +02:00
Alessio Morale
15e7286078 MPU9K - merge 9k and 6k settings into a single uavo 2015-05-18 21:29:56 +02:00
Alessio Morale
951c9c2fad REVONANO - Disable WDG for debug pourposes 2015-05-18 21:29:56 +02:00
Alessio Morale
3563b1ff0e REVONANO - Prevent modules to start before init: move most code to pios_initcall.h. System and system-Like modules 2015-05-18 21:29:56 +02:00
Stefan Karlsson
efb6855f6f REVONANO - Various temp fixes debug code to get nano to read from the flash. Code has been added to make the execution of systemTask wait until initTask has completed.
Conflicts:
	flight/pios/common/pios_flashfs_objlist.c
2015-05-18 21:29:56 +02:00
Stefan Karlsson
2d3c8b835a REVONANO - Turn on StateEstimate 2015-05-18 21:29:56 +02:00
Stefan Karlsson
8c8abc3cb5 REVONANO - Increase fast_prescaler for the MPU so that it doesn't consume all CPU 2015-05-18 21:29:56 +02:00
Alessio Morale
96659f5757 REVONANO - some unused var cleanup 2015-05-18 21:29:55 +02:00
Alessio Morale
288c9019d1 uncrustify 2015-05-18 21:29:55 +02:00
Alessio Morale
51094ba95d REVONANO - Minor cleanup of MPU9250 driver 2015-05-18 21:29:55 +02:00
Alessio Morale
4ec44cea90 REVONANO - Fix BU target 2015-05-18 21:29:55 +02:00
Alessio Morale
210b75fcb9 REVONANO - Fix MPU Prescalers 2015-05-18 21:29:55 +02:00
Alessio Morale
b6eedaf93d REVONANO - Fix PIOS_SYSCLK Declaration 2015-05-18 21:29:55 +02:00
Alessio Morale
d2dae79c82 REVONANO - update SPL to 1.4.0 that adds support for f411 2015-05-18 21:29:55 +02:00
Alessio Morale
4a7d81ed01 REVONANO - Fix gyro spi config and include MPU9250 support 2015-05-18 21:29:54 +02:00
Mathieu Rondonneau
66b06e4c9a REVONANO - Add MPU9250 support 2015-05-18 21:29:42 +02:00
Alessio Morale
fb11b312c5 REVONANO - Flash fs fixes 2015-05-18 21:26:40 +02:00
Alessio Morale
632a14023c REVONANO - exclude ccram stuffs 2015-05-18 18:55:26 +02:00
Alessio Morale
8a02caa33a REVONANO - Fix eeprom configuration 2015-05-18 18:55:26 +02:00
Alessio Morale
5c13551a1a REVONANO - Add support for eeprom and objlist fs 2015-05-18 18:55:25 +02:00
Alessio Morale
8b11861c63 REVONANO - Readd old objlist FS to be used with EEPROM 2015-05-18 18:55:25 +02:00
Alessio Morale
1e1195ec05 REVONANO - Add Eeprom support 2015-05-18 18:55:25 +02:00
Alessio Morale
764a15999f REVONANO - Make FlashFS_Logfs optional, remove old onchip eeprom files
Conflicts:
	flight/targets/boards/coptercontrol/firmware/Makefile
2015-05-18 18:55:21 +02:00
Alessio Morale
76ad80fdf5 Revert "objlist: remove now unused objlist flash filesystem"
Bring them back to the right path
This reverts commit d89a9b1b6c.
2015-05-18 18:54:52 +02:00
Alessio Morale
8a54414d70 REVONANO - Fix and cleanup hw configurations, Baro working at this stage 2015-05-18 18:54:52 +02:00
Alessio Morale
805750050c REVONANO - Support distinct remaps for SDA and SCL 2015-05-18 18:54:52 +02:00
Alessio Morale
375f23ff0c REVONANO - Make debuglog, FlashFS and other bits optional 2015-05-18 18:54:50 +02:00
Alessio Morale
690e04f4f0 REVONANO - Initial board support 2015-05-18 18:52:09 +02:00
Alessio Morale
6d6be75605 REVONANO - Update SPL to 1.3.0 2015-05-18 18:48:18 +02:00
Alessio Morale
b59408863a REVONANO - Allows per board linker scripts 2015-05-18 18:48:17 +02:00
Laurent Lalanne
3eef68c017 OP-1893 Deadband scale 2015-05-18 16:45:13 +02:00
Alessio Morale
330b396a73 Merge remote-tracking branch 'origin/amorale/OP-1874_notifications_improvements' into HEAD 2015-05-18 10:05:56 +02:00
abeck70
7d603bc6cb OP-1847 gpsassist fix
Set assisted control state to HOLD when Brake controller transitions to HOLD.  This impacts throttle stick behavior as it is different during braking and on brake completion in the hold state.
Also cleanuped and removed unused/old code that triggered HOLD in plans.c
2015-05-16 20:33:03 +10:00
abeck70
5d923c4125 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1847-gps-assist-fixes 2015-05-16 19:57:41 +10:00
Alex Beck
d6751172ae OP-1848 altvario fix simposix build 2015-05-14 20:34:32 +10:00
abeck70
2c3fcd64d1 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into laurent/OP-1869_Analog_airspeed_scaling 2015-05-14 20:21:40 +10:00
abeck70
f4d1fc13ec OP-1847 gps assist fixes
1. Update vtol vertical pids
2. Reduce deadband on throttle in gpsassist auto throttle to avoid large deviations in throttle change from neutral
3. Reinitialise assisted control state on mode change where the flight is the same but only gpsassist is going from disabled to enabled or enabled to disabled.
2015-05-14 20:07:07 +10:00
Laurent Lalanne
8e8d08c4a1 OP-1869 "scale" lower case 2015-05-13 21:55:18 +02:00
Steve Evans
1771d347bb Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_flexio_com_bridge 2015-05-13 20:36:06 +01:00
Steve Evans
fd00cd8210 Merge branch 'next' into steve/OP-1803_s.bus_dropped_frames 2015-05-13 20:29:54 +01:00
abeck70
525aabe54c uncrustify flight gps updates 2015-05-13 17:36:52 +10:00
abeck70
3784357a18 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-13 17:33:11 +10:00
abeck70
92e50c2ead OP-1810 FOC
Squashed commit for clean commit as discussed in code review
Uncrustify
2015-05-13 17:19:51 +10:00
abeck70
858354391d Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-12 22:07:21 +10:00
abeck70
794605b3d9 OP-1848 altvario fixes
1. CC compile fix
2. on reinit calculate a new thrustdemand after which gyro updates will retrigger subsequent calcs
2015-05-12 22:02:03 +10:00
abeck70
8d2f4722d7 OP-1848 altvario improvements
1. Disable velocity pid loop when altvario is not active
2. Add sanity boundf to ensure max min are inforced.
2015-05-12 17:40:28 +10:00
Cliff Geerdes
f1ec9dea33 Merge branch 'next' into theothercliff/OP-1840_GPS_serial_port_needed_features 2015-05-12 01:25:45 -04:00
abeck70
43ec464737 OP-1848 altvario improvements
1. Avoid neutral thrust calcs in altvario typically used in forward flight
2. Capture stick state for debugging into altitudeholdstatus
2015-05-10 19:05:36 +10:00
abeck70
0ef6779701 OP-1848 altvario tidyup of NE controllers in pathfollower
Change ILimit variable name to Beta in multiple PID loops that now use pid2 implementation.
Change velocity controller yaw from axislock to rate.
2015-05-09 23:03:53 +10:00
abeck70
2eef3e2dd2 OP-1848 altvario discovery4bare remove second instance of uavo 2015-05-09 14:54:40 +10:00
abeck70
d6123c018d Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-09 14:31:57 +10:00
abeck70
7fd08ef990 OP-1858 takeoff in nav address code review comments 2015-05-08 22:04:44 +10:00
abeck70
4ccdc46311 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff 2015-05-08 21:48:34 +10:00
Steve Evans
6e6b8c8bad Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_flexio_com_bridge 2015-05-08 07:43:16 +01:00