Lorenz Meier
50bd148f53
Aero: Update maintainer
2018-01-06 12:19:31 +01:00
Lorenz Meier
ea545f2813
ROMFS: Exclude FMUv2 in Stampede
2018-01-06 11:35:53 +01:00
Lorenz Meier
6213b2266b
ROMFS: Exclude FMUv2 in Axial Racing
2018-01-06 11:35:53 +01:00
Lorenz Meier
f79c3bb5ea
ROMFS: Exclude FMUv2 in ground vehicle
2018-01-06 11:35:53 +01:00
Lorenz Meier
25141ce184
ROMFS: Exclude FMUv2 in obscure airframe
2018-01-06 11:35:53 +01:00
Lorenz Meier
1930cc2fbe
ROMFS: Exclude FMUv2 in VTOL
2018-01-06 11:35:53 +01:00
Lorenz Meier
90e7ce1b96
ROMFS: Remove reference to non-existent board
2018-01-06 11:35:53 +01:00
Lorenz Meier
1cfb441527
ROMFS: Reduce verbosity level
2018-01-06 11:35:53 +01:00
Lorenz Meier
59f56f4a5b
Add support for Pixhack detection
...
This allows to boot a Pixhack 3.0 which is the same as Pixhawk 2.0 / 2.1
2018-01-06 11:35:53 +01:00
Lorenz Meier
01e1bac365
FMUv2: Fix Pixhawk Mini boards while hopefully retaining HK Pixhawk units.
2018-01-06 11:35:53 +01:00
Lorenz Meier
0cd24874f3
MPU6K: Provide more clear output which buses are being probed
2018-01-06 11:35:53 +01:00
Lorenz Meier
8c647f11d0
Revert "Revert "Fix for HobbyKing boards.""
...
This reverts commit b7189012dc .
2018-01-06 11:35:53 +01:00
Daniel Agar
37e3234e49
Jenkins uorb graphs set docker arguments
2018-01-05 23:20:04 -05:00
Daniel Agar
1f63d85869
NuttX generate Make.defs per config from PX4 cmake ( #8573 )
2018-01-05 22:47:10 -05:00
Daniel Agar
f86d4b18f8
Jenkins generate uorb graphs ( #8571 )
2018-01-05 17:20:39 -05:00
Lorenz Meier
31ab496f31
ROMFS: Free additional space
2018-01-05 23:03:02 +01:00
Lorenz Meier
dd5524da3d
Make boot slightly less verbose
2018-01-05 22:45:12 +01:00
Matthias Grob
c0c0666d5c
Cygwin: use absolute path with cygpath conversion to the linker script again
...
because the relative path is interpreted differently on linux, mac and windows
2018-01-05 14:47:33 -05:00
Daniel Agar
275f462136
cmake determine relative path for firmware linking
2018-01-05 14:47:33 -05:00
Daniel Agar
bf84cf0dcf
Cygwin: use relative paths where needed
2018-01-05 14:47:33 -05:00
Matthias Grob
be8adbfdf3
Cygwin: refactored & simplified some of the OS define logic
2018-01-05 14:47:33 -05:00
Matthias Grob
2186f7b1b1
Cygwin: Enable ARM build of px4fmu-vX_default under Windows Cygwin Environment
2018-01-05 14:47:33 -05:00
Matthias Grob
70de169f15
Cygwin: Enable build of SITL jMAVsim under Windows using the Cygwin Unix-like environment
...
Most of the incompatitbilities are luckily similar to the darwin build.
- New target OS __PX4_CYGWIN added because in other build environments on Windows defines will very likely be completely different
- added all necessary exeptions to the defines
- disabled priorities completely because on Windows they are defined 1-32 and with all the arbitrary +40 -40 priority settings there were a lot of problems
not only did some threads/"virtual tasks" not start because of out of bound priorities but also the resulting scheduling was totally random and inadequate
with default priorities it ran toally fine during my first tests, should be rethought when windows is used onboard in the future
2018-01-05 14:47:33 -05:00
Daniel Agar
02c4ec9b2a
move nuttx-configs to platforms/nuttx
2018-01-05 14:21:31 -05:00
Daniel Agar
62c2fbb443
move Images to platforms/nuttx
2018-01-05 14:21:31 -05:00
Daniel Agar
2dcd617a8f
move Debug to platforms/nuttx
2018-01-05 14:21:31 -05:00
Daniel Agar
7178f8416d
delete obsolete Vagrantfile
2018-01-05 14:21:31 -05:00
Daniel Agar
f2cd5e3e9f
move src/firmware/ to platforms
2018-01-05 14:21:31 -05:00
Daniel Agar
e5b784736f
delete unused cmake/test
2018-01-05 14:21:31 -05:00
Daniel Agar
678e2c415d
move cmake/${OS} to platforms
2018-01-05 14:21:31 -05:00
Nuno Marques
3fcffe1f3b
Tools: update sitl_gazebo ( #8597 )
2018-01-05 14:09:31 -05:00
Amir Melzer
51437a89e1
remove coning compensation for the accelerometers ( #8594 )
2018-01-05 14:08:33 -05:00
Julian Oes
14cc9e9919
mavlink_messages: fix length of NAV_CONTROLLER msg
...
This was caught in an unrelated review.
2018-01-05 19:53:41 +01:00
ChristophTobler
3ffc1fd25b
Stream scaled IMU for Snapdragon Flight using VISLAM
...
This is temporary (and for Snapdragon Flight + VISLAM only) until there is a proper solution to get unfiltered IMU data for VIOs etc.
2018-01-05 18:45:50 +01:00
Daniel Agar
545f8c4452
RTL optionally use planned mission landing ( #8487 )
...
- adds new RTL_LAND_TYPE parameter
2018-01-04 23:42:01 -05:00
Julian Oes
f3bd241dbe
jMAVSim: update to latest master
...
This brings some support for mavlink 2, and various other bugfixes.
2018-01-04 21:27:16 +01:00
Daniel Agar
430cdada60
param_export use bson encoder buffer
2018-01-04 09:21:17 +01:00
Daniel Agar
08443c0bfc
params add param_find perf counter
2018-01-04 09:21:17 +01:00
Daniel Agar
ec65ff7c5e
sensors remove unnecessary param set notification
2018-01-04 09:21:17 +01:00
Daniel Agar
627788c93c
mavlink remove unnecessary param set notification
2018-01-04 09:21:17 +01:00
Daniel Agar
2bb4644180
camera_trigger remove unnecessary param set notification
2018-01-04 09:21:17 +01:00
Daniel Agar
45441d62b1
sensors thermal calibration only get params if enabled
2018-01-04 09:21:17 +01:00
Daniel Agar
7af3cb9df8
param group "Sensors Thermal Calibration" shorten
2018-01-04 09:21:17 +01:00
Daniel Agar
f87402b16c
navigator remove redundant param updates
2018-01-04 09:21:17 +01:00
Daniel Agar
49180de27c
commander remove continuous param_get in arm_auth_update
2018-01-04 09:21:17 +01:00
Daniel Agar
641129ad4e
param add perf counters
2018-01-04 09:21:17 +01:00
keenanjohnson
c8590e0fb1
Main Readme: Spelling correction
...
Signed-off-by: keenanjohnson <keenan.johnson@gmail.com >
2018-01-03 12:06:35 -05:00
Daniel Agar
c7b5a6f463
FW delete unused yaw coordination parameters
2018-01-03 16:28:50 +01:00
Daniel Agar
757d905089
FW improve FW_ARSP_MODE metadata options
...
- fixes #8563
2018-01-03 08:18:22 +01:00
CarlOlsson
1cd0ca9c6c
updated ecl
2018-01-02 22:36:42 +01:00
Paul Riseborough
96d04af6e8
ecl: adds sideslip to innovation test status reporting
2018-01-02 22:36:42 +01:00
CarlOlsson
84d7eb2900
ekf2: added beta test ratio to estimator_status
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2018-01-02 22:36:42 +01:00
Daniel Agar
573fbeda04
Jenkins add flight review email for failures
2018-01-02 16:00:35 -05:00
Daniel Agar
14e8ee75e7
Jenkins ROS tests fetch all git tags for correct version reporting
2018-01-02 16:00:35 -05:00
Daniel Agar
5af4704aac
Jenkins ROS tests set CI=true and set CCACHE_BASEDIR
2018-01-02 12:25:10 -05:00
Lorenz Meier
1f4bad0624
MAVLink: Harden home position usage
...
This should ensure that the home position / altitude is only being used when valid.
2018-01-02 16:52:10 +01:00
Daniel Agar
d67cbfba3a
Jenkins add descriptions to flight review post
2018-01-02 10:38:12 -05:00
Daniel Agar
5db534849a
Jenkins ROS tests archive all failure logs
2018-01-02 10:38:12 -05:00
Daniel Agar
4d08f56fae
cmake add missing generate_px4muorb_stubs dependency ( #8559 )
2018-01-02 10:18:00 -05:00
Lorenz Meier
92540fc6d8
IO: Remove hint that parameter change requires reboot
...
The change is effective immediately so no reboot is required. This makes the whole configuration a lot easier.
2018-01-02 10:48:09 +01:00
Lorenz Meier
f4362c5ae5
FMU: Remove hint that parameter change requires reboot
...
The change is effective immediately so no reboot is required. This makes the whole configuration a lot easier.
2018-01-02 10:47:38 +01:00
Daniel Agar
b8e6fc2730
Makefile tests_coverage run ROS tests
2018-01-02 01:35:57 +01:00
Daniel Agar
6bdc18df6d
sitl launch default ekf2 everywhere
2018-01-02 01:35:57 +01:00
Daniel Agar
734a6c8a42
Jenkins update mission test naming
2018-01-02 01:35:57 +01:00
Daniel Agar
cd60fb6102
ledsim remove debug print
2018-01-02 01:35:57 +01:00
Daniel Agar
e9960b5532
Jenkins add title and url for flight review upload
2018-01-02 01:35:57 +01:00
Daniel Agar
202c29154a
simulator optimize GPS and battery
...
- GPS and battery were publishing at > 800Hz
2018-01-02 01:35:57 +01:00
Daniel Agar
66f614435f
vtol_att avoid unnecessary work and delete unused
2018-01-02 01:35:57 +01:00
Daniel Agar
d3a220f807
vtol_att only set fw_permanent_stab on param change
2018-01-02 01:35:57 +01:00
Daniel Agar
75e4a856a5
Jenkins post mission test logs to flight review
2018-01-02 01:35:57 +01:00
Daniel Agar
3f67ddbdba
ROS mission_test.py send mission before starting
...
- update to latest sitl_gazebo
2018-01-02 01:35:57 +01:00
Daniel Agar
63deb40a76
ROS tests move to test/ and new Jenkins
2018-01-02 01:35:57 +01:00
Anthony Lamping
f46db40b10
make sure FCU is connected to mavros before state topic is marked ready
2018-01-02 01:35:57 +01:00
Anthony Lamping
ab5a268ca5
simplify vtol transition check, more log msgs
2018-01-02 01:35:57 +01:00
Anthony Lamping
f9e7c66718
thread for offboard publishers, add asserts for topics to come up (simulation ready) and set mode and arming, use home_position topic as better indicator of when the simulation is ready, add more feedback to rosinfo, make timeouts meaningful (in seconds), add land and extended state values
2018-01-02 01:35:57 +01:00
Anthony Lamping
5ce381dfc7
update sitl tests
2018-01-02 01:35:57 +01:00
TSC21
fefed35dfe
Tools: update sitl_gazebo
2018-01-01 21:06:00 +01:00
Daniel Agar
9d61febd39
tfmini remove obsolete IOCTLs
2018-01-01 17:38:41 +01:00
Lorenz Meier
49bed47924
Add TFMini to autostart
2018-01-01 17:38:41 +01:00
Ayush
91cedcaba3
Added tfmini driver to build configs
2018-01-01 17:38:41 +01:00
Ayush
9f2bb6c7f9
Added support for TFmini-LiDAR
2018-01-01 17:38:41 +01:00
Daniel Agar
ad532d0510
docker_run.sh update container versions to match Jenkins
2018-01-01 10:27:43 -05:00
Daniel Agar
386c34a563
Jenkins update all containers to latest (except NuttX)
2018-01-01 10:19:00 -05:00
Daniel Agar
33266ef2c8
cmake use ccache if found and not disabled
2018-01-01 10:19:00 -05:00
Daniel Agar
1468d4ed39
muorb add generation dependency
2018-01-01 10:19:00 -05:00
Lorenz Meier
3b71c70583
Commander: Do not switch land detection state when not armed
...
This is important to have the probation times set up correctly and to silence land detected messages for systems that are not actually flying and just on the bench.
2018-01-01 15:32:37 +01:00
Lorenz Meier
e7fe8f7268
Uploader: Enforce matching maximum flash sizes
...
The goal is to force developers to use the correct target with the correct flash size. This prevents criticial functionality missing and is in particular important for FMUv2/FMUv3 boards. It is unmaintainable otherwise for the Pixhawk series.
2018-01-01 09:29:55 -05:00
Lorenz Meier
3041438132
Zubax GNSS: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
e2b2f97d0d
TAPv1: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
9a7f99f3cd
S2740VC: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
0bfd2925bf
Nucleo: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
d1d367011e
IOv2: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
d26e037df4
FMUv5: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
3bfa194933
FMUv4PRO: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
18715ebd80
FMUv4: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
c0efaa4ca9
FMUv3: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
6fbfde9ec3
FMUv2: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
d22398f733
PX4 FLOW: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
cd0fbb3cd2
PX4 ESC: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
03c5e9172d
PX4 CAN Node: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
bb3746e710
STM32 Disco: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
c3f630ca14
SAMe70: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
18d13498de
NXPPHlite: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
ca472ebfaf
MindPX: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
7277d72db5
ESC35: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
5d186f374b
Crazyflie: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
f7b4f13e81
AUAV x2.1: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
2ba7b41f5c
Aero: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
5072c0b5ae
Aerocore: Store maximum flash size
2018-01-01 09:29:55 -05:00
Lorenz Meier
32aa8d4f51
FMUv3: Use its own proper prototype for the image
2018-01-01 09:29:55 -05:00
Lorenz Meier
40702b36ee
NuttX: Allow different board prototype names from main build config
2018-01-01 09:29:55 -05:00
acfloria
1aebc69fed
commander: Allow manual override in stabilized mode for a fixed-wing.
2018-01-01 14:28:36 +01:00
Lorenz Meier
715b571dac
Commander: Add hint about ongoing rewrite
...
It's important that any reader of the file knows about the ongoing refactoring.
2018-01-01 13:11:52 +01:00
Anass Al
dc6e47f777
Update SITL Gazebo for magnetic declination fix
2018-01-01 11:52:35 +01:00
Dennis Mannhart
a649bbebb7
commander: switch to hold or mission once takeoff is finished ( #8020 )
...
* add COM_TAKEOFF_ACT to optionally switch to mission after takeoff
2017-12-31 13:58:20 -05:00
Lorenz Meier
cf55901ac9
Calibration timeout: Triple to 90 seconds as the user can now cancel the routine
...
We timed out earlier to allow users to abort, but now that we can cancel we do not need to enforce such a time limit.
2017-12-31 16:37:02 +01:00
Lorenz Meier
2167457e2e
VTOL status: Do not force a commander status change
...
Before the VTOL status would automatically force a commander state update all the time. This saves effort and makes sure the system only updates when it should.
2017-12-31 16:37:02 +01:00
Lorenz Meier
90b4afebb5
Commander: properly separate preflight check and prearm checks
...
We were running pre-arm checks before when not arming, which led to annoying error messages on vehicles that were on the bench or serviced on the ground. Now we really only run them when trying to arm.
2017-12-31 16:37:02 +01:00
Lorenz Meier
ddf0ecfc38
Airspeed calibration: Ensure that the calibration state is stored correctly
...
This is necessary due to sensors that are so accurate that they have no offset at all.
2017-12-31 16:37:02 +01:00
Lorenz Meier
074636a8ae
Commander: Check for preflight errors in order
2017-12-31 16:37:02 +01:00
Lorenz Meier
c06251f3be
IO serial: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
1f21256f6a
IO safety switch: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
0013f641aa
IO comms: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
ac113d71af
IO main loop: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
7d44567fab
IO Proto: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
2c148236ae
IO Mixer: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
0ef245aee1
IO ADC: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
168e070f94
IO CMake file: Formatting
2017-12-31 16:36:34 +01:00
Lorenz Meier
51111fc6e3
IO Firmware: Document override behavior for manual override.
2017-12-31 16:36:34 +01:00
Daniel Agar
d7aaab07fc
delete unused SENSORIOCGQUEUEDEPTH
2017-12-31 09:47:51 -05:00
Daniel Agar
6ad9e59a7a
delete unused GPIO_SET_INPUT
2017-12-31 09:47:51 -05:00
Daniel Agar
b8b9f15a34
delete unused GPIO_PERIPHERAL_RAIL_RESET
2017-12-31 09:47:51 -05:00
Daniel Agar
d61e0651ab
delete unused GPIO_SET_OUTPUT_HIGH
2017-12-31 09:47:51 -05:00
Daniel Agar
4c041f12ea
delete unused GPIO_SET_OUTPUT_LOW
2017-12-31 09:47:51 -05:00
Daniel Agar
f550c8735a
delete unused GPIO_SENSOR_RAIL_RESET
2017-12-31 09:47:51 -05:00
Daniel Agar
c65db00914
delete unused GPIO_SET_ALT_4
2017-12-31 09:47:51 -05:00
Daniel Agar
db5e932f48
delete unused GPIO_SET_ALT_3
2017-12-31 09:47:51 -05:00
Daniel Agar
17e58dc08b
delete unused GPIO_SET_ALT_2
2017-12-31 09:47:51 -05:00
Daniel Agar
c6760cc6fb
delete unused GPIO_SET_ALT_1
2017-12-31 09:47:51 -05:00
Daniel Agar
d91b2347dd
mpu6000 delete dummy
2017-12-31 09:47:51 -05:00
Daniel Agar
badcddc29a
delete unused GYROIOCGEXTERNAL
2017-12-31 09:47:51 -05:00
Daniel Agar
98ca693298
delete unused GYROIOCGLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
85e879a574
delete unused GYROIOCSLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
1b4a224223
delete unused GYROIOCGHWLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
cc2cf40e6e
delete unused GYROIOCSHWLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
8b591aa13a
delete unused ACCELIOCGHWLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
0f8f319411
delete unused ACCELIOCSHWLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
63d24a9e1e
delete unused ACCELIOCGLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
417351390f
delete unused ACCELIOCSLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
be930d4372
delete unused PWM_SERVO_CLEAR_OVERRIDE_OK
2017-12-31 09:47:51 -05:00
Daniel Agar
dacc45c3d1
delete unused PWM_SERVO_SET_OVERRIDE_OK
2017-12-31 09:47:51 -05:00
Daniel Agar
ca6f6b27a5
delete unused PWM_SERVO_SET_RC_CONFIG
2017-12-31 09:47:51 -05:00
Daniel Agar
ff6928fb63
delete unused GPIO_GET
2017-12-31 09:47:51 -05:00
Daniel Agar
65f9005bc6
delete unused RC_INPUT_GET
2017-12-31 09:47:51 -05:00
Daniel Agar
32a450f5dd
detect_orientation make constants constexpr
2017-12-31 09:47:51 -05:00
Daniel Agar
344cf83549
delete unused SENSORIOCCALTEST
2017-12-31 09:47:51 -05:00
Daniel Agar
4980b93830
delete unused SENSORIOCGROTATION
2017-12-31 09:47:51 -05:00
Daniel Agar
9c378a7ca1
delete unused SENSORIOCSROTATION
2017-12-31 09:47:51 -05:00
Daniel Agar
3ead5c2afd
delete unused MAGIOCSLOWPASS/MAGIOCGLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
301be5ed8a
delete unused range finder IOCTLs
2017-12-31 09:47:51 -05:00
Daniel Agar
859b19db9a
uORB.h reduce orb_metadata field sizes
2017-12-31 09:47:51 -05:00
Lorenz Meier
34ea229a78
Update Gazebo with GUI fix
2017-12-30 20:14:33 +01:00
Lorenz Meier
ab30532f52
Update SITL Gazebo with build system fixes
2017-12-30 20:10:00 +01:00
Lorenz Meier
3cc356a703
Gazebo: Update repository to enable video streaming support
2017-12-30 18:17:25 +01:00
Lorenz Meier
ab2f85d4ff
SITL: Search MAVLink locally
2017-12-30 14:47:37 +01:00
Lorenz Meier
5d4086309f
Gazebo: Fix build for Gazebo 8 and tune down GPS noise
2017-12-30 13:05:51 +01:00
Lorenz Meier
e3f5f8e475
Update Gazebo submodule to include gimbal fixes
2017-12-30 11:46:55 +01:00
Daniel Agar
cbc8b50aa1
sensors don't store diff_pres in class
2017-12-30 11:30:34 +01:00
Daniel Agar
4445ffc70e
sensors don't store airspeed in class
2017-12-30 11:30:34 +01:00
Daniel Agar
6623fd0212
sensors don't keep battery_status messages
2017-12-30 11:30:34 +01:00
Ramón Hernán Roche Quintana
d57ed6d17f
Changelog generator default params
2017-12-30 11:27:57 +01:00
Lorenz Meier
6a701adf3c
HITL: Remove hard requirement for airframes
2017-12-30 11:24:22 +01:00
Lorenz Meier
2eb3392c39
PWM out sim: Increase stack as needed
2017-12-30 11:24:22 +01:00
Lorenz Meier
bb516be61e
Commander: Enforce correct system configuration for HITL
...
This is important to ensure that users are not trying to use HITL with airframes that will not work.
2017-12-30 11:24:22 +01:00
Lorenz Meier
0ae1737e85
Commander: Fix HITL state initialization that prevented pre-flight checks to pass in HITL mode on v1.7.2
...
This is a minor change that fixes the ordering of the initialization.
2017-12-30 11:24:22 +01:00
Lorenz Meier
644db1b03f
State machine helper: Fix typo
2017-12-30 11:24:22 +01:00
Lorenz Meier
c31e31bf5e
Voted sensors: Better error messages
2017-12-30 11:24:22 +01:00
Lorenz Meier
f69a6af989
Commander: increase stack to ensure enough margin remains
2017-12-30 11:24:03 +01:00
Lorenz Meier
fa8222e188
Logger: Free some RAM to leave space for mag calibration
2017-12-30 11:24:03 +01:00
Daniel Agar
370da89573
fw_pos_control fix parameter sanity check ( #8521 )
...
- the sanity check result wasn't being sent to the user and prevents landing slope, runway takeoff, and launch detector parameter updates.
2017-12-26 16:02:31 -05:00
Lorenz Meier
1cab556ddb
Topic listener: Depend on messages, not just on headers
...
This ensures that the listener is re-built when the message spec changes.
2017-12-26 16:01:11 -05:00
Lorenz Meier
23d15c1365
Platform: Depend on messages, not just on headers
...
This ensures that platform is re-built if messages change.
2017-12-26 16:01:11 -05:00
Lorenz Meier
72823e6eb4
MicroRTPS bridge: Depend on messages, not just on headers
...
This ensures that an update of the message spec re-generates the bridge.
;
2017-12-26 16:01:11 -05:00
Daniel Agar
fc7c8b4b89
vehicle_status delete engine_failure_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
17e17d79dd
commander delete unused vtol_transition_failure_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
d0fba8bf8b
commander delete unused data_link_lost_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
c0be801b5c
commander delete unused rc_signal_lost_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
5a6cde41d5
commander delete unused gps_failure_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
ca804a2308
commander delete unused sensors check
2017-12-27 02:41:10 +08:00
Daniel Agar
294fbc46a9
commander initial class structure
2017-12-27 02:41:10 +08:00
Amir Melzer
55be098e3b
adis16448 bmlz fixes ( #8519 )
...
* small bit mask fix
* Restore factory calibration values in drivers start-up sequence
* Restore factory calibration values in drivers start-up sequence (reverted from commit 09ba45501f87f77e53d670fcf880b3cfc419fe38)
* Restore factory calibration values in drivers start-up sequence
* Initialization of the Adis16448 report struct
* Add stall time after write and read cycle
* Increasing the stall time for being compatible with the B sensor version
* small clean up
* Add settling time after initialization
2017-12-22 13:17:54 -05:00
Daniel Agar
5d6edcc15d
commander consolidate periodic state publishing
2017-12-22 10:42:14 -05:00
Daniel Agar
1ea5de43cf
logger add vehicle_status_flags
2017-12-22 10:42:14 -05:00
Daniel Agar
043ad3c33e
commander vehicle_status_flags only publish if changed
2017-12-22 10:42:14 -05:00
Paul Riseborough
176738c688
commander: add missing px4_close ( #8513 )
2017-12-22 08:57:06 +11:00
Daniel Agar
ec57832a8f
FW land detector increase trigger time and cleanup ( #8486 )
2017-12-21 12:17:32 -05:00
Daniel Agar
7dab5d4380
mission feasibility full home position isn't always needed
2017-12-21 15:28:45 +08:00
Daniel Agar
b7189012dc
Revert "Fix for HobbyKing boards."
...
This reverts commit 75b93b0728 .
2017-12-21 15:25:25 +08:00
Hamish Willee
2f50a07afb
Delete redundant documentation files ( #8505 )
2017-12-21 02:06:41 -05:00
CarlOlsson
925c65b4d5
ekf2: add beta innovation gate to parameters
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-12-21 04:02:10 +08:00
Daniel Agar
58d1cdc733
Allow MAV_CMD_DO_SET_HOME as a mission command
2017-12-20 10:19:07 +01:00
sanderux
a8c26265b5
Check manual home set when setting during arming
2017-12-20 10:19:07 +01:00
Daniel Agar
964cb486a9
home_position delete unused direction_{x, y, z}
2017-12-20 10:19:07 +01:00
Daniel Agar
375ae991bc
commander DO_SET_HOME populate local coordinates
...
- unify commander home update
2017-12-20 10:19:07 +01:00
sanderux
cf7ad67678
Check home reset in local frame
2017-12-20 10:19:07 +01:00
sanderux
4e175d13c4
Set manual_home when home set manually
2017-12-20 10:19:07 +01:00
sanderux
74868f8c2b
Reset home position when landed and disarmed
2017-12-20 10:19:07 +01:00
Daniel Agar
6172315cf7
navigator mission_result fix increment sign
2017-12-20 17:05:25 +08:00
Daniel Agar
a4be7ae7d0
commander mission_result check time and instance
2017-12-20 17:05:25 +08:00
Hamish Willee
7a9f7eb424
Updates to README
...
- Link supported airframes to the Airframe reference rather than portfolio pages (they may look pretty, but nowhere near as useful for developers. Add portfolio link up top.
- Change the somewhat empty "Project Milestones" to "Project Roadmap" and link to the high level roadmap. I removed the only milestone about Lorenz creating the software. If we end up adding a more detailed milestone section that could go in.
- Added clear guidelines for users vs developers.
2017-12-20 05:22:43 +08:00
ChristophTobler
4bd7d62b5c
ekf2: update AID_MASK bitmask comment for QGC
2017-12-20 05:22:11 +08:00
Pietro De Nicolao
aea8985c8d
Fix links to supported hardware in README.md ( #8476 )
2017-12-18 11:23:32 -05:00
Beat Küng
3da8031e8e
uorb graph: improve error output
2017-12-18 10:19:15 +01:00
Beat Küng
eeff52cda7
uorb_graph: add .gitignore, change graph file for sitl runtime config
2017-12-18 10:19:15 +01:00
Beat Küng
ec50193d6c
Makefile: add uorb_graphs target
2017-12-18 10:19:15 +01:00
Beat Küng
5195210893
CMakeLists.txt: add custom target uorb_graph to generate the graph JSON files
...
Use like this:
make px4fmu-v2_default uorb_graph
2017-12-18 10:19:15 +01:00
Beat Küng
57f92250b3
uorb graph create.py: sort modules & topics by name length for JSON output
2017-12-18 10:19:15 +01:00
Beat Küng
9bff0c8c04
uorb graphs: add script to create graph from a posix startup script
2017-12-18 10:19:15 +01:00
Beat Küng
e2d6c0a8f9
uorb_graph: add script to generate uORB pub/sub graphs
...
2 possible output formats:
- JSON (can be used with D3.js)
- Graphviz
Not covered yet: Publication & Subscription classes
2017-12-18 10:19:15 +01:00
Daniel Agar
d5bb948cbb
README fix LICENSE link
2017-12-17 11:33:19 -05:00
Daniel Agar
a4b127960b
README switch travis-ci build status to Jenkins
2017-12-17 11:33:19 -05:00
Daniel Agar
e8624f8afe
navigator takeoff alt check use altitude acceptance ( #8480 )
2017-12-17 01:39:53 -05:00
Daniel Agar
28d1ec8afe
VTOL defaults set MIS_TAKEOFF_ALT 20 and remove tuning ( #8481 )
2017-12-17 00:58:23 -05:00
Daniel Agar
642aeccd1e
logger add home_position to the default set
2017-12-17 00:57:17 -05:00
James Goppert
75b93b0728
Fix for HobbyKing boards.
2017-12-16 21:05:18 +00:00
Daniel Agar
a15ca72288
Jenkins add posix_sitl_default and posix_sitl_rtps
2017-12-15 14:31:25 -05:00
Daniel Agar
4beeb7f560
delete obsolete s3 upload helpers
2017-12-15 14:31:25 -05:00
Daniel Agar
baff0832bc
Jenkins clang scan-build output publisher
2017-12-15 14:31:25 -05:00
Daniel Agar
c398c95fd5
Jenkins px4io-v2 build in same directory
2017-12-15 14:31:25 -05:00
Daniel Agar
b1315a71ec
Jenkins add cppcheck build
2017-12-15 14:31:25 -05:00
Daniel Agar
670111875e
Jenkins add clang static analyzer (scan-build)
2017-12-15 14:31:25 -05:00
Daniel Agar
e4180f6a72
Jenkins split GCC 7 posix & nuttx tests
...
- this groups the builds together properly
2017-12-15 14:31:25 -05:00
Daniel Agar
868ff42f47
check_submodules.sh handle CI forced update only if directory exists
2017-12-15 14:31:25 -05:00
Daniel Agar
cebe7add8b
Jenkins move style check to tests
2017-12-15 14:31:25 -05:00
Daniel Agar
d7aa5df3cd
Jenkins enable clang-tidy build
2017-12-15 14:31:25 -05:00
Daniel Agar
cbdb08bb61
mavlink receiver delete unused orb_adverts
2017-12-12 11:25:09 -05:00
Daniel Agar
d2457467e7
mavlink delete unimplemented and deprecated handle_message_request_data_stream
2017-12-12 11:25:09 -05:00
Daniel Agar
c8aa262e85
mavlink delete unimplemented handle_message_quad_swarm_roll_pitch_yaw_thrust
2017-12-12 11:25:09 -05:00
Paul Riseborough
3c667bb4f5
mc_pos_control: format fixes
2017-12-12 12:14:24 +00:00
Paul Riseborough
deaa83bba0
mc_pos_control: Use vertical position derivative when in velocity control mode
...
Stops vertical velocity bias errors preventing the vehicle from landing.
Use of the vertical derivative is blended in so that for zero vertical velocity set point, the local_position.vz is used and when the magnitude of the vertical velocity setpoint exceeds the landing speed, the local_position.z_deriv is used.
2017-12-12 12:14:24 +00:00
Dennis Mannhart
26e85736a5
land_detector: Reduce and detection false negatives due to estimator bias
...
Using the vertical derivative estimate prevents vertical velocity offsets caused by estimation vertical velocity errors preventing the vehicle disarming.
2017-12-12 12:14:24 +00:00
Paul Riseborough
64a06d8523
commander: Fix pre-flight delta velocity bias check level ( #8446 )
...
Previous check level was less than the max achievable by the estimator using current default parameters making the check ineffective.
2017-12-12 11:41:42 +11:00
Daniel Agar
cc216ef918
Jenkinsfile set CI env variable in docker builds
2017-12-11 16:48:39 -05:00
Daniel Agar
f01400d407
check_submodules.sh force update if in CI
2017-12-11 16:48:39 -05:00
Florian Achermann
87646c4ea4
Update the Description of the estimator_status Message ( #8346 )
...
* Fix description of GPS check fail bits in estimator status message
2017-12-11 11:15:34 -05:00
Daniel Agar
86ad2ada71
Jenkins remove fast fail
...
- this saves build resources, but makes finding the actual failure rather hard (with the current blue ocean gui).
2017-12-11 02:15:14 -05:00
Daniel Agar
32cba41bed
cmake handle mavlink v1 submodule only where used
2017-12-10 19:24:05 -05:00
Daniel Agar
1886c8d983
check_submodules try harder when fetching to work around various issues
2017-12-10 19:24:05 -05:00
Daniel Agar
aef7a3cd9a
cmake only init uavcan_board_ident if used
2017-12-10 19:24:05 -05:00
Daniel Agar
ded055f71d
cmake only init cmake_hexagon if used
2017-12-10 19:24:05 -05:00
Daniel Agar
ddc544aabe
Jenkinsfile parallel builds fail fast
2017-12-10 15:58:01 -05:00
Daniel Agar
7aeea62e21
px4fmu-v3_rtps override default naming
2017-12-10 15:58:01 -05:00
Daniel Agar
5bdc6a4eab
Jenkins correctly archive artifacts and print sizes
2017-12-10 15:58:01 -05:00
Daniel Agar
a452554bdf
Jenkins add eagle_default build with docker credentials ( #8442 )
2017-12-10 03:27:48 -05:00
Daniel Agar
5c54449063
Jenkinsfile small optimizations ( #8441 )
...
- combine default and rtps builds (ccache)
- set CCACHE_BASEDIR
2017-12-10 02:32:21 -05:00
Daniel Agar
c56b0a0e7c
Mavlink only stream HOME_POSITION if valid ( #8440 )
2017-12-10 02:31:42 -05:00
lamping7
63718bf27b
fix MISSION_ITEM REACHED message broadcast ( #8332 )
2017-12-10 02:30:58 -05:00
Daniel Agar
bc9a8e4432
cmake nuttx base .px4 file naming on elf binary
2017-12-09 20:35:44 -05:00
Daniel Agar
df4ab8b59e
px4fmu-v3_default name binary appropriately
...
- fixes #8436
2017-12-10 01:07:41 +00:00
Julien Lecoeur
99920c84fe
Jenkins: update arch image to tag 2017-12-08
2017-12-10 01:07:02 +00:00
Julien Lecoeur
ed10921a67
[TO REVERT] Archlinux docker image: use tag pr-archlinux
2017-12-10 01:07:02 +00:00
Julien Lecoeur
0bd5744ebb
Jenkins: build posix_sitl_default and nuttx_px4fmu-v5_default under ArchLinux (GCC7)
2017-12-10 01:07:02 +00:00
Sander Smeets
423241e7e2
Add forwarding on telem2 normal telemetry option ( #8434 )
2017-12-09 19:45:47 -05:00
Paul Riseborough
324c5151e7
ekf2: use local scope for control mask variable
2017-12-08 07:43:13 +00:00
Paul Riseborough
b812f95a77
ekf2: Adjust pre-flight check level
...
Reduce max yaw error when not using global frame aiding data to prevent large yaw yaw changes after takeoff.
2017-12-08 07:43:13 +00:00
Paul Riseborough
ded9ca13e4
ekf2: Reduce sensitivity of preflight yaw check when not doing absolute aiding
...
When the EKF is not fusing in observations from the NE global reference frame, the tolerance to yaw errors is much higher. This changes will prevent false triggering of the preflight fail check when operating indoors without GPS where mag field errors can be high.
2017-12-08 07:43:13 +00:00
Daniel Agar
9819068ee9
Jenkins fetch git tags
2017-12-08 00:17:19 -05:00
Beat Küng
fa929322ab
load_mon: remove usage of CONFIG_RAM_SIZE
...
The define should not be used, as it might be wrong.
This is the case on fmu-v5, which meant that the used RAM was always 1.
2017-12-07 20:28:17 +00:00
Daniel Agar
f1bd94e25b
cmake add git submodule replace . in target name
2017-12-07 20:27:46 +00:00
Dennis Mannhart
4f8f0d8645
mc_pos_control: set triplets to NAN if not in auto mode
2017-12-07 20:27:11 +00:00
Daniel Agar
769fef1d9a
delete leftover px4io-v1 files
2017-12-07 14:48:28 -05:00
Daniel Agar
aef8bf2ce8
delete incomplete nuttx sim config
2017-12-07 14:48:28 -05:00
Daniel Agar
3506f7b828
delete non-functional aerocore 1 remains
2017-12-07 14:48:28 -05:00
Daniel Agar
b4f570e459
NuttX update to latest 7.22+ with pipes poll fix
...
https://github.com/PX4-NuttX/nuttx/pull/7
2017-12-07 14:09:59 -05:00
Beat Küng
c4ee5c318f
px4fmu-v5: make sure the internal ist8310 is detected as internal mag
2017-12-07 17:17:17 +00:00
Beat Küng
a791adf3b9
ist8310: enable internal/external distinction
2017-12-07 17:17:17 +00:00
Beat Küng
a0afc370d0
land detector: move arming state into base class & set param when disarming
...
Before that, different modules (ekf2, commander & land detector) changed
params upon different events:
- ekf2 & commander set params after disarm
- land detector set params on land detected
If the 2 events were several 100ms appart, it led to 2 param saves, and
the latter param set could have been blocked by an ongoing save. And if
the land detector was blocked, it could lead to mag timeouts.
This patch makes all modules use the same event, thus only a single param
save will happen.
If we want to have guarantees to never block, we should introduce a
param_try_set() API method.
2017-12-07 11:55:51 +00:00
Beat Küng
1dbeec6a19
logger: do not write param changes if _should_stop_file_log is set
...
_should_stop_file_log is set after disarming: logging continues for 1s
to measure the CPU usage.
During that time, other modules might change params (such as ekf), and
we don't need to have these the log. However currently all modules do
not notify the system when setting params after disarming.
Meaning this patch is not strictly needed, it's more a preventive
measure.
2017-12-07 11:55:51 +00:00
Paul Riseborough
b5be990109
lpe: fix incorrect setting of local_position.z_global
2017-12-07 08:20:16 +00:00
Paul Riseborough
8d89e5e40b
commander: rework centralise home position publication
...
This fixes a bug preventing use of auto and RTL when taking off with GPS.
2017-12-07 08:20:16 +00:00
Paul Riseborough
41f3e1f9b4
commander: centralise home position publication
2017-12-07 08:20:16 +00:00
Paul Riseborough
934a7af579
commander: Set home alt to EKF origin if global navigation commences in-flight
...
The EKF origin height is calculated to be where the vehicle was at takeoff and is suitable as a surrogate home altitude.
2017-12-07 08:20:16 +00:00
Paul Riseborough
49d82164c6
navigator: check home position horizontal and vertical validity
2017-12-07 08:20:16 +00:00
Paul Riseborough
024589d63d
msg: Add separate vertical and horizontal validity flags to home_position
...
If we have taken off without GPS and gained it in flight, the home vertical position can be set, but not the horizontal.
2017-12-07 08:20:16 +00:00
Paul Riseborough
a81c49014f
mc_pos_control: reset height reference when global position available
...
This enables the reference height to be reset when global vertical position becomes available in-flight.
2017-12-07 08:20:16 +00:00
Daniel Agar
db8900fffc
cmake improve git submodule dependencies
2017-12-06 21:15:32 -05:00
Daniel Agar
1086d4a1e4
Jenkins clear ccache stats before each build
2017-12-06 20:33:06 -05:00
Daniel Agar
2fa1702c71
Jenkins temporarily disable coverage and clang-tidy
...
- check format first to reduce build utilization
2017-12-06 19:46:56 -05:00
Daniel Agar
8d39f4e4a1
px4io only update params and bind if not armed
2017-12-06 10:08:00 +00:00
Daniel Agar
f748b38b3a
mc_att_control set timestamp_sample from gyro
2017-12-06 10:08:00 +00:00
Paul Riseborough
f6b108c2b6
ecl: Use branch Release_1.7.0 ( #8406 )
...
This branch fixes a reported bug, fixes tow potential bugs and fixes a minor documentation error.
1) Removes code un-used under normal conditions that would prevent a height reset if a negative height variance was present. Potential bug.
2) Fix error in parameter documentation.
3) Adds missing initialisations for class variables . Potential bug.
4) Prevents the EKF loss of navigation message being output on startup. Reported bug.
2017-12-06 00:04:34 -05:00
Beat Küng
2f18a3699c
micrortps_bridge: add optical_flow to the set of received topics
...
Required for Optical Flow on the Aero via RTPS
2017-12-05 23:48:15 -05:00
Julien Lecoeur
bcceadcb85
NuttX: silence warnings -Wimplicit-fallthrough and -Wnonnull-compare
2017-12-05 22:51:43 -05:00
Julien Lecoeur
9fb98dad3e
Fix warning -Wimplicit-fallthrough
2017-12-05 22:51:43 -05:00
Sander Smeets
b21af471ac
QuadChute monitor tecs height rate ( #8395 )
2017-12-04 13:12:44 -05:00
Paul Riseborough
fa5010109e
commander: Reset nav test when vehicle is disarmed
...
Previously, the only way to clear a failed nav test was to reboot. This hindered testing.
2017-12-04 09:09:54 +00:00
Paul Riseborough
d783bc8ae1
commander: Check for nav divergence due to bad yaw at takeoff
...
This check is performed for up to 30 seconds after takeoff or until a horizontal speed of 5 m/s has been achieved.
If the vehicle is not landed and the check is active, then the yaw will be declared as failed if the velocity innovations fail for a continuous period of 1 second.
This will cause the local and global position and velocity validity to be latched false to prevent unsafe use of position control modes.
2017-12-04 09:09:54 +00:00
Paul Riseborough
afe857dfe6
commander: rework preflight GPS checks
...
Fix the bug allowing arming without GPS checks passed in the first 20 seconds after gaining GPS lock when COM_ARM_WO_GPS is set to 0
Allow 10 seconds after boot for EKF quality checks to pass before reporting failure to allow EKF to stabilise.
Move GPS quality checking and reporting to after all innovation and bias checks.
Make messages more informative.
Add missing GPS speed accuracy check.
2017-12-04 09:09:54 +00:00
Paul Riseborough
c09eecbab1
commander: prevent ekf checking being bypassed if GPS checking is disabled
2017-12-04 09:09:54 +00:00
Paul Riseborough
ddfe077f7c
commander: strengthen pre-flight fail checking
...
The commander checks use instantaneous values which are vulnerable to false negatives or positives with noisy data or transient faults.
This patch checks the estimators published pre flight check status which is based on persistent checks using filtered data.
2017-12-04 09:09:54 +00:00
Paul Riseborough
fc80be0917
ekf2: improve preflight checks and publish status
...
Separate the vertical and horizontal checks for use by local position validity reporting
Add checking of yaw using a decaying envelope filter to the horizontal checks.
Publish the check result to estimator_status topic.
2017-12-04 09:09:54 +00:00
Paul Riseborough
92bcc63418
msg: add pre flight check status message
2017-12-04 09:09:54 +00:00
David Sidrane
c0a94cda07
px4-same70xplained-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
23cfef5753
px4-same70xplained-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
c621965a2b
zubaxgnss-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
1812d677c5
tap-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
c4b2f39cf4
s2740vc-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
58af82312b
px4nucleoF767ZI-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
b85fbd496f
px4io-v2:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
e9a318e4f7
px4fmu-v5:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
093563efb0
px4fmu-v4pro:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
c9ed286874
px4fmu-v4:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
ad687cde62
px4fmu-v2:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
096b25550d
px4fmu-v2:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
e4f7b76296
px4flow-v2:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
c1ae7c76df
px4esc-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
6b30a41da2
px4cannode-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
c76f90f078
px4-stm32f4discovery:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
e15e9ba5c7
px4-same70xplained-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
fea11f1d47
nxphlite-v3:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
9879bea611
mindpx-v2:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
8b6e447875
esc35-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
d9cd9183db
crazyflie:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
687dbea572
auav-x21:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
66d2509670
aerofc-v1:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
David Sidrane
db02eac009
aerocore2:Ensure _ebss will be 4 byte aligned
2017-12-03 14:11:35 +00:00
Hamish Willee
6bb3e65d23
Make non-wrapping/scrolling table
2017-12-03 14:10:50 +00:00
Hamish Willee
c551496a41
Stop parameter names from wrapping in markdown table
2017-12-03 14:10:50 +00:00
ChristophTobler
2ca2382dbb
tap_esc: replace FILE with file_t from base class device
2017-12-03 14:10:20 +00:00
ChristophTobler
06a9f54796
tap_esc: changes needed to run on qurt
2017-12-03 14:10:20 +00:00
Lorenz Meier
0e1c7eb2d2
IO driver: Reflect availability of override state in safety topic
...
This allows other components to correctly configure for potential manual override states if the pilot chooses to enable them.
2017-12-02 11:39:52 +00:00
Lorenz Meier
1b7d3883a4
Commander: Obey override / manual reversion mode from external override device
...
This change will force commander into manual reversion mode when an external override device (like PX4IO) overrides the system externally. This is not a functional change on the outputs, as they were in override mode even without this patch. However, this change ensures that the system state is consistent with the output state and also ensures that the pilot and operator has better situational awareness when he / she triggers the manual reversion without realizing it.
2017-12-02 11:39:52 +00:00
Lorenz Meier
4abc578932
Commander: State machine helper documentation
...
Future contributors need to know about the time constraints that the execution of this function needs to satisfy.
2017-12-02 11:39:52 +00:00
Lorenz Meier
67fa220d61
IO driver: Report override device state
...
This allows other components to correctly register the IO override status.
2017-12-02 11:39:52 +00:00
Lorenz Meier
39f4b205e7
Safety: Add field for override inputs
...
This is helpful for safety devices that have an external override input. This helps to put the autopilot in an override scenario into a sane state, instead of letting it believe its still in control.
2017-12-02 11:39:52 +00:00
Avinash Reddy Palleti
b1a16840c7
Fix typo error in micrortps_client module
...
Fixed the typo error in micrortps_client which was causing issue to update
baudrate and other options.
2017-12-01 12:56:45 +01:00
Daniel Agar
1a9e2ac789
cmake NuttX wrapper work around windows cygwin path issues
2017-12-01 02:04:28 -05:00
Daniel Agar
fedc9abb02
vtol_att_control increase stack by 30 Bytes (1200 -> 1230)
2017-11-29 16:01:40 -05:00
Daniel Agar
f63c8218e4
Jenkins increase test timeout
2017-11-28 23:50:17 -05:00
Daniel Agar
66d4a1b3fd
Jenkins increase timeout to 30 minutes for now
2017-11-28 19:46:54 -05:00
Daniel Agar
ba8153afd9
px4fmu-v5_rtps fix config type (v4 -> v5)
2017-11-28 19:46:54 -05:00
Daniel Agar
23d7c687fe
Jenkins add rtps builds and cleanup
2017-11-28 19:46:54 -05:00
Daniel Agar
376908b025
travis-ci remove tests, coverage, clang-tidy ( #8383 )
...
- these builds have migrated to ci.px4.io
2017-11-28 15:39:40 -05:00
Daniel Agar
0c10dc714d
Jenkinsfile add all NuttX, Raspberrypi, Bebop, Ocpoc builds ( #8381 )
2017-11-28 12:32:26 -05:00
Daniel Agar
42e01cde43
RC params delete incorrect comment
2017-11-27 20:05:12 -05:00
Daniel Agar
f19faca78b
delete unused RC_TH_USER
2017-11-27 20:05:12 -05:00
Daniel Agar
a398ffd7d9
delete unused RC_RL1_DSM_VCC
2017-11-27 20:05:12 -05:00
Nicolas de Palezieux
a6ae1fbcaa
vehicle command ROI: do not erroneously report command unsupported; handle VEHICLE_CMD_DO_SET_ROI and VEHICLE_CMD_NAV_ROI identically ( #8377 )
2017-11-27 15:43:39 -05:00
Daniel Agar
ed7f333fe8
sensors delete disabled ATT_VIBE_THRESH ( #8372 )
2017-11-26 17:25:45 -05:00
Daniel Agar
1d1da12859
delete exampales ekf_att_pos_estimator
2017-11-26 16:42:26 -05:00
Daniel Agar
d5ea688f00
delete exampales attitude_estimator_ekf
2017-11-26 16:42:26 -05:00
Daniel Agar
dd7e82389c
delete examples mc_pos_control_multiplatform
2017-11-26 16:42:26 -05:00
Daniel Agar
53e6d7eb9f
delete examples mc_att_control_multiplatform
2017-11-26 16:42:26 -05:00
Daniel Agar
b8e24b5d2f
uORB delete unused vehicle_force_setpoint
2017-11-26 16:39:30 -05:00
Daniel Agar
d3c87c77d2
uORB delete unused pwm_output
2017-11-26 16:39:30 -05:00
Daniel Agar
6ca86c3608
uORB delete unused filtered_bottom_flow
2017-11-26 16:39:30 -05:00
Amir Melzer
a8787e8fe3
Add a driver for the Analog Devices ADIS16448 IMU ( #8301 )
2017-11-26 14:52:22 -05:00
Daniel Agar
246c47e0db
RTL land use mavlink critical and log when starting landing
2017-11-26 14:40:13 -05:00
Daniel Agar
8567e3b924
RTL fix RTL_LAND_DELAY check and simplify logic
2017-11-26 14:40:13 -05:00
Julien Lecoeur
9439eaa5fa
Python import error: Recommend pip over apt-get
...
closes #8297
The package python-toml does not exist in older (<= 14.04) versions of ubuntu.
2017-11-26 14:07:08 -05:00
Andreas Antener
4f5d70bbe5
Increase fixed-wing l1 navigation radius limit
2017-11-26 14:43:25 +01:00
Daniel Agar
d6a609c552
FW enable EKF2 synthetic sideslip fusion by default
2017-11-25 21:01:00 -05:00
Daniel Agar
ae42923025
uORB msg delete unused hil_sensor
2017-11-24 19:46:33 -05:00
Daniel Agar
2a6f915dfe
px4io delete old v1 battery current and voltage
2017-11-24 22:22:14 +01:00
Daniel Agar
04fa54a077
Jenkins clean before building
2017-11-24 14:33:03 -05:00
sanderux
b305900cae
Scale FW cruise throttle based on baro presure
2017-11-24 16:33:57 +01:00
Martina
a61974709b
mc_pos_control_main: wrap yaw attitude setpoint for offboard mode
2017-11-24 09:10:31 +01:00
Daniel Agar
ec27865184
px4fmu-v2 add additional modules and sync with v3
2017-11-24 09:02:17 +01:00
Daniel Agar
01691e626b
Merge FMUv3 into FMUv2
2017-11-24 09:02:17 +01:00
Daniel Agar
08a108ee1b
restore FMUv2 board versioning
2017-11-24 09:02:17 +01:00
Robbie Sharma
ab51a41793
Removed [cal] references from calibration_log_critical() routines.
2017-11-24 08:12:37 +01:00
Daniel Agar
b569a8c2b9
fw_pos_control_l1 increase stack by 110 Bytes ( #8348 )
2017-11-23 17:09:05 -05:00
Daniel Agar
d6b455bb06
nuttx-configs remove unused aerocore
2017-11-23 12:35:55 -05:00
Daniel Agar
f170b28fbc
nuttx-configs remove cu and mount example
2017-11-23 12:35:55 -05:00
ChristophTobler
a0f935916a
add killswitch (manual_lockdown) to Snapdragon uart ESC
2017-11-23 07:10:44 +01:00
Daniel Agar
d1a4c2dcd0
cmake handle git submodule depdencies
2017-11-23 00:22:45 -05:00
Daniel Agar
cea2c36000
gitmodules add branch tracking
...
- update mavlink, cmake_hexagon, uavcan_board_ident to latest
2017-11-23 00:22:45 -05:00
Daniel Agar
7a5a497725
version lib find correct directory when used as a submodule
2017-11-23 00:22:45 -05:00
Florian Achermann
a5cc4bcd08
Update SDP3x Airspeed Correction ( #8242 )
...
Update the model for the standard configuration based on the model from Sensirion and add also an option to do the tube pressure loss correction from Sensirion for other configurations.
2017-11-22 22:03:26 -05:00
Daniel Agar
85a7a0a86a
parameters.xml sort parameters by name, sort enums by value
2017-11-22 13:42:54 -05:00
Daniel Agar
698bc7d848
qurt fc_addon fix missing library linking and cleanup
2017-11-22 10:36:51 +01:00
Daniel Agar
822fc5725c
cmake px4_add_module() make properties private
2017-11-22 10:36:51 +01:00
Daniel Agar
fc80846825
simplify param scoping and centralize dependencies
2017-11-22 10:36:51 +01:00
Daniel Agar
e5cc1237e3
travis-ci fix coverity build
2017-11-22 02:23:07 -05:00
Avinash Reddy Palleti
456227f39e
Add RTPS cmake config for AeroFC
...
Adding a seperate cmake config to support RTPS messaging on AeroFC. This will
include compiling protocol_splitter and micrortps_client, and starting both
of them at boot time.
2017-11-21 16:51:46 +01:00
Daniel Agar
8873d2d696
travis-ci coverity build install python-toml python-numpy
2017-11-21 00:39:53 -05:00
Daniel Agar
1a4f4b083c
cmake nuttx keep builtins generated by nuttx apps ( #8323 )
2017-11-20 20:20:05 -05:00
Daniel Agar
00a47ba542
drivers device I2C consistency between nuttx/posix
2017-11-20 23:44:31 +01:00
Daniel Agar
8738fe8daf
drivers device naming consistency
2017-11-20 23:44:31 +01:00
Daniel Agar
53595bac0e
board support add px4_i2c_bus_external/px4_spi_bus_external
2017-11-20 23:44:31 +01:00
Daniel Agar
2aeb4aa55f
drivers device move locking to cdev
2017-11-20 23:44:31 +01:00
Daniel Agar
bf435fc520
drivers device merge nuttx and posix Device and CDev
2017-11-20 23:44:31 +01:00
Daniel Agar
c6b6164cf7
drivers device nuttx remove unused interrupt support
2017-11-20 23:44:31 +01:00
Daniel Agar
5d20cf6b57
drivers device organize by nuttx/posix
2017-11-20 23:44:31 +01:00
Daniel Agar
c1c176d65b
cmake nuttx build net if enabled
2017-11-18 20:52:10 +01:00
makekam
3c252d973d
mpu9250 test command use correct mag units ( #8313 )
2017-11-18 11:54:35 -05:00
Daniel Agar
7608cec1ed
cmake NuttX improve builtin generation dependencies
2017-11-18 11:52:55 -05:00
Daniel Agar
d35de9b4e3
cmake nuttx copy source into build with relative paths
...
- this works around cygwin path issues on windows
2017-11-18 11:52:55 -05:00
sanderux
a07a2ebd73
Better scaling for reverse mixer
2017-11-18 13:51:46 +01:00
makekam
6ddbe91f42
Change the name of sdlog file in case of differential gps
...
The fix_type variable in ubx.cpp may be assigned to 4(DGPS) or 5(Float RTK) or 6(Fixed RTK). So if we use differential gps, the value of the fix_type variable may not be 3. But gps still has 3d data and gps time. So The name of the file should named with gps time.My ublox differential gps fix_type is 5 (Float RTK).
2017-11-18 13:49:58 +01:00
makekam
e9e663432b
bmm150 fix I2C bus define ( #8261 )
...
According to the board_config.h shown. bmm150 only on the external i2c bus
2017-11-15 23:30:09 -05:00
Daniel Agar
cc0be3e150
README remove gitter badge
2017-11-15 22:47:58 -05:00
Beat Küng
3744cac1bb
fix mc_att_control: re-add dropped acro parameters ( #8293 )
...
and make sure the vtol params are always initialized
This got lost in 4416c4ddb3
2017-11-15 10:08:22 -05:00
Paul Riseborough
44a71ad6c9
ekf2: Update parameter descriptions ( #8292 )
...
Make it clearer that the gate parameters control innovation consistency checks and that the gate size is specified in standard deviations.
Also make it clear that the EKF2_BARO_GATE also controls the GPS height fusion.
2017-11-15 09:19:08 -05:00
Matthias Grob
26171df9fc
mc_pos_control: save previous velocity setpoint after constraining, fix smooth takeoff to be still excluded from slewrate
2017-11-15 10:38:57 +01:00
Julien Lecoeur
26d95ef674
Mixers: Include mixer_multirotor_normalized.generated.h everywhere
2017-11-15 09:56:10 +01:00
Julien Lecoeur
2ca00f1a65
Docker: update images to tag 2017-10-23
2017-11-15 09:56:10 +01:00
Julien Lecoeur
4be4ad86a0
Mixers: Add geometry quad_s250aq
2017-11-15 09:56:10 +01:00
Julien Lecoeur
3a1c5f8a94
Mixers: do not allow several mixers with same name or key
2017-11-15 09:56:10 +01:00
Julien Lecoeur
76447b0f4e
Mixers: Use geometry filename as mixer name
2017-11-15 09:56:10 +01:00
Julien Lecoeur
d43b33b1c4
Move src/lib/mixer/geoms to src/lib/mixer/geometries
2017-11-15 09:56:10 +01:00
Julien Lecoeur
b6911c2266
Mixers: Rename geom -> geometry(ies)
2017-11-15 09:56:10 +01:00
Julien Lecoeur
c95229faab
Mixers: add --verbose option to print matrices
2017-11-15 09:56:10 +01:00
Julien Lecoeur
142cd7ee75
Mixers: write to stdout if no output file is provided
2017-11-15 09:56:10 +01:00
Julien Lecoeur
679f33b406
Mixers: raise exception if no input geometry is provided
2017-11-15 09:56:10 +01:00
Julien Lecoeur
9e045e3b2a
Mixers: use os.path.join
2017-11-15 09:56:10 +01:00
Julien Lecoeur
89642a9203
Move src/module/systemlib/mixer to src/lib/mixer
2017-11-15 09:56:10 +01:00
Julien Lecoeur
d46c37be79
Mixers: raise exception when geom file is incomplete
...
pylint format
2017-11-15 09:56:10 +01:00
Julien Lecoeur
cb8d951a7e
Mixers: add geoms quad_vtail (tilted props) and quad_y (rear coax props)
...
quad_vtail: reverse prop direction (same quad_h) to combine yaw torque induced by propellers and yaw torque induced by tilted rotors.
2017-11-15 09:56:10 +01:00
Julien Lecoeur
3e35dcb7dd
Mixers: Use geometry of SK450 deadcat for both quad_wide (centered CG) and quad_deadcat (off-centered CG)
2017-11-15 09:56:10 +01:00
Julien Lecoeur
758d214dd1
Mixers: Add geometries
...
Mixers: add quad_x, quad_h, quad_plus
Mixers: add quad_deadcat
Set quad_deadcat.toml according to dimensions of SK450 deadcat
Mixers: add hex_x, hex_plus, hex_cox and hex_t
Mixers: add geoms octa_x, octa_plus, octa_cox
Mixers: add wide geoms
Mixers: add tri_y and twin_engine geoms
Mixers: add dodeca geoms
Mixers: Add geom quad_x_pusher
2017-11-15 09:56:10 +01:00
Julien Lecoeur
2c4228ce98
Mixers: generate all versions (new,normalized,6dof,legacy)
2017-11-15 09:56:10 +01:00
Julien Lecoeur
99f6c4dbc3
Mixers: Generate from geometry description files
...
Mixers: List geom files in CMakeLists.txt
Mixers: add option to normalize like legacy script
Fix py2 compatibility
2017-11-15 09:56:10 +01:00
Julien Lecoeur
f06695c7b1
CircleCI: install python-toml
2017-11-15 09:56:10 +01:00
Julien Lecoeur
4991ab5362
Mixers: use key list to select multirotor mixer
2017-11-15 09:56:10 +01:00
Daniel Agar
aa789f5e8a
voted sensors set enabled by default
2017-11-15 01:34:59 -05:00
Daniel Agar
fabab8ac4d
sensors remove barometer enabled check for now
2017-11-15 01:34:59 -05:00
Daniel Agar
8d27925443
change CAL_MAG_SIDES param group
2017-11-14 15:54:37 -05:00
Daniel Agar
1ccbaf4cd2
sensors params split by sensor index
2017-11-14 15:54:37 -05:00
Daniel Agar
273742aa0d
add boolean parameters to enable/disable each sensor
2017-11-14 15:54:37 -05:00
Daniel Agar
84f07c64b0
Navigator RTL fully initialize mission item in each state
2017-11-14 14:57:34 -05:00
Daniel Agar
98cbd44526
RTL check alt_max before using
...
- fixes #8257
2017-11-14 14:57:34 -05:00
Dennis Mannhart
05c00855c4
navigator: reset triplets if navigation mode changes ( #8285 )
2017-11-14 11:32:21 -05:00
Julien Lecoeur
ef906d08d3
Jenkins: update docker image ( #8286 )
2017-11-14 10:01:07 -05:00
Paul Riseborough
a410893080
ecl: Update ekf2 to version that addresses known vulnerabilities
...
See:
https://github.com/PX4/ecl/pull/350
https://github.com/PX4/ecl/pull/354
Note the amount of stack allocation has had to be increased to accomodate pr350
2017-11-13 22:50:12 +01:00
Beat Küng
c2c8ed6f5c
navigator: make FollowTarget::_follow_position_matricies constexpr ( #8281 )
...
The matrix is never changed and has a size of 144 bytes.
2017-11-13 12:30:33 -05:00
ChristophTobler
f2e8aabda4
use int32_t instead of int
2017-11-13 16:59:03 +01:00
Julian Oes
585b03898f
vtol_att_control: ack transition commands
...
Previously transition commands were not acked at all which meant that a
mavlink consumer such as a ground station would not get feedback if the
command arrived.
This solution is not optimal because it does not take into account if
the transition actually happened but at least it is feedback that the
command has arrived at the destination.
2017-11-13 09:56:11 -05:00
Lorenz Meier
4028692bfe
Navigator: Limit string copy to length of target array
2017-11-13 09:59:54 +01:00
korigod
c3fe7e989e
integrationtests: upgrade numpy before px4tools install ( #8274 )
...
During px4tools installation, the latest version of pandas is
installed, which requires numpy>=1.9.0. Pandas installs the required
version, however, due to the presence of the old numpy in the docker
image, the present version 1.8.2 is used, which leads to an error
when importing pandas.
This commit fixes the problem by explicitly upgrading numpy before
px4tools installation.
Signed-off-by: Andrey Korigodsky <akorigod@gmail.com >
2017-11-12 23:33:36 -05:00
garfieldG
cddea6f4b3
Fixed version firmware type ( #8250 )
...
* Fixed the version tag to number and version tag to vendor version number to return dev version in case of any local modifications or in case there's a dash before firmware type in tags that support vendor version.
2017-11-11 20:04:16 -05:00
Julien Lecoeur
4e7bd576cb
generate_listener.py: generate one function per topic to fit function sizelimit
2017-11-09 10:54:35 +01:00
Julien Lecoeur
8f2759ba79
topic_listener: allow multi-topic messages
2017-11-09 10:54:35 +01:00
Beat Küng
cf7140526a
jMAVSim: update submodule to include fix for VMware driver
2017-11-08 10:47:57 +01:00
Daniel Agar
0a58bd309c
EKF2 always publish status message ( #8234 )
...
* EKF2 always publish status message
* EKF2 fix comment typo
* EKF2 time slip use signed int and consolidate
* EKF2 minor readability improvements
2017-11-08 07:55:50 +11:00
Daniel Agar
aa699cf4b7
Jenkins track test results ( #8236 )
2017-11-05 15:04:14 -05:00
TSC21
5a17f6b2d5
lpe: update _sensorTimeout init on constructor
2017-11-03 23:45:43 +01:00
TSC21
483f0d55e0
lpe: style fix
2017-11-03 23:45:43 +01:00
TSC21
051822eee1
lpe: remove unneeded subscriber to manual_control_setpoint
2017-11-03 23:45:43 +01:00
TSC21
691c35f47e
lpe: small fixes
2017-11-03 23:45:43 +01:00
TSC21
e6efb5ec0a
lpe: update _sensorTimeout and _sensorFault to handle support of more sensors
2017-11-03 23:45:43 +01:00
TSC21
392999c2df
lpe: fix innovation covariance publishing
2017-11-03 23:45:43 +01:00
avinash-palleti
76fcd99241
Fix protocol_splitter compilation issues ( #8230 )
...
Fixing compilation warnings which are treated as errors.
2017-11-03 15:35:46 +05:30
Beat Küng
459a71a6f1
mavlink_receiver: directly pass the result to acknowledge()
...
And use denied in case ulog streaming fails.
2017-10-31 22:16:06 +01:00
Beat Küng
a2db639289
mavlink_receiver: disable ulog streaming via Telemetry links
...
Telemetry links don't have enough bandwidth for that feature. The vehicle
will return a NACK when trying to enable log streaming on such a link.
2017-10-31 22:16:06 +01:00
Beat Küng
8f7a5d0e0c
mavlink_receiver: merge handle_message_command_{long,int} into a common method
2017-10-31 22:16:06 +01:00
Beat Küng
29af2343e1
fix NAV_TRAFF_AVOID param definition: needs a ;
...
Without that the parameter was not in parameters.xml, producing the error:
ERROR [lib__controllib] error finding param: NAV_TRAFF_AVOID
2017-10-31 11:18:49 +01:00
Lorenz Meier
a1a002f9b6
Navigator: Add the ability to do a low-altitude RTL to avoid traffic
...
This is a first baseline implementation for collision avoidance with aircraft equipped with transponders. Since the drone-to-drone and drone-to-airplane system will be regulated by a standard, we do carefully avoid to do anything too fancy. This implementation allows to reduce altitude to get close to ground and land immediately or RTL. This is similar to what a human pilot would do and allows to get out of manned airspace which is at higher altitudes.
2017-10-31 09:10:32 +01:00
Daniel Agar
330eed2bd6
circleci parallel compile
2017-10-31 08:13:38 +01:00
Daniel Agar
56bbe541ae
travis-ci remove tests under UBSAN
2017-10-31 08:13:38 +01:00
Daniel Agar
9ff7f05d94
travis-ci remove tests under ASAN
2017-10-31 08:13:38 +01:00
Daniel Agar
43c0622819
travis-ci remove scan-build
2017-10-31 08:13:38 +01:00
Daniel Agar
c4fd467c19
travis-ci remove cppcheck
2017-10-31 08:13:38 +01:00
Daniel Agar
a567b94802
travis-ci remove check_stack
2017-10-31 08:13:38 +01:00
Daniel Agar
02339055e7
travis-ci remove check_format
2017-10-31 08:13:38 +01:00
Daniel Agar
14fefca85e
vmount delete InputTest on error
...
- fixes CID 139488
2017-10-31 08:12:12 +01:00
Daniel Agar
0931efb3f0
vmount initialize params
...
- fixes CID 199479
2017-10-31 08:12:12 +01:00
Daniel Agar
ce78f254c2
mavlink parameters initialize struct
...
- fixes CID 141890
2017-10-31 08:11:18 +01:00
Daniel Agar
5436801435
esc_calib properly cleanup on failure
...
- fixes CID 139514
2017-10-31 08:10:51 +01:00
Daniel Agar
21995bd4b7
sensors ignore invalid failover index
...
- fixes CID 199478
2017-10-31 08:10:04 +01:00
sanderux
dd9179efc9
Adaptive QuadChute disabled in manual modes
2017-10-30 20:57:47 +01:00
sanderux
fc16a31f89
Adaptive quadchute
2017-10-30 20:57:47 +01:00
Beat Küng
9c8dc3941d
commander: fix 'commander arm' not working in HIL mode
...
This got introduced with 61b0a81bf9 . Due to the removed startup_in_hil flag,
this check does not work anymore, so remove it completely.
2017-10-30 20:53:58 +01:00
davidaroyer
f6693f1f17
drivers: remove ocpoc_sbus_rc_in
2017-10-30 20:53:28 +01:00
davidaroyer
2fab183731
posix-configs: use linux_sbus on ocpoc
2017-10-30 20:53:28 +01:00
davidaroyer
b0942e996b
cmake: use linux_sbus for ocpoc target
2017-10-30 20:53:28 +01:00
davidaroyer
090b668075
cmake: add missing vehicle control modules to ocpoc
2017-10-30 20:53:28 +01:00
Daniel Agar
466eb9ceb4
travis-ci remove metadata build and s3 uploads
2017-10-30 15:25:08 -04:00
PX4 Build Bot
642c2ca2f5
don't update devguide and user guide from pipeline
2017-10-30 15:25:08 -04:00
Lorenz Meier
afc8503260
PX4IO Firmware: Fix usage of new operator in IRQ
...
The mixer was creating a new class in interrupt context, which is not valid use in NuttX. This change copies the mixer into the buffer and runs the mixer management section of the code outside of interrupt context in the normal task.
2017-10-30 20:03:19 +01:00
Daniel Agar
509ac10ccc
JenkinsFile updates ( #8210 )
...
- check format first
- build on nuttx_px4fmu-v2_default
- generate all metadata
- stubs for deploying metadata and binaries
2017-10-30 10:20:23 -04:00
Paul Riseborough
b3d045d4d0
Revert "add boolean parameters to enable/disable each sensor"
...
This reverts commit 9fde19259e .
2017-10-30 20:49:36 +11:00
Paul Riseborough
3a57712d2b
ecl: Use commit on master
...
This is a non-functional change that point to a commit on master instead of the merged branch.
2017-10-30 08:21:09 +01:00
Paul Riseborough
589d58ce87
ekf2: Fix bug preventing first IMU failover bias reset
2017-10-30 08:21:09 +01:00
Paul Riseborough
0c9e07c95a
ekf2: repeat IMU bias reset until successful
2017-10-30 08:21:09 +01:00
Daniel Agar
9fde19259e
add boolean parameters to enable/disable each sensor
2017-10-29 16:24:31 +01:00
Daniel Agar
e1e3c9fca9
sensors split accel/gyro/mag calibration parameters
2017-10-29 16:24:31 +01:00
Daniel Agar
8b7de092a2
sensors delete unused CAL_BOARD_ID
2017-10-29 16:24:31 +01:00
Daniel Agar
2a1ecaa13e
sensors reduce priority of a failed sensor
2017-10-29 16:24:31 +01:00
Daniel Agar
e5ead354f0
EKF2 reset IMU bias if the accel or gyro changes
2017-10-29 16:24:31 +01:00
Julian Oes
6d8d6323cb
navigator: bring follow me back to life
...
The function `mission_item_to_position_setpoint()` is called in
`FollowTarget::update_position_sp()`. The nav_cmd is a
NAV_CMD_DO_FOLLOW_REPOSITION as set earlier in `set_follow_target_item`.
Since `mission_item_to_position_setpointi` returns early because the item
presumably contains no position, the lat/lon of the mission_item are
not copied over to the position_setpoint and therefore the vehicle will
never move in follow me position mode.
2017-10-29 12:58:00 +01:00
Julian Oes
10de946cdf
navigator: remove leftover debug variable
2017-10-29 12:58:00 +01:00
Matthew Dailey
bcb8852c99
Use fabsf instead of fabs for floats
2017-10-29 12:57:10 +01:00
Matthew Dailey
e95410882b
Fix type of MNT_OB_LOCK_MODE and MNT_OB_NORM_MODE parameters
...
Fixes issue #8178
2017-10-29 12:57:10 +01:00
Daniel Agar
f4b7a1911e
circleci fix build reconfigure loop ( #8202 )
...
- use make instead of ninja on OSX for now
2017-10-27 11:45:00 -04:00
Daniel Agar
db6e2d17ce
initial Jenkinsfile ( #8201 )
2017-10-27 10:47:38 -04:00
Beat Küng
44839208f7
jmavsim_run.sh: add more aggressive GC option
...
This reduces memory usage by roughly 100MB on my laptop
2017-10-27 10:43:45 +02:00
Beat Küng
083a59ebc0
Tools/jMAVSim: update submodule (updated textures & rendering)
2017-10-27 10:43:45 +02:00
Beat Küng
9b85b39c07
syslink_main: fix int type passed to param_get()
2017-10-27 10:43:15 +02:00
Beat Küng
a2fd9ef2d0
PreflightCheck: use correct type for params (int -> int32_t)
2017-10-27 10:43:15 +02:00
Beat Küng
207fdc0f12
mc_att_control_main: use correct type for params (int -> int32_t)
2017-10-27 10:43:15 +02:00
Beat Küng
c3b47b71de
temperature_compensation: use correct type for params (int -> int32_t)
2017-10-27 10:43:15 +02:00
Beat Küng
96616d831e
sensors: fix parameter type int -> int32_t
2017-10-27 10:43:15 +02:00
Beat Küng
8a693fa13d
param: undefine CHECK_PARAM_TYPE after it's used
2017-10-27 10:43:15 +02:00
Beat Küng
dbb0414e01
commander: remove unused SYS_AUTOSTART param
2017-10-27 10:43:15 +02:00
Beat Küng
8cbd772489
commander: fix wrong parameter types (these are defined as float, not int)
2017-10-27 10:43:15 +02:00
Beat Küng
d74f792784
commander: fix type passed to param_get()
2017-10-27 10:43:15 +02:00
Beat Küng
f9dedd627f
camera_feedback: fix type passed to param_get()
2017-10-27 10:43:15 +02:00
Beat Küng
ca7e6fc918
camera_trigger: fix type passed to param_get()
2017-10-27 10:43:15 +02:00
Beat Küng
530fdb0b61
arm_auth: make type passed to param_get() explicit
2017-10-27 10:43:15 +02:00
Beat Küng
861f5a3d11
mag_calibration: fix type passed to param_get()
2017-10-27 10:43:15 +02:00
Beat Küng
0dcf9775f1
LandDetector: make type passed to param_get() explicit
2017-10-27 10:43:15 +02:00
Beat Küng
41a4d07e4f
logger: make type passed to param_get() explicit
2017-10-27 10:43:15 +02:00
Beat Küng
c997698030
mavlink: fix type passed to param_get()
2017-10-27 10:43:15 +02:00
Beat Küng
07d7b29729
simulator_mavlink: fix type passed to param_get()
2017-10-27 10:43:15 +02:00
Beat Küng
c35b0aa270
param: redefine type-safe versions for param_get() when used in C++ code
2017-10-27 10:43:15 +02:00
Daniel Agar
4416c4ddb3
navigator move parameters out of MissionBlock
...
- MissionBlock is an interface with > 10 implementations
2017-10-26 22:43:53 +02:00
ChristophTobler
8e457b6037
reset setpoint to current position
...
avoid abrupt position changes as the delta can be quite big depending on deadreckoning/imu
2017-10-26 21:36:36 +02:00
Daniel Agar
bd84061ea5
px4fmu-v2_default add sf1xx driver ( #8185 )
...
- closes #8177
2017-10-26 09:42:09 -04:00
mirkix
69231ea249
SDP3X: fix comment
2017-10-26 00:58:27 +02:00
Daniel Agar
48cfb37c5a
move bottle_drop to examples ( #8187 )
2017-10-25 16:05:39 -04:00
TSC21
2a2d968b2c
modules: lpe: fix double correction on lidar
2017-10-25 19:39:33 +01:00
Matthew Edwards
335c319b2e
vmount: Use MNT_DO_STAB parameter for defaults in InputMavlinkCmdMount as well.
2017-10-25 11:30:31 +02:00
Matthew Edwards
fdf4eb0bd6
vmount: Store offset in radians and calculated scale factor in OutputConfig instead of raw parameters.
2017-10-25 11:30:31 +02:00
Matthew Edwards
ccf3e71b56
Bump parameter.xml minor version ( #8120 ).
2017-10-25 11:30:31 +02:00
Matthew Edwards
2f40bc3a78
vmount: Add parameters for servo range and offset and whether to stabilize ( #8120 ).
...
Adds MNT_DO_STAB for whether to stabilize by default.
Adds MNT_RANGE_{PITCH,ROLL,YAW} for the output range of each output channel in AUX mode (instead of hardcoded 360 degrees).
Adds MNT_OFF_{PITCH,ROLL,YAW} for adjusting the zero point of each output channel.
2017-10-25 11:30:31 +02:00
Beat Küng
8ec59f0bc9
status_display: remove unused vehicle_attitude topic
2017-10-24 13:15:14 +02:00
Beat Küng
5f1debd431
px4fmu-v2 cmake config: disable mpu9250
...
out of flash again...
2017-10-24 13:15:14 +02:00
ChristophTobler
9be8d6acc9
add subscriber handler and status displays
2017-10-24 13:15:14 +02:00
Finwood
ba11e0dc44
use tabs for indentation
2017-10-22 22:05:56 +02:00
Lasse
e2a359143d
use altitude acceptance radius for MC takeoff check
...
When checking a mission, the takeoff altitude is being checked
against the waypoint acceptance radius to ensure the MAV being
clear from ground before heading to the next waypoint.
However, until now the _horizontal_ acceptance radius was being
used, instead of the altitude reference value.
Targets PX4/Firmware/#7379
2017-10-22 22:05:56 +02:00
Daniel Agar
812f9ea11d
update ECL to latest master (includes tecs)
2017-10-22 21:56:06 +02:00
Daniel Agar
a133b12635
delete fw_pos_control_l1/mtecs
2017-10-22 21:56:06 +02:00
Daniel Agar
729e721ef3
update LICENSE for github
2017-10-22 21:56:06 +02:00
Daniel Agar
fa8629f6c7
nxphlite config remove external_lgpl
2017-10-22 21:56:06 +02:00
Paul Riseborough
3fc7aba178
TECS: Use version in ECL library
...
This change updates a number of interfaces to use the new TECS implementation from the ECL library.
2017-10-22 21:56:06 +02:00
Lorenz Meier
4923d0cba3
Remove TECS from system codebase
...
The TECS controller belongs really into the ECL (estimation & control library) where we have collected a number of vehicle control systems. It is being replaced by a new implementation of the algorithm, contributed by Paul Riseborough.
2017-10-22 21:56:06 +02:00
DonLakeFlyer
8693c51cba
Fix bad meta data
2017-10-21 20:17:41 +02:00
Paul Riseborough
c9f44531c2
logger: Add logging profile to support comparison of multiple sensors ( #8134 )
2017-10-20 09:30:55 -04:00
Daniel Agar
136d259876
travis-ci fix coverity scan and px4_metadata ( #8156 )
2017-10-20 09:20:30 -04:00
Beat Küng
aa92ef3ca6
airframe 4040_reaper: fix type to quad h
2017-10-19 07:45:40 +02:00
Paul Riseborough
85c076d54e
update ecl/ekf submodule
2017-10-18 11:08:58 +02:00
ChristophTobler
d7c8d53489
use get() for BlockParam
2017-10-18 11:08:58 +02:00
ChristophTobler
2a23162f8d
update ecl/ekf submodule
2017-10-18 11:08:58 +02:00
ChristophTobler
40b8d8bd48
use distance to ground if on ground an distance is out of range
2017-10-18 11:08:58 +02:00
Julian Oes
787931f04f
navigator: check distances between waypoints
...
Instead of just checking whether the first waypoint is too far away from
home it makes sense to also check between waypoints.
This can prevent
- flyaways due to user errors, or
- catch the corner case where a takeoff waypoint is added to a mission
and therefore the first waypoint is not too far away, however, the
subsequent waypoints are still too far away.
2017-10-18 08:42:20 +02:00
Beat Küng
8b797d9b05
logger: use int for loop counter
2017-10-18 08:40:32 +02:00
Beat Küng
d930ad4e9e
mavlink_orb_subscription: reduce orb_exists() check from 10Hz to 3Hz
...
Checking with 3Hz for new topics should be fast enough.
2017-10-18 08:40:32 +02:00
Beat Küng
7381ea8222
logger: remove unused topics commander_state & rc_channels
...
flight review now uses vehicle_status & manual_control_setpoint
2017-10-18 08:40:32 +02:00
Beat Küng
d096ec0b61
vdev_posix: change filemap into a static list of objects instead of pointers
...
to avoid dynamic memory allocations & frees (specifically in orb_exists)
2017-10-18 08:40:32 +02:00
Beat Küng
2668055358
vdev: remove unused fileds from file_t
2017-10-18 08:40:32 +02:00
Beat Küng
deaf125c81
logger: check for newly published topics while not logging
...
If logger is started very early, orb_exists() will fail for a lot of
topics, they will be advertised within the next few seconds.
Logger already dynamically adds subscriptions during logging, but if we
do that before as well, we'll avoid any delays and having to subscribe
to a lot of topics all at once.
2017-10-18 08:40:32 +02:00
Beat Küng
3be252289a
logger: use orb_exists to check if we need to subscribe to the first instance
...
To keep track of the configured interval, we store it as negative file
descriptor, until we do the subscription.
This frees up a considerable amount of file descriptors in most use-cases.
2017-10-18 08:40:32 +02:00
Beat Küng
4c4b528842
uORBManager: fix code style
2017-10-18 08:40:32 +02:00
Beat Küng
2f2c0440c4
orb_exists: change semantics from (is published or subscribed) to (is published)
...
Existing users of orb_exists:
- logger (dynamic subscribe to multi-instances)
- mavlink (orb subscription)
- sdlog2
- preflightcheck (check for home_position)
- wait_for_topic shell command (it's not used)
- orb_group_count() (sensors: dynamic sensor addition)
All use-cases benefit from the changed semantics: they are really only
interested if there is a publisher, not another subscriber.
2017-10-18 08:40:32 +02:00
Daniel Agar
d83073f016
move RTPS to dedicated px4fmu-v{3,4,4pro,5}, posix, sdflight builds ( #8113 )
2017-10-17 16:29:55 -04:00
Daniel Agar
979d092628
travis-ci enable tests under address sanitizier ( #8095 )
2017-10-17 16:26:17 -04:00
Daniel Agar
c607805154
travis-ci allow coverage failures ( #8145 )
2017-10-17 10:54:45 -04:00
Matthias Grob
e12bfa30d4
mc_att_control: defualt parameters set maximal acro rates to 2/1.5 turns per second for roll,pitch/yaw
2017-10-17 16:54:16 +02:00
Matthias Grob
8b09eaf124
mc_att_control: use SuperExpo input curve for acro mode to further enhance the stick feel
2017-10-17 16:54:16 +02:00
Matthias Grob
455ba0e1b5
mathlib Functions: added SuperExpo function for stick feel enhancement
2017-10-17 16:54:16 +02:00
Matthias Grob
3ce5525b7c
mc_att_control: use expo input for acro mode to allow for high input rates without loosing input sensitivity
2017-10-17 16:54:16 +02:00
Beat Küng
747e392be6
px4fmu-v2 cmake config: disable team blacksheep telemetry driver
...
we're out of flash again :/
2017-10-17 09:56:01 +02:00
Beat Küng
291872a28d
mavlink: fix flight_information: use COM_FLIGHT_UUID instead of the board id
...
The board id was used as flight id which does not make sense.
2017-10-17 09:56:01 +02:00
Beat Küng
85e82dca0d
commander: add COM_FLIGHT_UUID param, increased upon disarm
2017-10-17 09:56:01 +02:00
Beat Küng
fa8453443f
fix commander: remove arming_state_changed, check for was_armed != armed.armed instead
...
arming_state_changed was not set in all places where an arming transition
occurred, for example when calling arm_disarm() from auto-disarm.
We did not notice because the state is published with at least 5 Hz already.
2017-10-17 09:56:01 +02:00
José Roberto de Souza
239de7191f
dataman: Prevent database corruption
...
The size in g_per_item_size[item] is the real struct size
+ DM_SECTOR_HDR_SIZE bytes of header and the backend functions were
not taking in care it. So a call to dm_write() with more bytes than
the real struct is allowed, causing corruption in the header of the
next item.
Kudos to jeonghwan-lee for finding it. https://github.com/PX4/Firmware/issues/7927
2017-10-16 23:38:03 +02:00
Luís Felipe Strano Moraes
cc724438f9
Adding Sugnan as maintainer for Intel Aero ( #8133 )
...
Adding Sugnan Prabhu as maintainer for Intel Aero.
With great power comes great responsibility!
2017-10-16 11:25:32 -04:00
rde-mato
78a9658163
define SDP3X_SCALE_PRESSURE_SDP3X corrected
2017-10-15 15:54:08 +02:00
sanderux
fd6f2192ac
Code style
2017-10-15 15:34:59 +02:00
sanderux
b01d887700
When switching to land in VTOL, update land target during back transition
2017-10-15 15:34:59 +02:00
Khoi Tran
ff6ffa73b5
Fix typos in MPU6000 driver comments
2017-10-15 15:33:25 +02:00
Khoi Tran
1594c80bf4
Add icm20602 to auav-x21 sensors startup
2017-10-15 15:33:25 +02:00
Beat Küng
98e6ba858d
logger: change SDLOG_PROFILE into a bitset
...
This is more flexible, allowing a combination of sets.
The default enables the same set & rates as before
2017-10-14 14:21:11 +02:00
Beat Küng
be6079bc52
logger: add high rate & debug profiles
2017-10-14 14:21:11 +02:00
Julian Oes
07ae1e4044
posix-configs: attitude quaternion for DroneCore
...
DroneCore uses the attitude quaternion, and not the attitude
Euler angles.
2017-10-13 18:11:33 +02:00
Julian Oes
2837870733
posix-configs: send gimbal attitude to mavros port
...
The gimbal attitude is required by DroneCore.
2017-10-13 18:11:33 +02:00
Julian Oes
1e91b8cd32
posix-configs: send gimbal attitude over mavlink
2017-10-13 18:11:33 +02:00
Beat Küng
30bc248138
rc_check: cleanup mavlink log messages
2017-10-13 15:50:37 +02:00
Daniel Agar
c47cd972a8
attitude_estimator_q remove unused ( #8106 )
2017-10-13 00:54:52 -04:00
Beat Küng
4da4093839
logger status output: print 'Not logging' if not actually logging
2017-10-12 16:40:47 +02:00
Beat Küng
e65547b6af
mpu6000: add support for revision 1
2017-10-12 14:27:04 +02:00
acfloria
3929afd617
Fix format in test_mixer.cpp
2017-10-12 12:03:22 +02:00
acfloria
5f165e8b3e
Add the flaperons again to the AAERTWF mixer
2017-10-12 12:03:22 +02:00
acfloria
9d2da611f6
Fix mixer issue with undefined return in callback and non value initialized variables.
2017-10-12 12:03:22 +02:00
Lucas De Marchi
fdc1a2fd39
aerofc-v1: fix mentions to tap board
2017-10-12 10:00:51 +02:00
Lucas De Marchi
4a0ee8be6e
aerofc-v1: fix chip selection
...
aerofc-v1 uses a STM32F429V not STM32F427V.
2017-10-12 10:00:51 +02:00
Lucas De Marchi
3a84d4cfeb
build: fix NuttX menuconfig
...
There was and extra "nuttx" dir:
cp: cannot stat '/home/lucas/p/dronecode/PX4/Firmware/build/aerofc-v1_default/NuttX/nuttx/nuttx/.config': No such file or directory
FAILED: NuttX/CMakeFiles/menuconfig
And the board fixup being executed from the wrong working directory:
nuttx-configs/aerofc-v1/nsh/defconfig
fatal: Path 'nuttx-configs/aerofc-v1/nsh/defconfig' does not exist in 'HEAD'
2017-10-12 10:00:51 +02:00
Beat Küng
0247d7bdd7
fmu: minor refactoring & fixes
...
- initialize rc lost with true
- refactor for simpler downstream code-plugin
- allow for the addition of different binding commands
- fix st24 RC lost logic
2017-10-12 08:55:24 +02:00
Daniel Agar
bb78931e69
cmake fix ctest output on failure for coverage ( #8112 )
2017-10-11 14:08:40 -04:00
Daniel Agar
5ddd95e18f
circleci force make distclean before build ( #8111 )
2017-10-11 13:33:22 -04:00
Daniel Agar
651df03f76
RTPS and micro-CDR build system cleanup ( #8084 )
2017-10-11 13:05:44 -04:00
Dennis Mannhart
bb9f8c3b44
navigator set cruising speed/throttle for reposition ( #8096 )
2017-10-11 10:30:03 -04:00
Dave Royer
d1500dca6f
df_hmc5883_wrapper: set mag device path from input argument ( #8079 )
2017-10-11 10:27:25 -04:00
Sugnan Prabhu
81809be7cd
Add include guard in headers files ( #8108 )
...
Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com >
2017-10-11 09:47:52 -04:00
Beat Küng
553c8b38d2
rcS: start mavlink in normal mode on Pixracer for the WiFi module
...
The config mode uses high rates for many streams, leading to high CPU usage
(9-10% for the mavlink sender). The normal mode contains almost the same
set of messages but at lower rates.
This reduces the CPU load on a Pixracer by 3-4%.
2017-10-11 11:55:59 +02:00
Daniel Agar
577a8ef05c
circleci fix homebrew by updating first ( #8104 )
2017-10-10 15:14:07 -04:00
Dennis Mannhart
8a0a8e20e1
mc_pos_control: use correct altitude as limit
...
fadfdasf
2017-10-10 10:28:07 +02:00
Dennis Mannhart
115e7246b0
battery: only propagate warning state in upwards
2017-10-10 10:28:07 +02:00
Dennis Mannhart
f9b8afc006
Navigator: Use maximum flight altitude to limit missions
...
This change limits all mission items to the maximum flight altitude. The mission will still be executed and flown,
but the vehicle will never exceed the mission altitude. This ensures the vehicle can always reach the mission
items. Wether or not the entire mission should be rejected if it falls outside of the fenced area is enforced
in the mission feasibility checker function.
2017-10-10 10:28:07 +02:00
Dennis Mannhart
29cdb655c3
landdetector: remove outdated comment
2017-10-10 10:21:09 +02:00
Martina
ef07c3be20
st24: move decode state to header file
2017-10-10 09:06:09 +02:00
Martina
a7956c401b
st24: move decode state to header file
2017-10-10 09:06:09 +02:00
Lorenz Meier
5278791f3d
IST8310 driver: Fix startup / calibration order
...
The IST driver did not optimally check the calibration result and could trigger false positives if the mag data aligned with wrong signs
2017-10-09 19:05:46 +02:00
Dennis Mannhart
44a71d90f5
mc_pos_control: takeoff threshold to 0.65
2017-10-09 19:05:15 +02:00
Julian Oes
7229ec2a37
Move throttle check from land detector to posctrl
...
This commit is an attempt to fix a race condition happening on takeoff
between the land detector and the multicopter position controller.
Previously, an auto-takeoff leads to the following events:
1. A takeoff setpoint is given.
2. The thrust setpoint spikes because we don't enter smooth takeoff yet.
3. The land detector detects a takeoff because of the high thrust.
4. The position controller sees the landed state transition and
initiates the smooth takeoff. Thrust goes back down.
5. Depending on control gains the takeoff is successful or fails
if the smoothing takes too long which causes thrust to be too low, so
the land detector detects land again.
The two obvious problems with this are:
- The intermittent spike.
- The failed takeoff because of the smoothing leads to a delay..
With this change, the logic for a takeoff detection is moved from the
land detector to the position controller.
The events are now:
1. A takeoff setpoint is given.
2. The position controller detects the takeoff setpoint and initiates
the smooth takeoff.
3. As thrust ramps up, the land detector detects the take off.
In the same way, we now detect the intent to takeoff in manual,
altitude, control, position control in the position controller instead
of in the land detector.
2017-10-09 19:05:15 +02:00
Dario Röthlisberger
3edc5942e4
versioning: fix style
2017-10-09 14:41:58 +02:00
Dario Röthlisberger
e3b8c0512e
versioning: refactor unit tests
...
Use one function which tests flight and vendor version tag parsing.
2017-10-09 14:41:58 +02:00
Dario Röthlisberger
6abe198226
versioning: tag must contain patch, minor & major
2017-10-09 14:41:58 +02:00
Dario Röthlisberger
3dd4454a87
version: include FIRMWARE_TYPE in vendor version
2017-10-09 14:41:58 +02:00
Dario Röthlisberger
257e54b304
logger: write vendor version if existent
2017-10-09 14:41:58 +02:00
Dario Röthlisberger
bb644ee087
unittests: add versioning test
2017-10-09 14:41:58 +02:00
Dario Röthlisberger
28ca3b8d4c
version: add support for vendor version
...
This adds support for parsing git tags which include a vendor version.
E.g. vX.Y.Z-A.B.Crc1, whereas X.Y.Z are numbers defining the upstream
version and A.B.C is the vendor version.
2017-10-09 14:41:58 +02:00
Dennis Mannhart
0d7d6e59f5
mc_pos_control: description fix
2017-10-09 10:20:29 +02:00
Matthias Grob
2b7dcd3f34
mc_pos_control: multiple small fixes in position controller we acumulated over time during our PX4 deployment and want to contribute back
2017-10-09 10:20:29 +02:00
Matthias Grob
c177d6491a
mc_pos_control: simplify unnecessary complicated boolean conditions
2017-10-09 10:20:29 +02:00
Beat Küng
e1b970c30d
ver hwcmp: allow to specify multiple hardware identifiers
...
E.g: ver hwcmp PX4FMU_V4 PX4FMU_V5
2017-10-09 09:34:31 +02:00
Daniel Agar
a88203cec2
travis-ci codecov add unittests flag ( #8092 )
2017-10-09 03:23:49 -04:00
ChristophTobler
791e420d42
increase max num params per block because of ekf2
2017-10-09 08:58:01 +02:00
Paul Riseborough
ed950d70ce
ekf2: Add missing documentation
2017-10-09 08:58:01 +02:00
Paul Riseborough
dbc3a13236
ekf2: remove unused parameter
...
The logging of replay data is now controlled by the logging module
2017-10-09 08:58:01 +02:00
Paul Riseborough
6cfee65060
ekf2: Add parameters to tune accelerometer bias learning
...
These parameters enable the accel bias limiting and learning inhibit logic in the ecl EKF to be easily tuned during testing and replay.
2017-10-09 08:58:01 +02:00
Paul Riseborough
66277d0c02
ekf2: Added @reboot_required to parameters
2017-10-09 08:58:01 +02:00
Daniel Agar
6f52d8a4e3
Makefile fix scan-build path ( #8091 )
2017-10-09 02:38:57 -04:00
Daniel Agar
6f3fe3f3ec
travis-ci enable codecov ( #8090 )
2017-10-09 02:13:43 -04:00
Lorenz Meier
1947a9a176
Devices: Update submodule to include GPS driver improvements
2017-10-07 16:18:00 +02:00
Lorenz Meier
eb2c9fbef1
GPS: Remove unnecessary warning message
...
This warning message would often be printed during normal configuration and does not represent a good indicator for true GPS lost states. Instead the system flags should be used, which are available through the normal logging system.
2017-10-07 15:01:14 +02:00
Lorenz Meier
dd7b72dfb0
MAVLink app: Fix boot-time race between receive thread and instantiation.
2017-10-07 13:56:30 +02:00
Lorenz Meier
2246b54e2b
FMUv5: Increase USB buffer to increase transfer rates
2017-10-07 13:56:30 +02:00
Bart Slinger
adba797323
Helicopter mixer scale throttle to -1 .. +1
...
Not sure why it worked for me without this change. I cannot test it myself. Should fix https://github.com/PX4/Firmware/issues/8013
2017-10-07 10:59:18 +02:00
Beat Küng
353caec1af
temperature_calibration: check if no sensor is found
2017-10-07 10:57:53 +02:00
Florian Achermann
6b97470106
SDLOG2: Fix definition of DPRS log format. ( #8058 )
2017-10-06 18:57:43 -07:00
Paul Riseborough
2a4336b6ef
commander: EKF2 GPS requirement 20 sec after 3D lock
2017-10-06 16:22:53 -07:00
Daniel Agar
2495f8942b
preflightcheck EKF2 GPS requirement after 20s
2017-10-06 16:22:53 -07:00
Daniel Agar
9a9923c517
commander simplify sensors PreflightCheck
2017-10-06 16:22:53 -07:00
David Sidrane
391d103bfd
hardfault_log:Not having a ulog file to append to is not an error
...
The hardfault keeps track of the number of reboot without a
commit to disk. A commit to disk is the act of writing the
fault data from the bbsram to the hardfault file, not the
ulog file. The sucessful commit rearms the hardfault system.
When ulog appending was added it treated the lack of a ulog
file as an error. This prevented the hardfault_log reset
from being called because the hardfault_log commit returned
an error.
if hardfault_log check
then
if hardfault_log commit
then
hardfault_log reset
fi
fi
This change treats the lack a a ulog as a non error.
2017-10-06 12:16:08 -10:00
Beat Küng
cdf17c5447
led: add MODE_FLASH
2017-10-06 20:40:02 +02:00
Daniel Agar
263b7ea009
commander battery failsafe only error if TRANSITION_DENIED
2017-10-06 20:11:59 +02:00
Daniel Agar
80dd87536e
navigator fix vehicle_command_ack (don't copy external)
2017-10-06 20:11:19 +02:00
Daniel Agar
aa2566970e
FW landing abort remove message comma (read as a pause)
2017-10-06 20:11:19 +02:00
Beat Küng
efb170d91d
tap_esc: some cleanup
...
- use select_responder from tap_esc_common namespace (same definition)
- switch pwm output to uint16, that's what's used in send_esc_output()
- use SCHED_PRIORITY_ACTUATOR_OUTPUTS instead of SCHED_PRIORITY_MAX
2017-10-06 19:32:53 +02:00
Daniel Agar
38f45d1a9d
airspeed sensor startup improvements ( #7903 )
2017-10-05 14:29:44 -07:00
Daniel Agar
123a0b584a
cmake fix posix upload targets
2017-10-05 11:28:10 -10:00
Daniel Agar
87a1b15509
NuttX build restore old .px4 file naming (drop nuttx_ prefix)
2017-10-05 11:28:10 -10:00
Daniel Agar
8d07c647f7
NuttX improve apps builtins dependencies
2017-10-05 11:28:10 -10:00
davidaroyer
ed9e798f86
docker_run.sh: add ocpoc target
2017-10-05 09:34:14 -07:00
davidaroyer
89f8956ae3
boards: update ocpoc board_config defines
2017-10-05 09:34:14 -07:00
Paul Riseborough
0def4ace5f
commander: check magnetometers for inconsistency preflight
2017-10-05 09:30:26 -07:00
Paul Riseborough
60a68d30c7
sensors: Calculate and publish magnetometer inconsistency
2017-10-05 09:30:26 -07:00
Paul Riseborough
c7097085fa
msg: publish magnetometer inconsistency level
2017-10-05 09:30:26 -07:00
Beat Küng
20e987faa9
estimator_status: add missing descriptions for control_mode_flags
2017-10-05 10:04:02 +02:00
ChristophTobler
8541555e13
gpssim: add possibility to change parameters
...
fix_type, satellites_used and a noise parameter can now be set manually for testing purposes
2017-10-05 07:18:20 +02:00
ChristophTobler
b41c471090
accelsim/gyrosim: fix seg fault if not enough arguments
...
happens with 'accelsim/gyrosim -R'
2017-10-05 07:18:20 +02:00
ChristophTobler
6843155357
gpssim: fix seg fault if not enough arguments
...
happens with e.g. 'gpssim -f'
2017-10-05 07:18:20 +02:00
ChristophTobler
2436a27848
gpssim: use px4_getopt
2017-10-05 07:18:20 +02:00
David Sidrane
bed4714cfe
kinetis:adc fix typo vailid->valid ( #8054 )
...
Fix typo on master
2017-10-04 08:05:18 -10:00
David Sidrane
86389930be
drv_sensor:Part number changed to fxos8701cq
2017-10-04 04:49:35 -10:00
David Sidrane
b363b794b1
fxos8700cq:Part number change fxos8701cq
2017-10-04 04:49:35 -10:00
David Sidrane
390f93724c
nxphlite-v3:Fixed USB PRODUCTSTR. CONFIG_CDCACM_PRODUCTID Still needs update
2017-10-04 04:49:35 -10:00
David Sidrane
e1496a6d57
kinetis:io_timer Added SYC on CCR setting
...
Fixes error in fmu test "servo 0 readback error, got 900
expected 1002"
2017-10-04 04:49:35 -10:00
David Sidrane
10f418a272
nxphlite-v3:rcS move mavlink to UART4 connector P10
2017-10-04 04:49:35 -10:00
David Sidrane
b6c15d7223
nxphlite-v3:Manage Spektrum power & bind
2017-10-04 04:49:35 -10:00
David Sidrane
e11b08aa68
nxphlite-v3:ADC 12 use bit
2017-10-04 04:49:35 -10:00
David Sidrane
3e863dff5d
nxphlite-v3:ADC digital USB connected
2017-10-04 04:49:35 -10:00
David Sidrane
7a0254d9f3
nxphlite-v3:Use BOARD_HAS_CONTROL_STATUS_LEDS
2017-10-04 04:49:35 -10:00
David Sidrane
1615d5642e
kinetis:drv_io_timer ensure the Mod register is updated
2017-10-04 04:49:35 -10:00
David Sidrane
ccc83dde33
nxphlite-v3:Build rgbled_pwm driver
2017-10-04 04:49:35 -10:00
David Sidrane
99dc1b17e2
nxphlite-v3:Add PWM RGB LEDs
2017-10-04 04:49:35 -10:00
David Sidrane
36d4619045
nxphlite-v3:Define RGB LED timer assignments
2017-10-04 04:49:35 -10:00
David Sidrane
9c7fd0ab9c
nxphlite-v3:Use LED D9 and D10, remove RGB LEDs (going to PWM)
2017-10-04 04:49:35 -10:00
David Sidrane
f68da76701
kinetis:PWM LED driver
2017-10-04 04:49:35 -10:00
David Sidrane
e11af2bc27
fmu:Add PWM6 mode for nxphlite v3.5
2017-10-04 04:49:35 -10:00
David Sidrane
2eaf0c8c0a
fxos8700cq:Drop SCLK to 1 Mhz
2017-10-04 04:49:35 -10:00
David Sidrane
b9c13b86cb
nxphlite-v3:Refreshed Config
2017-10-04 04:49:35 -10:00
David Sidrane
812128d565
nxphlite-v3:V3.5 HW changes
2017-10-04 04:49:35 -10:00
David Sidrane
9ce3fc6700
nxphlite-v3 cmake:Bring inline with master
2017-10-04 04:49:35 -10:00
Julien Lecoeur
5d01eac5de
Fix check_stack target ( #8050 )
2017-10-04 10:02:23 -04:00
Jonas Vautherin
93c1ad3103
sitl: add possibility to not run gazebo when running make
2017-10-04 15:38:37 +02:00
Beat Küng
dd98ed565e
protocol_splitter: fix type comparison
2017-10-04 14:13:14 +02:00
ChristophTobler
ec61ae0003
ekf2: add some comments
2017-10-04 13:11:11 +02:00
Beat Küng
8016d69ba4
mavlink_log_handler: set current_log_filep to NULL after closing the file
...
It probably did not cause further issues, except that fclose() was called
on an invalid file handle later on.
2017-10-04 07:33:47 +02:00
José Roberto de Souza
c47e541d02
AeroFC: Disable UART8 ( #8046 )
...
* AeroFC: Update defconfig
defconfig generated using: make aerofc-v1_default oldconfig
* AeroFC: Disable UART8
It is not used but it share the same pinout in the FC connector with
other pin used as I2C2, so it needs to stay in high-z.
2017-10-03 18:14:50 -10:00
Beat Küng
2dd34d639d
commander: ignore internal commands during calibration
...
if vmount was enabled in mavlink mode, it was continuously sending mavlink
commmands, which lead to 'command denied during calibration: 205' messages
during calibration.
2017-10-03 07:50:27 +02:00
Beat Küng
29e85edac8
Revert "param MPC_MAN_TILT_MAX: decrease maximum from 90 to 85 degrees"
...
This reverts commit d6df692b7a .
The changes to attitude controller improve this a lot.
2017-10-01 15:36:21 +02:00
Beat Küng
98893c9f4f
mc_att_control params: increase max roll/pitch/yaw rates to 1800
...
If you want to go to the limit of what the vehicle can do, you need to be
able to set it so large that it is guaranteed that it's never limited by
software.
Tests showed that it's not a problem to increase it to very high numbers.
2017-10-01 15:36:21 +02:00
Beat Küng
f5d9155ab2
mc_att_control params: reduce default max acro rates from 360 to 120 deg/s
...
360 is too fast if you just want to hover. Next step is to add expo(),
so that we still have fine-grained control at the center and high rates
at the edges.
2017-10-01 15:36:21 +02:00
Beat Küng
55da07d3c4
mc_att_control: fix computation of yaw weight for attitude control
...
Previously, the yaw weight was based on the tilt angle of the attitude
setpoint (R_sp(2, 2) == cos(tilt angle)). This makes no sense, it means
the weight is low for high tilt angles even if there is no roll-pitch error
at all.
This patch changes the weight computation to be based on the tilt angle
error: the yaw weight is 1 if there is no roll-pitch error (independent
from current tilt angle), and is reduced for higher tilt angle errors.
The weight was added in 05e9a30573 , without any explanation or
derivation of how and why the weight is chosen that way.
However this patch works much better in practice. The yaw control is
improved, though it can be a bit slow to converge if you do continuous &
fast roll-pitch motions (which is expected).
2017-10-01 15:36:21 +02:00
Beat Küng
2f1ca409b7
mc_att_control: add more comments to the code, better explaining what it does
...
No semantic changes.
2017-10-01 15:36:21 +02:00
Beat Küng
69b1bfca6c
mc_att_control: fix yaw feedforwarding
...
The feedforwarding was applied in the wrong frame: the term is given in
global coordinates, but was directly applied to body coordinates. This
patch adds the missing transformation from global to body frame.
In addition, it moves the feedforwarding before the rate limitation, so
that we cannot exceed the configured rates.
2017-10-01 15:36:21 +02:00
Beat Küng
2cc18d2d52
mc_att_control: move the board_rotation computation to the parameters_update
...
It's not necessary to do this computation in each loop iteration.
2017-10-01 15:36:21 +02:00
Beat Küng
27f020af05
mc_att_control: remove the hardcoded max throttle limit of 0.9 for ACRO
2017-10-01 15:36:21 +02:00
José Roberto de Souza
0d5480e540
driver: ll40ls: Correctly instantiate with the right parameters ( #8032 )
...
It was setting the rotation value to the I2C slave address
causing it to not be successfully probe.
Changing the constructor paramters order instead of
just fix line instantiating to keep consistency with
the other lidars and sonars.
2017-09-29 20:25:09 -04:00
Lucas De Marchi
fa458cdf0e
build: get rid of annoying CMake warning ( #8033 )
...
Depending on the CMake version when we are configuring it emits a
warning about deprecation of CMAKE_FORCE_CXX_COMPILER. However we
rely on this macro and don't want to do what CMAKE_CXX_COMPILER
is doing. Here is what I get with CMake 3.9.1:
CMake Deprecation Warning at /usr/share/cmake/Modules/CMakeForceCompiler.cmake:83 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
cmake/toolchains/Toolchain-arm-none-eabi.cmake:37 (cmake_force_cxx_compiler)
/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:94 (include)
CMakeLists.txt:263 (project)
Avoid the warning by passing -Wno-deprecated to cmake.
2017-09-29 20:24:14 -04:00
David Sidrane
a9bd3aeb85
Fixed typo usb_vaild -> usb_valid
2017-09-29 10:46:50 -10:00
Daniel Agar
9ce3412a93
NuttX board build not needed ( #8029 )
2017-09-29 06:48:25 -10:00
Daniel Agar
352d65a14a
navigator delete unused attitude setpoint ( #8028 )
2017-09-29 11:51:00 -04:00
Daniel Agar
3ac6d1aa27
px4fmu-v2 and px4fmu-v3 boards cleanup
2017-09-29 10:13:51 -04:00
David Sidrane
95cea13090
Updated nuttx and apps submodules for 1.7 Release
...
Tied to nuttx, apps px4_firmware_nuttx-master
rebased on upstream nuttx master @ 3647ace55958c094cfe93f07092d308a768f5ca3
rebased on upstream apps master @ 21c9b793e2ca6f4e86388c80d7af5c466de5e71c
2017-09-29 10:13:51 -04:00
Daniel Agar
2113772443
improve nuttx verbose build
2017-09-29 10:13:51 -04:00
Daniel Agar
48f1e3ed1c
uORB generation move to msg/
2017-09-29 10:13:51 -04:00
Daniel Agar
03784c6b01
nuttx fix px4 builtin generation dependency
2017-09-29 10:13:51 -04:00
Daniel Agar
e38136fc9f
NuttX build re-enable hard link copy and improve builtin_list
2017-09-29 10:13:51 -04:00
Lorenz Meier
f9c9890a49
EKF2: Add minimal stack for M7 targets
2017-09-29 10:13:51 -04:00
David Sidrane
bb71e47ddf
Updated nuttx submoulde 7.22+ w/i2c fix ==px4_firmware_nuttx-master
...
Latest nuttx 7.22+ with PX4 contrib for stm32 f4 I2C hang.
2017-09-29 10:13:51 -04:00
David Sidrane
0f028fda3b
Update nuttx and apps submodule to 7.22+ ==px4_firmware_nuttx-master
...
Prep for Nuttx Upgrade - still needs i2c fix
2017-09-29 10:13:51 -04:00
David Sidrane
f79d06dae4
px4-same70xplained-v1:Update to master rename trone to teraranger
2017-09-29 10:13:51 -04:00
David Sidrane
8f78f57f14
nxphlite-v3:Update to master rename trone to teraranger
2017-09-29 10:13:51 -04:00
David Sidrane
986607b37d
PX4_SAME70XPLAINED_V1:Remove unnesasary conditional for FMU mode
2017-09-29 10:13:51 -04:00
David Sidrane
e967e02c4d
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
David Sidrane
7698c08eb7
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
David Sidrane
7ae999ecb3
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
David Sidrane
13c4a6cced
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
David Sidrane
0b70a8cc44
px4fmu-v5:Add FMUv5 HW revision and version
2017-09-29 10:13:51 -04:00
David Sidrane
8451cb324e
board_common: Add BOARD_HAS_HW_VERSIONING control
2017-09-29 10:13:51 -04:00
David Sidrane
04f7a7a47a
stm32:Add board Revision and version API for FMUv5 HW detection
2017-09-29 10:13:51 -04:00
David Sidrane
d4892bf179
stm32 adc:Create board accessible API for using the ADC prior to boot
...
board_adc_init() - initalise the ADC HW once.
board_adc_sample() - read a given channel dn
2017-09-29 10:13:51 -04:00
David Sidrane
f3e925497d
board_common:Break into internal and public api.
...
Internal functions are public functions that should realy only
be called by the board config.
2017-09-29 10:13:51 -04:00
David Sidrane
9cc7148211
board_common:Documentation clean up merged
2017-09-29 10:13:51 -04:00
David Sidrane
3c384f1890
Updated nuttx and apps submudule 7.22+ ==px4_firmware_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane
7dc8f215f6
samv7 board identity:fix sign-compare
2017-09-29 10:13:51 -04:00
David Sidrane
83d870900c
kinetis board identity:fix sign-compare
2017-09-29 10:13:51 -04:00
David Sidrane
7c5f3ea623
kinetis io timer:fix sign-compare
2017-09-29 10:13:51 -04:00
David Sidrane
c44cfbf87e
nxphlite-v3 spi:fix sign-compare
2017-09-29 10:13:51 -04:00
David Sidrane
f83df2a9a6
Updated nuttx submodule 7.22+
...
Updated to latest upstream with PX4 contrib for STM32 I2C that
fixes an hang in driver.
2017-09-29 10:13:51 -04:00
David Sidrane
1c6dc4b84c
Updated nuttx and apps submodules to Nuttx 7.22+ ==px4_firmware_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane
c6eec29dec
sensors:Rework battery connected logic
...
A battery is considered connected when a) V > BOARD_ADC_OPEN_CIRCUIT_V
and if BOARD_ADC_OPEN_CIRCUIT_V > BOARD_VALID_UV connected
is further qualifed by the Valid signal.
2017-09-29 10:13:51 -04:00
David Sidrane
d95e985f59
px4fmu-v5:Set non default BOARD_ADC_OPEN_CIRCUIT_V
...
Due to higher bias, V open circuit on the ADC is high with a 1M
termination. This override the default connected threshold on
V5 HW. Revist once lowe termination is chosen.
2017-09-29 10:13:51 -04:00
David Sidrane
ef5d808f6d
px4fmu-v4pro:Override default BOARD_VALID_UV
...
Based on the R values on the LTC4411 the px4fmu-v4pro has a
UV of 4.01 Volts.
2017-09-29 10:13:51 -04:00
David Sidrane
5018723eb2
board_common:Define defaults for Open circuit max and UV min
...
BOARD_ADC_OPEN_CIRCUIT_V is the voltage present on an ADC due
to the bias current on the terminition resistor.
BOARD_VALID_UV is the under voltage min set by resistors on a
board's Power selector.
A battery is considered connected when the Voltage measures is
greater than BOARD_ADC_OPEN_CIRCUIT_V.
In the case where BOARD_ADC_OPEN_CIRCUIT_V is greater then
BOARD_VALID_UV we can use the HW to qualify connected.
2017-09-29 10:13:51 -04:00
David Sidrane
25fef84f98
px4fmu-v5:board.h fixed typo in comment
2017-09-29 10:13:51 -04:00
David Sidrane
24eb56aa27
battery:Only change the warning level on a connected battery.
...
Connected is assumed when the battery voltages is greater than
a predefined level.
2017-09-29 10:13:51 -04:00
David Sidrane
63ac56aeb0
smt32 adc:Ensure the the ADC clock is not out of spec
...
The data sheet for the F4, F7 indicate a maximum of 36 Mhz
in the 2.4-3.3 volt Soc operating range. This change sets
the clock based on the STM32_PCLK2_FREQUENCY.
2017-09-29 10:13:51 -04:00
David Sidrane
dcf8d82f8c
px4fmu-v5:Update to use CONFIG_STM32F7_FLASH_ART_ACCELERATOR
...
Upstream change on F7 CONFIG_STM32F7_FLASH_PREFETCH and
CONFIG_ARMV7M_ITCM are now contorled by
CONFIG_STM32F7_FLASH_ART_ACCELERATOR
2017-09-29 10:13:51 -04:00
David Sidrane
822b390420
Update nuttx and apps submodule 7.21+==px4_firmware_nuttx-master
2017-09-29 10:13:51 -04:00
Daniel Agar
474f216a0a
UAVCAN bootloaders split into separate repository ( #7878 )
2017-09-29 10:13:51 -04:00
David Sidrane
f641c1e15e
Updated nuttx submodule 7.21+ ==px4_firmware_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane
8b2ee2cb33
Updated nuttx submodule 7.21+
2017-09-29 10:13:51 -04:00
David Sidrane
8fe1abf8ff
nxphlite-v3:Add fxas21002c to rc.sensors
2017-09-29 10:13:51 -04:00
David Sidrane
d0853092f5
nxphlite-v3:add fxas21002c driver to board build
2017-09-29 10:13:51 -04:00
David Sidrane
3d6ebc0081
Added NXP fxas21002c
2017-09-29 10:13:51 -04:00
David Sidrane
9bc1884e83
nxphlite-v3:Init and control Sensor reset pins in board init
2017-09-29 10:13:51 -04:00
David Sidrane
929c5d9b5e
Updated NuttX submodule with upstream 7.21+
2017-09-29 10:13:51 -04:00
David Sidrane
32d434fa8f
fxos8700cq:Fixed typo
2017-09-29 10:13:51 -04:00
Daniel Agar
01b3e6fd25
NuttX upgrade cmake wrapper ( #7873 )
...
* NuttX cmake
* px4_macros:Pass the stringified predicate as second arg to static assert
CC_ASSERT mapes to the c++ static_assert or provides the same
funtionality for c via the other macros. The c++ static assert
takes 2 argumants the prdicate and a message. This fixes the
lacking second argument.
* Updated nuttx and apps submodule to upstream nuttx 7.21+==master
This is the latest uptake of upstream nuttx and apps.
* ROMFS generate with xxd instead of objcopy
* delete nuttx-patches
* NuttX update submodules to latest px4_nuttx-master
* fix nuttx apps and board dependency
* docker_run update to latest container 2017-08-29
* cmake ROMFS portable sed usage
* NuttX update submodules to latest px4_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane
11e518f494
nxphlite-v3:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
bb78e71452
Using master README
2017-09-29 10:13:51 -04:00
David Sidrane
f7d42a9e41
px4-same70xplained-v1:Moved px4-same70xplained-v1 specific README to board dir
2017-09-29 10:13:51 -04:00
David Sidrane
7a5f58a607
px4-same70xplained-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
a61b7203bf
px4-same70xplained-v1 nsh:Refreshed config
2017-09-29 10:13:51 -04:00
David Sidrane
bff33ba9dc
px4-same70xplained-v1:Refreshed config
2017-09-29 10:13:51 -04:00
David Sidrane
4fdce9bf21
px4-same70xplained-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
6a4120c44c
px4-same70xplained-v1:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
442f79dac6
same70xplained-v1:use px4_micro_hal PX4_BUS_NUMBER_{TO|FROM}_PX4 mapping
2017-09-29 10:13:51 -04:00
David Sidrane
5d33b602f3
px4-same70xplained-v1:Updated to upstream master
...
Airspeed changes
add FastRTPS
2017-09-29 10:13:51 -04:00
David Sidrane
4b5d585e57
kinetis:Add define for PX4_NUMBER_I2C_BUSES
2017-09-29 10:13:51 -04:00
David Sidrane
f56940e654
README for px4-same70xplained-v1
2017-09-29 10:13:51 -04:00
David Sidrane
f04ddf4368
Inital Commit of px4-same70xplained-v1
2017-09-29 10:13:51 -04:00
David Sidrane
0da1c79aa3
Adding Kinetis board common identity to micro hal
2017-09-29 10:13:51 -04:00
David Sidrane
69ac5adf89
drv_sensor:Fix merge by adding new NXP sensors after what was on master
2017-09-29 10:13:51 -04:00
David Sidrane
96b4e5b512
zubaxgnss-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
17bf776af3
tap-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
e53a06429c
s2740vc-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
3f267a5cb2
px4nucleoF767ZI-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
c71e01bd44
px4fmu-v5 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
e4f47d4faa
px4fmu-v4pro nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
68679a3e8e
px4fmu-v4 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
24446f0c88
px4fmu-v3 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
6955a4c040
px4fmu-v2 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
c760278d0f
px4esc-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
c7f3e84bf4
px4cannode-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
92411e7195
px4-stm32f4discovery nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
1a98f3c149
nxphlite-v3 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
3c25e8d899
mindpx-v2 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
0d82e807fe
esc35-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
ad6d0304a9
crazyflie nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
202377dd4e
auav-x21 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
04a61d47cb
aerofc-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
e95b760257
aerocore2 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
24d1481bfb
zubaxgnss-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
33c4a759d4
zubaxgnss-v1:bootloader Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
8063451a97
tap-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
973def1a91
s2740vc-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
25b7a7fa6c
s2740vc-v1:bootloader Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
859a694d42
px4-stm32f4discovery:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
b3c973f3ae
px4nucleoF767ZI-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
813bb29511
px4fmu-v5:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
80101f8882
px4fmu-v4pro:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
bdc2397238
px4fmu-v4:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
9b326b1c8a
px4fmu-v2:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
9e6dcf7261
px4flow-v2:bootloader Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
4483c1756f
px4esc-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
9368c2e675
px4esc-v1:bootloader Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
c637191e8f
px4cannode-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
8beb30db99
px4cannode-v1:bootloader Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
c6c636c8b2
nxphlite-v3:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
f22ea147ec
mindpx-v2:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
bcd832893f
esc35-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
d882a39de4
esc35-v1:bootloader Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
caf06ef6fa
crazyflie:nsh Refreshed config
2017-09-29 10:13:51 -04:00
David Sidrane
3c626424b1
auav-x21:nsh Refreshed config
2017-09-29 10:13:51 -04:00
David Sidrane
8a8448ee82
aerofc-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
770a27d47c
aerocore2:nsh Refreshed config
2017-09-29 10:13:51 -04:00
David Sidrane
d12e1bc0ab
px4fmu-v3:nsh Refreshed defconfig
2017-09-29 10:13:51 -04:00
David Sidrane
86c52e2ecf
Tools:nuttx_defconf_tool upstream has CONFIG_START_YEAR etal
...
Re insetion of CONFIG_START_{YEAR|NONTH|DAY} is not needed as
CONFIG_START_{YEAR|NONTH|DAY} have been defined always in
upstream NuttX
2017-09-29 10:13:51 -04:00
David Sidrane
1991c27749
px4fmu-v2:Removed commented out unit_test module removed on master
2017-09-29 10:13:51 -04:00
David Sidrane
65210ff1e5
nxphlite-v3:Removed unit_test module removed on master
2017-09-29 10:13:51 -04:00
David Sidrane
78e2aef7b5
Update Nuttx Submodule ==upstream
...
Latest uptake from upstream.
2017-09-29 10:13:51 -04:00
David Sidrane
edd741ea76
tap-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
72cdf1de12
sim nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
4e86bc7620
px4nucleoF767ZI-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
0f5c75b4c6
px4esc-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
054d489b96
px4-stm32f4discovery nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
c239405383
nxphlite-v3 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
ea0dd5827b
esc35-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
Updated to match master
This is needed when logger is logging to file and ulog streaming gets
activated
2017-09-29 10:13:51 -04:00
David Sidrane
8e1e67d8af
Updated NuttX submodule to upstream 7.21+ ==upstream
...
Bugfix for random SD card failures on px4fmu-v5 (STM32F7)
Update to upstream with PX4 contrib for STM32F7 DMA preflight
on SDMMC (SDIO) and DMA add dcache alignment check in
stm32_dmacapable when needed: The case were dcache is in
write-buffed mode.
2017-09-29 10:13:51 -04:00
David Sidrane
306f3c5331
px4fmu-v5:Updated defconfig to latest NuttX
2017-09-29 10:13:51 -04:00
David Sidrane
e02f1a8d0f
Update NuttX submodule ==upstream
...
Updated to upstream with C++14 fix
2017-09-29 10:13:51 -04:00
David Sidrane
c4dae5e36e
px4nucleoF767ZI-v1:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
20866ad1af
px4-stm32f4discovery:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
27e68160fb
crazyflie:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
69744de5dd
auav-x21:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
a7269fb5a3
aerofc-v1:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
09083345c8
aerocore2:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
683ac7e1f7
aerocore:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
8ac43c9988
nxphlite-v3:use px4_micro_hal PX4_BUS_NUMBER_{TO|FROM}_PX4 mapping
2017-09-29 10:13:51 -04:00
David Sidrane
64b9f687c0
px4_micro_hal:Provide PX4_BUS_NUMBER_{TO|FROM}_PX4 mapping
...
For historical reasons (NuttX STM32 numbering) PX4 bus numbering is
1 based. All PX4 code, including, board code is written to assuming 1
based numbering. In the PX4 I2C driver the 1 is subtracted from the
buss number to address the freqency array. These macros are used to
allow the board config to define the bus numbers in terms of the NuttX
driver numbering. 1,2,3 for one based numbering (STM32) or 0,1,2
for zero based (Kinetis)
2017-09-29 10:13:51 -04:00
David Sidrane
5889b4d89c
Updated NuttX submodule to upstream 7.21+ ==upstream
...
Latest upstream. With PX4 contrib for Wide Char fix.
cwchar:Use CONFIG_LIBC_WCHAR to only export the wc/mb functions
When a build does not want to use wide or multibyte char
CONFIG_LIBC_WCHAR is not set. Therefore we should to only
export the wc/mb functions when defined.
Regardless of the stat of CONFIG_LIBC_WCHAR the non mb/wc
definitions such as mbstate_t, wint_t, wctype_t need to be
exported.
2017-09-29 10:13:51 -04:00
David Sidrane
f5ed7586bf
boards common:Fix formating
2017-09-29 10:13:51 -04:00
David Sidrane
8e4e4fae36
rc.sensors:Align with master
2017-09-29 10:13:51 -04:00
David Sidrane
f52338143b
nxphlite-v3:Updated to upstream master
...
Add FastRTPS
2017-09-29 10:13:51 -04:00
David Sidrane
c05429a70c
samv7:Add PX4_NUMBER_I2C_BUSES
2017-09-29 10:13:51 -04:00
David Sidrane
01c1228b21
kinetis:Add define for PX4_NUMBER_I2C_BUSES
2017-09-29 10:13:51 -04:00
David Sidrane
c7823ffc58
spi:Print only device index (mask bus in _device
...
Print only the PX4_SPI_DEV_ID portion of the _device
2017-09-29 10:13:51 -04:00
David Sidrane
a5297074c6
zubaxgnss-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
b405657e86
zubaxgnss-v1 bootloader: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
b08da5397c
sim nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
99242b549c
s2740vc-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
89640fbdfd
s2740vc-v1 bootloader: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
bafc00c8fa
px4nucleoF767ZI-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
8191196efd
px4io-v2 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
4073e3aa40
px4fmu-v5 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
5180f01ef2
px4fmu-v4pro nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
f83ea86698
px4fmu-v4 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
3f7301956e
px4fmu-v3 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
1d99c507ef
px4fmu-v2 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
18572c10ac
px4fmu-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
932e06b2f3
px4flow-v2 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
5d5b91fb5f
px4flow-v2 bootloader: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
89ab7456c0
px4esc-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
f3790dc8d1
px4esc-v1 bootloader: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
a920d8e305
px4cannode-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
ccc474abbe
px4cannode-v1 bootloader: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
23d980bf19
px4-stm32f4discovery nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
e1562e0d67
nxphlite-v3 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
e1dd4677ca
mindpx-v2 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
d7c5419f57
esc35-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
c5aea5640b
esc35-v1 bootloader: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
f15c7a60cd
crazyflie nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
5e220ea3f2
auav-x21 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
e3c57ea656
aerofc-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
cb65b39c49
aerocore2 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
b3c614c573
aerocore nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
713ccb01be
Update Nuttx Submodule ==upstream
...
Latest uptake from upstream.
2017-09-29 10:13:51 -04:00
David Sidrane
d2bc3a534f
px4nucleoF767ZI-v1:Fixed STM32_RCC_DCKCFGR2_DSISRC
...
C&P error in upstream was:RCC_DCKCFGR2_DSISEL_48MHZ is
RCC_DCKCFGR2_DSISEL_PHY
2017-09-29 10:13:51 -04:00
David Sidrane
e6cc4530b4
px4fmu-v5:Fixed STM32_RCC_DCKCFGR2_DSISRC
...
C&P error in upstream was:RCC_DCKCFGR2_DSISEL_48MHZ is
RCC_DCKCFGR2_DSISEL_PHY
2017-09-29 10:13:51 -04:00
David Sidrane
c264cb3224
erofc-v1:Updated to new NuttX IRQ API changes
2017-09-29 10:13:51 -04:00
David Sidrane
ae2e1da93a
px4_impl_nuttx:PX4 does not used compressed defconfigs nor configure.sh
...
The new upstream nuttx defconfig format is compressed. This
will not work well for board configs that are out of the
upstream NuttX tree.
The reconstitution step will not replace all the non default
settings. I.E. CONFIG_ARCH_BOARD_PX4xxxx and will remove
setting that are not defined from the config/KConfig. Like
CONFIG_ARCH_BOARD_PX4xxxx=y.
Also the configure script will fail if run without
and intervening make distclean
The only 2 steps from configure that re needed are
Copying the defconfig to .config and Make.defs
2017-09-29 10:13:51 -04:00
David Sidrane
cb21aced5e
PX4 System: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
724e4f9e39
px4cannode-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
65c66d664f
zubaxgnss-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
9a6158e291
zubaxgnss-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
a039a7635c
s2740vc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
2f5da07b9c
s2740vc-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
34d87bbddd
px4io-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
f7f2ecacd4
px4fmu-v4pro nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
8cbd7a9290
px4fmu-v4 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
6d5ac6ada9
px4fmu-v3 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
9b5acf694b
px4fmu-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
e382a97273
px4fmu-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
7bcd37b065
px4flow-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
c59d9e08a7
px4flow-v2 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
3cd605e734
px4esc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
fb758e86d0
px4esc-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
afa7dd518b
px4cannode-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
fee1e87fb1
px4cannode-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
94d4a8577b
px4-stm32f4discovery nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
62aff9f2c6
mindpx-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
7339b957fe
esc35-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
43c90e64af
esc35-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
7048b068a8
crazyflie nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
1f0a4e8aa9
auav-x21 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
076a8713f8
aerofc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
5ea00ff4e6
aerocore2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
7265523f40
aerocore nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
5aee418e59
nxphlite-v3:Updated config with upstream naming changes
...
Reordering and renaming to match master for v3 config
2017-09-29 10:13:51 -04:00
David Sidrane
be9c107309
NXPHLITE_V3:Start fxos8700cq
2017-09-29 10:13:51 -04:00
David Sidrane
ffffad352f
nxphlite-v3:add usb_connected command
2017-09-29 10:13:51 -04:00
David Sidrane
58a6e57452
nxphlite-v3:Use ADC reading for VBUS
...
On this HW the VBUS detection is on the ADC. The ADC module
reads the value and sets a global flag as well as publishing
the value via uOrb.
2017-09-29 10:13:51 -04:00
David Sidrane
57892805e2
Sensors:add ID for fxos8700c mag and accel
2017-09-29 10:13:51 -04:00
David Sidrane
3b42d30623
fxos8700c:Inital commit mag and accel driver
2017-09-29 10:13:51 -04:00
David Sidrane
a7422dc9b6
nxphlite-v3:Define and use sensor reset pins
...
Define and use the Sensor reset pins. Added the cide to reset
the nxphlite-v3 sensors.
2017-09-29 10:13:51 -04:00
David Sidrane
c66c830909
Updated NuttX submodule to upstream 7.21+ ==upstream
...
PX4 contrib for Kientis I2C driver
2017-09-29 10:13:51 -04:00
David Sidrane
1682101cff
mpl3115a2:Rework per data sheet
...
The driver appeared to not be finished and was a clone
of another driver that did not work.
2017-09-29 10:13:51 -04:00
David Sidrane
e8f2f33911
Updated NuttX submodule to upstream 7.21+ ==upstream
...
PX4 contrib for samv7 twihs (i2c) driver ref counting.
2017-09-29 10:13:51 -04:00
David Sidrane
526f07b527
gpio_led:Define GPIO_MAX_SERVO_PIN down to 4
...
Support boards with less than 6 (GPIO_SERVO_n) where
n is now 16..4
2017-09-29 10:13:51 -04:00
David Sidrane
f4992e64f7
mtd:24xxxx_mtd add AT24C02 - AT24C16
2017-09-29 10:13:51 -04:00
David Sidrane
5f9b23b475
same70 micro hal
2017-09-29 10:13:51 -04:00
David Sidrane
c536bf95f0
px4-same70xplained-v1:ROMFS changes
2017-09-29 10:13:51 -04:00
David Sidrane
2de54da648
nxphlite-v3:Updates for latest master
2017-09-29 10:13:51 -04:00
David Sidrane
7cb2319221
mavlink:Hardfaulting usage at 2552 - set to 2840
2017-09-29 10:13:51 -04:00
David Sidrane
eab69fafe1
Updated NuttX submodule to upstream 7.21+ ==upstream
...
PX4 contrib for Kientis SPI
2017-09-29 10:13:51 -04:00
David Sidrane
ad5f166c75
nxphlite-v3:Removes spi stubs
2017-09-29 10:13:51 -04:00
David Sidrane
1af3ea322c
BUGFIX:mtd hardfault in no SPI
...
NULL check needed to be done before SPI_XXXX calls
2017-09-29 10:13:51 -04:00
David Sidrane
01f520dfd2
Kinetis SPI is zero based
2017-09-29 10:13:51 -04:00
David Sidrane
30653226ed
nxphlite-v3:Add MTD to defconfig
2017-09-29 10:13:51 -04:00
David Sidrane
72ea7ae8f6
px4cannode-v1:Updated board_button to match upstream NuttX
...
upstren widened board_buttons ti 32 bit
2017-09-29 10:13:51 -04:00
David Sidrane
7a0d6174e2
nxphlite-v1:Removed from PX4
...
Superceeded by nxphlite-v3 before released
2017-09-29 10:13:51 -04:00
David Sidrane
19313728b0
Updated NuttX submodule to upstream 7.21+ ==upstream
...
PX4 contrib for Kientis USB-FS and MPU fixes. Fixed warning
2017-09-29 10:13:51 -04:00
David Sidrane
39632a67d9
nxphlite-v3:Removed usb init, there is none needed to be done by board
2017-09-29 10:13:51 -04:00
David Sidrane
f48d3f05c2
Updated NuttX submodule to upstream 7.21+ ==upstream
...
PX4 contrib for Kientis USB-FS and MPU fixes.
2017-09-29 10:13:51 -04:00
David Sidrane
d4d8f744e1
Updated NuttX submodule to upstream 7.20+ ==upstream
...
Latest uptake. PX4 contrib for Kinetis ADC definition fixes
2017-09-29 10:13:51 -04:00
David Sidrane
1bc760c194
Kinetis:Added PX4 ADC Driver.
...
PX4 Driver for Kinetis uisng just ADC1.
On V3 HW RC00 the USB_VBUS_VALID on pin 36 of the MCU
ADC0_SE16/ADC1_SE22 is bridged to pin 29 ADC1_DP0 and read
there. But because of missing schottky diodes on V3 HW RC00
the signal is true (3.3V) when powered by the Power Module.
2017-09-29 10:13:51 -04:00
David Sidrane
160f5cc67d
Removed px4cannode from build as it does not fit in flash.
2017-09-29 10:13:51 -04:00
David Sidrane
eb9ebb26ea
px4fmu-v4pro:Had wrong bus ID for SPI5, SPI6
2017-09-29 10:13:51 -04:00
David Sidrane
906d7e7acd
Using Upstream NuttX up_cxxinitialize from app/platform/gnu
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
4fbcfae367
px4io firmware: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
143750d60c
zubaxgnss-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
2a66de9452
tap-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
9156fa09e3
s2740vc-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
601ec364e8
px4nucleoF767ZI-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
06b21b60de
px4io-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
1e25a61b37
px4fmu-v5: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
0bf10f02c9
px4fmu-v4pro: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
caaf2f8e6c
px4fmu-v4: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
834ec95198
px4fmu-v2: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
db442ed26b
px4flow-v2: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
dce72003fe
px4esc-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
1bbab7b219
px4cannode-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
193a22288a
px4-stm32f4discovery: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
2a266266c6
nxphlite-v3: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
8fa8835a6f
nxphlite-v3: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
3e26c861a2
nxphlite-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
eca7e0aff7
mindpx-v2: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
ce3bcd0402
esc35-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
554fb822e6
crazyflie: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
6829855b1f
auav-x21: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
0e6c7890c0
aerofc-v1: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
9bfee14be0
aerocore2: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
4b87fac11a
aerocore: Upstream NuttX up_cxxinitialize moved
...
was:<nuttx/arch.h> is:platform/cxxinitialize.h
Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
069408bc6e
Updated NuttX submodule to upstream 7.20+ ==upstream
...
Latest uptake. defconfig changes and common cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
b4887e55a8
zubaxgnss-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
f9b5f92268
zubaxgnss-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
440141872b
sim nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
d21115ef15
s2740vc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
6b6833e353
s2740vc-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
f7852cb68c
px4nucleoF767ZI-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
5fb8774377
px4io-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
d509838b49
px4fmu-v5 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
d44d21a669
px4fmu-v4pro nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
4692b66f49
px4fmu-v4 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
72efdf5fab
px4fmu-v3 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
f165f6b4fc
px4fmu-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
82c441031c
px4fmu-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
9c48d1006c
px4flow-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
18148bcd31
px4flow-v2 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
15748f9275
px4esc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
fadf9d417c
px4esc-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
7d8185591e
px4cannode-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
2c37d20a22
px4cannode-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
2d477c8f07
px4-stm32f4discovery nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
c6c391b4c7
nxphlite-v3 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
a1fa11e6a3
nxphlite-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
34e08be910
mindpx-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
7657a40c41
esc35-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
c09fefa5bb
esc35-v1 bootloader: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
caa5e337da
crazyflie nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
63cdc56c5f
auav-x21 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
ad4ec948a2
aerofc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
bcfdc81892
aerocore2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
7d76e3f987
aerocore nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
7d8eee202b
Kinetis:Hack for imediate PWM update
2017-09-29 10:13:51 -04:00
David Sidrane
2b54ef458b
Kinetis:PWM
2017-09-29 10:13:51 -04:00
David Sidrane
58c3c8a94b
fmu:Fix stack overwrite
2017-09-29 10:13:51 -04:00
David Sidrane
444a7a2aec
PX4 System changes to support 14 Timer IO channels
2017-09-29 10:13:51 -04:00
David Sidrane
df2b5e420f
nxphlite-v3:Define PWM and Capture
2017-09-29 10:13:51 -04:00
David Sidrane
681a862b65
Updated NuttX submodule to upstream 7.20+ ==upstream
...
Latest uptake. PX4 contrib for Kinetis K66 pin map fixes.
2017-09-29 10:13:51 -04:00
David Sidrane
6979588486
Patch tracks upsteam NuttX change to apps/Makefile
...
A recent change in upstream Nuttx apps/Makefile to fix external
pathing required the patch to be updated.
2017-09-29 10:13:51 -04:00
David Sidrane
2982f7f53a
s2740vc-v1: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
6dfa55af45
px4fmu-v4pro: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
0ed964ef78
px4fmu-v4: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
5708f5f945
px4fmu-v1: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
b46e586293
px4flow-v2: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
5fe857b188
px4cannode-v1: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
830780f93e
nxphlite-v3: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
c02848dfb9
nxphlite-v1: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
feb4aaa551
mindpx-v2: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
85fcd55908
auav-x21: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
e4583e0ec7
aerocore2: Upstream NuttX reloaction of can.h
...
can.h was moved in upstream NuttX from nuttx/drivers/can.h
to nuttx/include/nuttx/can/can.h
2017-09-29 10:13:51 -04:00
David Sidrane
5bace5d0fe
nxphlite-v3:Configure Tone Alarm
2017-09-29 10:13:51 -04:00
David Sidrane
520850f5f4
kinetis:Implemented Tone Alarm using TPM timers
2017-09-29 10:13:51 -04:00
David Sidrane
6e2885cc4e
nxphlite-v3:Board mods to support 1 Mhz FTM
2017-09-29 10:13:51 -04:00
David Sidrane
24edfbcbca
nxphlite-v3:GPIO_TRI set as output
2017-09-29 10:13:51 -04:00
David Sidrane
d8513afcc0
nxphlite-v3:Init TONE ALARM IDLE
2017-09-29 10:13:51 -04:00
David Sidrane
e172328f26
nxphlite-v3:Init GPIO_SPEKTRUM_P_EN pin
2017-09-29 10:13:51 -04:00
David Sidrane
9342c81cf2
nxphlite-v3:Using new SPEKTRUM API
2017-09-29 10:13:51 -04:00
David Sidrane
9ec37a78ff
nxphlite-v3:Add mpl3115a2 (stubed out)
2017-09-29 10:13:51 -04:00
David Sidrane
32cd31c814
sensors: Add mpl3115a2
2017-09-29 10:13:51 -04:00
David Sidrane
f21025aac7
mpl3115a2: Added stubbed out driver to validate whoami
2017-09-29 10:13:51 -04:00
David Sidrane
c17949a1d1
Update submodule NuttX ==upstream
2017-09-29 10:13:51 -04:00
David Sidrane
80293d312f
Update submodule NuttX ==upstream
...
PX4 NuttX Kinetis contrib for Kinetis I2C pin definitions
inclding the Open drain configuration
2017-09-29 10:13:51 -04:00
David Sidrane
39a34c5b62
Update submodule NuttX ==upstream
...
PX4 NuttX Kinetis contrib now in upstream for:
TPM support
OSC Updated fro K66
UART and LPUART HW flow control and temios
BOARD_OSC_CR derived by board
RC input
PPM
SBUS
I suspect non exsitent sensors fails are using way to much cpu
resulting in PPM decode fails.
2017-09-29 10:13:51 -04:00
David Sidrane
0e55a9e868
micro hal:Kinetis I2C busses are numbered from 0
2017-09-29 10:13:51 -04:00
David Sidrane
eace382da9
nxphlite-v3: Indicate use of TMP for tone alarm
2017-09-29 10:13:51 -04:00
David Sidrane
b9e71ea8d1
Update submodule NuttX ==upstream_kinetis
...
PX4 NuttX Kinetis contrib for
TPM support
OSC Updated fro K66
UART and LPUART HW flow control and temios
BOARD_OSC_CR derived by board
RC input
PPM
SBUS
I suspect non exsitent sensors fails are using way to much cpu
resulting in PPM decode fails.
2017-09-29 10:13:51 -04:00
David Sidrane
2b853ea00e
nxphlite-v3:Using termios and HW flow control
...
Using PX4 contrib of termios and HW flow control in NuttX
Kinetis.
Removed stubs and updated defconfig.
2017-09-29 10:13:51 -04:00
David Sidrane
2f2f1ff8ea
nxphlite-v3:Use 8bit io on usart access for inversion
...
Fix comment
Use 8bit io on usart access for inversion, 32 bit
on odd address was causwing BUS access hard fault.
2017-09-29 10:13:51 -04:00
David Sidrane
5ed8955db7
Update submodule NuttX ==upstream_kinetis
...
Wip - HRT RC IN
2017-09-29 10:13:51 -04:00
David Sidrane
f1e8b532d9
ADC hack to get comd prompt
2017-09-29 10:13:51 -04:00
David Sidrane
69661df783
tap-v1:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
dad290a8fc
px4nucleoF767ZI-v1:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for s
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
9dbaa001d3
px4fmu-v5:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
e332bfa726
px4fmu-v4pro:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
3ade7c303a
px4fmu-v4:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macr
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
e38d5853ad
px4fmu-v2:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
a0b6b90abf
px4cannode-v1:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
6894425fa6
nxphlite-v3:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
a9e58df215
nxphlite-v1:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
bc856df03b
mindpx-v2:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
0232a24ae6
auav-x21:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
40a6de5821
aerofc-v1:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
5613a2f4e4
aerocore2:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
c12f9943ab
aerocore:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
2017-09-29 10:13:51 -04:00
David Sidrane
25c8ceaf91
mtd:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
0d2124ce13
ms5611:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
fcbb99200f
mpu9250:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
487315af19
mpu6000:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
1e4113ee37
lsm303d:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
7e24ec12d9
lps25h:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
7df27aa344
lis3mdl:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
44a07e7084
l3gd20:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
3cef14482a
hmc5883:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
81bd05d49c
bmp280:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
a5ea55cc5c
bmi160:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
045771ffcb
bmi055:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
bd185ceb22
bma180:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
b4a9c1578b
board common:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device and macros
that define a PX4 device on a given BUS and Chip Select
Refactored to pack the PX4 format in the new NuttX format
2017-09-29 10:13:51 -04:00
David Sidrane
fa0ae6386d
device:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane
c9040257ec
Update submodule NuttX ==upstream
...
Latest upstream with SPI chip select changes
2017-09-29 10:13:51 -04:00
David Sidrane
c977536671
nxphlite-v3:Assign TPM1 CH0 to HRT, CH1 PPM
2017-09-29 10:13:51 -04:00
David Sidrane
ebaf8479c5
nxphlite-v3:Clock configuration for TPM
2017-09-29 10:13:51 -04:00
David Sidrane
8fd5fb00a3
nxphlite-v1:Add Debug probes
2017-09-29 10:13:51 -04:00
David Sidrane
f6cacfc586
Kinteis:HRT Driver using TPM Timer
...
This is the PX4 HRT driver fir the Kinetis K family with TPM
timers.
The requirements for use are an input frequency divisible by
N = {2^0-2^7}. To get a 1 MHz frequency. We currently use
the OCSERCLK of 16 MHz /16.
2017-09-29 10:13:51 -04:00
David Sidrane
26d65f9369
Update submodule NuttX ==upstream_kinetis
...
Wip - HRT RC IN
2017-09-29 10:13:51 -04:00
David Sidrane
5aa449f226
nxphlite-v3:Set FRDIV to 512 to keep clock in spec
2017-09-29 10:13:51 -04:00
David Sidrane
5608b8ca76
nxphlite-v3:Refreashed config
...
Removed Networking until upstream settels down
2017-09-29 10:13:51 -04:00
David Sidrane
fba425c168
Updated patch list for rebase on PX4/Firmware master
2017-09-29 10:13:51 -04:00
David Sidrane
417b853f77
Update submodule NuttX ==upstream_kinetis
...
Latest upstream
with minor warning fixed
2017-09-29 10:13:51 -04:00
David Sidrane
e2bd3b31d2
Kinetis:tone_alarm updated copyright
2017-09-29 10:13:51 -04:00
David Sidrane
bc4102bf3f
Added pwm_trigger from master
2017-09-29 10:13:51 -04:00
David Sidrane
2295bdcdf2
Update submodule NuttX ==upstream
2017-09-29 10:13:51 -04:00
David Sidrane
3cf820ffd8
Update submodule NuttX ==upstream
...
Latest upstream
2017-09-29 10:13:51 -04:00
David Sidrane
4db220d980
Update submodule NuttX ==upstream_kinetis
...
Latest upstream_kinetis rebased on upstream
2017-09-29 10:13:51 -04:00
David Sidrane
7ab29a38bf
Kinetins ADC wip just to built and boot. Still Stubs
2017-09-29 10:13:51 -04:00
David Sidrane
790da4dec3
Kinetis:hrt stub - to get to command prompt
2017-09-29 10:13:51 -04:00
David Sidrane
9a0fbe5623
Inital commit of nxphlite-v3 per v3 schematic
2017-09-29 10:13:51 -04:00
David Sidrane
deecf98f6e
Update submodule NuttX ==upstream_kinetis
...
Latest Upstrem
removed back ports for i2c-hotfix, stm32f7-serial-dma, and
add-set-ex-to-nsh in upstream
2017-09-29 10:13:51 -04:00
David Sidrane
5922e08f5e
nxphlite-v1:incorperate master's led changes and fit
2017-09-29 10:13:51 -04:00
David Sidrane
e281958b43
nxphlite-v3:incorperate master's led changes
2017-09-29 10:13:51 -04:00
David Sidrane
53e9ce8352
incorperate master's oneshot api - not functional
2017-09-29 10:13:51 -04:00
David Sidrane
f50b9ddbae
Removed BACKPORT patches in upstream
2017-09-29 10:13:51 -04:00
David Sidrane
5f92fe7e51
Renamed for ordering and classification
2017-09-29 10:13:51 -04:00
David Sidrane
81d3c9a5e1
Removed patch - uptream was fixed
2017-09-29 10:13:51 -04:00
David Sidrane
10f84b4687
Updated NuttX submodule to upstream 7.20+ ==upstream
2017-09-29 10:13:51 -04:00
David Sidrane
4c1e397a51
Baseline defconfig
2017-09-29 10:13:51 -04:00
David Sidrane
d0d4024cc8
Baseline defconfig
2017-09-29 10:13:51 -04:00
David Sidrane
7a4c5c3475
Added board_read_VBUS_state to board_common API
2017-09-29 10:13:51 -04:00
David Sidrane
67abeaf182
Fixed PX4_MK_GPIO macro
2017-09-29 10:13:51 -04:00
David Sidrane
83aa569f0b
Updated NuttX submodule to upstream 7.20- ==upstream_kinetis
2017-09-29 10:13:51 -04:00
David Sidrane
1f5e0907d5
Updated NuttX submodule to upstream 7.20- ==upstream
2017-09-29 10:13:51 -04:00
David Sidrane
21caf63e13
Update px4iofirmware, px4io and drivers to uses NuttX IRQ API changes
2017-09-29 10:13:51 -04:00
David Sidrane
bc81339a68
Update stm32 to uses NuttX IRQ API changes
2017-09-29 10:13:51 -04:00
David Sidrane
e5eab6854c
Update Kinetis stubs to uses NuttX IRQ API changes
2017-09-29 10:13:51 -04:00
David Sidrane
3bdbd53441
Update tap-v1 tap_pwr to uses NuttX IRQ API changes
2017-09-29 10:13:51 -04:00
David Sidrane
8f24b1c6e0
Update libuavcan Submodule to uses PX4 contrib to uavcan for NuttX IRQ API changes
2017-09-29 10:13:51 -04:00
David Sidrane
49ccaa6597
Shrink FLASH to fit with Upstream NuttX
2017-09-29 10:13:51 -04:00
David Sidrane
21dec52be0
px4io-v1 nsh add CONFIG_NOARQARG to reduse RAM size
2017-09-29 10:13:51 -04:00
David Sidrane
99f694598e
Updated NuttX submodule to upstream 7.19+ ==upstream
...
The has the upstream irq dispatch changes and PX4 contrib fixes
There is now a large static (4*NR_IRQ) NR_IRQ is > 77 on most SoS
that is uses to save and pass args to an interrupt service.
The problem this introduces is running out of ram on the
STM32F100 devices. So we will carry a set patches to at
COMPILE time use the oldstyle dispatch.
2017-09-29 10:13:51 -04:00
David Sidrane
fe3398300b
nxphlite-v1 Changes to provides USB clocking
...
Support the PX4 contrib to upstream Nuttx for SIM. MCG and PMC
clocking. Now sets the USB clock correctly.
Refit in FLASH
2017-09-29 10:13:51 -04:00
David Sidrane
73944daf75
nuttx_nxphlite update config for changes on master
2017-09-29 10:13:51 -04:00
David Sidrane
7cde985e27
WIP nxphlite-v3
...
Configure Clocking, USB and Console on LPUART
2017-09-29 10:13:51 -04:00
David Sidrane
6dfae5bfac
Refreshed nxphlite-v3 nsh config
2017-09-29 10:13:51 -04:00
David Sidrane
8f8159fba6
Updated NuttX submodule to upstream 7.19+ ==upstream
...
With PX4 contrib for USB, Clocking, LPUART and UART
console selection and reordering
2017-09-29 10:13:51 -04:00
David Sidrane
1d8b0f14df
Updated NuttX submodule to upstream 7.19+ ==upstream_kinetis
...
With PX4 contrib and numerous fixes from Greg adding
Kinetis LPUART
2017-09-29 10:13:51 -04:00
David Sidrane
55cd301dac
Updated NuttX submodule to upstream 7.19+ ==upstream
...
With PX4 contrib adding Kinetis feature selection for
SIM and PCM
2017-09-29 10:13:51 -04:00
David Sidrane
46e57a51a3
Updated NuttX submodule to upstream 7.19+ ==upstream
2017-09-29 10:13:51 -04:00
David Sidrane
63af555c50
Updated NuttX submodule to upstream 7.19+ ==upstream_kinetis
...
Fixes strings.h index macro colliding with c++ classes with
that have index as an initalized member variable.
2017-09-29 10:13:51 -04:00
David Sidrane
343f05e1bc
zubaxgnss-v1 bootloader Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
0ccf3e0c9e
tap-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
d5774b3179
s2740vc-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
0b5f7a4d4b
s2740vc-v1 bootloader Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
741191e842
px4nucleoF767ZI-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
99c66115e5
px4io-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
ccb2bcf7c1
px4fmu-v5 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
a81889a1c5
px4fmu-v4pro nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
3a4013440a
px4fmu-v4 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
63812b847a
px4fmu-v3 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
3e6abf0812
px4fmu-v2 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
981f673084
px4flow-v2 bootloader Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
3ea3450feb
px4esc-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
a0f1dbe554
px4esc-v1 bootloader Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
d5795f4467
px4cannode-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
1d9933796d
px4cannode-v1 bootloader Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
210495d263
px4-stm32f4discovery nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
2f792dcfcd
nxphlite-v3 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
431a107138
nxphlite-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
82f566f941
mindpx-v2 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
01699b32bc
esc35-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
74aeff4d04
esc35-v1 bootloader Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
b379249a31
crazyflie nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
37c556eb0b
auav-x21 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
5f3c31e6c5
aerofc-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
770fab470d
Updated NuttX submodule to upstream 7.19+ ==upstream
...
Fixes strings.h index macro colliding with c++ classes with
that have index as an initalized member variable.
2017-09-29 10:13:51 -04:00
David Sidrane
287219e197
Update NuttX submodule 7.19+ ==upstream
...
Pickes up upstream changes that define fully define
include/cxx/cwchar - we no longer need the PX4 patch
2017-09-29 10:13:51 -04:00
David Sidrane
5e96053651
Updated NuttX submodule to upstream 7.19+ ==upstream_kinetis
...
With PX4 contrib adding Freedom-K66 and Kinetis K66 Support
and pending updates to upstream
2017-09-29 10:13:51 -04:00
David Sidrane
a611fcdeeb
Update submodule NuttX ==upstream_kinetis
...
Picks up stat() etal
2017-09-29 10:13:51 -04:00
David Sidrane
509b1ec1c5
Updated Shadow patch for addition of stat() in upstream
2017-09-29 10:13:51 -04:00
David Sidrane
16714e3991
Updated NuttX submodule for kinetis WIP ==upstream_kinetis
...
With stat() from upstream
2017-09-29 10:13:51 -04:00
David Sidrane
2a7514194b
Updated NuttX submodule for kinetis WIP ==upstream_kinetis
...
With setvbuf() and up_timer_initialize became arm_timer_initialize
2017-09-29 10:13:51 -04:00
David Sidrane
60bda1627a
zubaxgnss-v1 bootloader Update for upstream NuttX up_timer_initialize changes
...
up_timer_initialize became arm_timer_initialize
2017-09-29 10:13:51 -04:00
David Sidrane
44bfd797b7
s2740vc-v1 bootloader Update for upstream NuttX up_timer_initialize changes
...
up_timer_initialize became arm_timer_initialize
2017-09-29 10:13:51 -04:00
David Sidrane
92c0e6861f
px4flow-v2 bootloader Update for upstream NuttX up_timer_initialize changes
...
up_timer_initialize became arm_timer_initialize
2017-09-29 10:13:51 -04:00
David Sidrane
c59817a622
px4esc-v1 bootloader Update for upstream NuttX up_timer_initialize changes
...
up_timer_initialize became arm_timer_initialize
2017-09-29 10:13:51 -04:00
David Sidrane
068e026ed1
px4cannode-v1 bootloader Update for upstream NuttX up_timer_initialize changes
...
up_timer_initialize became arm_timer_initialize
2017-09-29 10:13:51 -04:00
David Sidrane
2d00fdf630
esc35-v1 bootloader Update for upstream NuttX up_timer_initialize changes
...
up_timer_initialize became arm_timer_initialize
2017-09-29 10:13:51 -04:00
David Sidrane
4062061e59
zubaxgnss-v1 bootloader Update for upstream NuttX setvbuf changes
2017-09-29 10:13:51 -04:00
David Sidrane
3c8f31772d
s2740vc-v1 bootloader Update for upstream NuttX setvbuf changes
2017-09-29 10:13:51 -04:00
David Sidrane
75b8770214
px4io-v1 nsh Update for upstream NuttX setvbuf changes
2017-09-29 10:13:51 -04:00
David Sidrane
57fb4ccec9
px4flow-v2 bootloader Update for upstream NuttX setvbuf changes
2017-09-29 10:13:51 -04:00
David Sidrane
b389a4cd2d
px4esc-v1 bootloader Update for upstream NuttX setvbuf changes
2017-09-29 10:13:51 -04:00
David Sidrane
893313f352
px4cannode-v1 bootloader Update for upstream NuttX setvbuf changes
2017-09-29 10:13:51 -04:00
David Sidrane
0308b1d363
esc35-v1 bootloader Update for upstream NuttX setvbuf changes
2017-09-29 10:13:51 -04:00
David Sidrane
227658c9ef
Updated NuttX submodule for kinetis WIP ==upstream_kinetis
2017-09-29 10:13:51 -04:00
David Sidrane
fb7b8d475a
Updated NuttX submodule for kinetis WIP ==upstream_kinetis
2017-09-29 10:13:51 -04:00
David Sidrane
c0d6918737
Updated Nuttx Submodule to use kinetis WIP ==upstream_kinetis
2017-09-29 10:13:51 -04:00
David Sidrane
9fd3eac282
Updated submodule NuttX for kinetis WIP ==upstream_kinetis
2017-09-29 10:13:51 -04:00
David Sidrane
d409ca3e46
Inital commit of nxphlite-v3
2017-09-29 10:13:51 -04:00
David Sidrane
0e23df28ea
Removed STM32 references from Kinetis
2017-09-29 10:13:51 -04:00
David Sidrane
23e45cb4b3
nxphlite-v1 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
91f14435d7
px4nucleoF767ZI-v1 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
f9aa9f29e3
px4fmu-v5 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
983c436f5d
px4fmu-v4pro Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
63b9c03e53
px4fmu-v4 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
0a25cc2254
px4fmu-v3 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
afad39fa14
px4fmu-v2 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
6ffcec48ba
mindpx-v2 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
61e45ebb48
auav-x21 Refreshed nuttx SDIO changes for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
8ac9e82ac4
Updated NuttX submodules to upstream 7.19+ ==upstream
...
These changes add arch namespace to some SDIO related CONFIG defines
in support of per channel capabilities for SDIO
The SDIO api addes SDIO_CAPABILITIES(dev)
and define SDIO_CAPS_1BIT_ONLY and SDIO_CAPS_DMASUPPORTED
STM32
-----
WAS:
CONFIG_SDIO_DMA=y
IS:
WAS:
CONFIG_SDIO_DMAPRIO=0x00010000
IS:
CONFIG_STM32_SDIO_DMA=y
CONFIG_STM32_SDIO_DMAPRIO=0x00001000
WAS:
CONFIG_ARCH_HAVE_SDIO=y
CONFIG_ARCH_HAVE_SDIOWAIT_WRCOMPLETE=y
CONFIG_MMCSD_SDIO=y
CONFIG_SDIO_PREFLIGHT=y
CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE=y
IS:
CONFIG_ARCH_HAVE_SDIO=y
CONFIG_SDIO_DMA=y
CONFIG_ARCH_HAVE_SDIOWAIT_WRCOMPLETE=y
CONFIG_MMCSD_SDIO=y
CONFIG_SDIO_PREFLIGHT=y
CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE=y
STM32F7
-------
WAS:
IS:
was CONFIG_SDMMC1_DMA
is:Delketed
was CONFIG_SDMMC2_DMA
is:Delketed
was:
CONFIG_SDMMC1_PRI
is:
CONFIG_STM32F7_SDMMC1_PRI
was:
CONFIG_SDMMC2_PRI
is:
CONFIG_STM32F7_SDMMC2_PRI
was:
CONFIG_SDMMC1_DMAPRIO
is:
CONFIG_STM32F7_SDMMC1_DMAPRIO
was:
CONFIG_SDMMC2_DMAPRIO
is:
CONFIG_STM32F7_SDMMC2_DMAPRIO
2017-09-29 10:13:51 -04:00
David Sidrane
c837096268
sim nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
9daa8ec3c7
zubaxgnss-v1 bootloader Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
13157b3e6c
zubaxgnss-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
cad85784a2
s2740vc-v1 bootloder Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
277f117ba4
s2740vc-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
954c0bd601
px4nucleoF767ZI-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
29437e1972
px4io-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
bd87fb4f09
px4-stm32f4discovery nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
9871495e64
px4fmu-v5 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
10f9ec5400
px4fmu-v4pro nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
d3e9a54b4f
px4fmu-v4 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
3f2b1a9d59
px4fmu-v3 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
af4ab31d61
px4fmu-v2 nsh refreshed config for Nuttx 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
b717a71e86
px4flow-v2 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
dcaba7d3d1
px4flow-v2 bootloader Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
9e746012a3
px4esc-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
60c8424af4
px4esc-v1 bootloader Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
a32c3ee93d
px4cannode-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
47ccb3fa1c
px4cannode-v1 bootloader Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
e2b8d3b043
nxphlite-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
2b07444f0d
mindpx-v2 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
3ea7083601
esc35-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
6187769746
esc35-v1 bootloader Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
df0057e791
crazyflie nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
9ff583f690
auav-x21 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
74cb3d6a66
aerofc-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
ff4ad00496
aerocore nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
cab44bfa01
Updated NuttX submodule to 7.19+ ==upstream
2017-09-29 10:13:51 -04:00
David Sidrane
addaf84f7f
zubaxgnss-v1 bootloader uses upstream NuttX's new struct packing
2017-09-29 10:13:51 -04:00
David Sidrane
a47770250e
px4flow-v2 bootloader uses upstream NuttX's new struct packing
2017-09-29 10:13:51 -04:00
David Sidrane
69ba0b8925
px4esc-v1 bootloader uses upstream NuttX's new struct packing
2017-09-29 10:13:51 -04:00
David Sidrane
2c9a6eb727
px4cannode-v1 bootloader uses upstream NuttX's new struct packing
2017-09-29 10:13:51 -04:00
David Sidrane
364551b6f5
esc35-v1 bootloader uses upstream NuttX's new struct packing
2017-09-29 10:13:51 -04:00
David Sidrane
187482c1ba
flashfs uses Upstream NuttX's new struct packing
2017-09-29 10:13:51 -04:00
David Sidrane
f6e82afff8
bootloader UAVCAN uses upstream NuttX's new struct packing
2017-09-29 10:13:51 -04:00
David Sidrane
bf9a8a0bee
Nuttx patches are now in upstream
2017-09-29 10:13:51 -04:00
David Sidrane
2aa8674f86
fmu Allow for using a common format
2017-09-29 10:13:51 -04:00
David Sidrane
c168bd248f
Use Proper ponter conversion
...
When PX4_CPU_UUID_BYTE_FORMAT_ORDER is not defined properly
cast the arument for calling board_get_uuid_raw
2017-09-29 10:13:51 -04:00
David Sidrane
34627ac7b9
REVERT: To fit in FLASH
...
Conflicts:
cmake/configs/nuttx_nxphlite-v1_default.cmake
2017-09-29 10:13:51 -04:00
David Sidrane
fcb57afd3d
Add Kinetis impelmantation Skeleton for board common SoC version api
2017-09-29 10:13:51 -04:00
David Sidrane
ca9ac66b77
Add new lib/version
2017-09-29 10:13:51 -04:00
David Sidrane
1dbe8b8605
Adding Kinetis board common identity to micro hal
2017-09-29 10:13:51 -04:00
David Sidrane
da178e8693
Adding Kinetis board common identitiy api
2017-09-29 10:13:51 -04:00
David Sidrane
0c576426b2
Add nxphlite-v1_default to alt builds for CI
2017-09-29 10:13:51 -04:00
David Sidrane
b2b6509ee0
Use micro hal fir px4_savepanic
...
To keep board_crashdump.c as common code we create a
wrapper around the arch depandant call to
stm32_bbsram_savepanic.
2017-09-29 10:13:51 -04:00
David Sidrane
6669aa058d
hardfault_log should has hal
...
remove stm32_bbsram.h and use px4_config.h
2017-09-29 10:13:51 -04:00
David Sidrane
e93a5002a1
Updated Micro HAL for kinetis
...
Added px4_ abstraction macros
Removed stm32.h reference
2017-09-29 10:13:51 -04:00
David Sidrane
c1812af45e
Inital commit of NXPhlite-v1
2017-09-29 10:13:51 -04:00
David Sidrane
ec11b943a8
Allow an alternate startup file independent of bootloader builds
...
In support of bootloader builds the nuttx_v3 builds previously had a
facility to set the start up files: Non Bootloader STM32 builds uses
the common vectors facility in NuttX. The bootloaders use a fixed
minimum set of vectors.
Since other architectures my need to include a start up file or
set of files, this PR allow an alternate startup file to be
selected independent of if this is bootloader build.
2017-09-29 10:13:51 -04:00
Daniel Agar
28a9e32753
test perf use stdout, not stdin
2017-09-28 16:50:47 +01:00
Daniel Agar
4e5b223a08
hrt test decrease time
2017-09-28 16:50:47 +01:00
Daniel Agar
af9690cf08
add simple posix tests to SITL
2017-09-28 16:50:47 +01:00
Daniel Agar
5eb3e695bb
fix and enable mavlink ftp tests
2017-09-28 09:29:04 +02:00
Daniel Agar
3c18be387c
ROI - move handling to navigator ( #7939 )
2017-09-26 12:25:02 -04:00
James Goppert
e72769c924
Imu filter ( #7606 )
...
* Add adjustable driver level cutoff freq for accel/gyro.
* Fix copy and paste error.
* Updated print_info.
* imu filter minor cleanup
2017-09-25 13:55:56 -04:00
Lorenz Meier
a945cd9fc2
Sensors: Clean up boot output ( #8005 )
...
Various sensors had too verbose or confusing boot output that would make the boot log hard to read. This patch ensures all output is consistently indicating if there is a real error or an optional sensor just not present. It also removed redundant error messages and adds an indication on which bus the sensor was probed.
2017-09-25 11:19:11 -04:00
Daniel Agar
d04d62c37e
airframe metadata sort by SYS_AUTOSTART and minor cleanup ( #8009 )
2017-09-25 11:17:50 -04:00
Daniel Agar
420df9d88a
mavlink receiver remove undocumented CMD_PREFLIGHT_REBOOT_SHUTDOWN link shutdown ( #8008 )
2017-09-25 11:09:16 -04:00
Daniel Agar
4e0ddf86e1
rcS print full version
2017-09-25 10:30:22 -04:00
Daniel Agar
414b4d4a40
ver silence hwcmp
2017-09-25 10:30:22 -04:00
Daniel Agar
0da2dca8c1
drivers remove device _debug_enabled
2017-09-25 10:30:22 -04:00
ChristophTobler
e5f46856c4
update submodule sitl_gazebo to include new range orientation
2017-09-25 11:46:44 +02:00
ChristophTobler
16825e6460
inav: subscribe to multi dist instances and check orientation
2017-09-25 08:52:21 +02:00
ChristophTobler
bfe28c1df3
lpe: check for distance sensor orientation
2017-09-25 08:52:21 +02:00
ChristophTobler
ee82e80517
ekf2: subscribe to multi dist instances and check orientation
2017-09-25 08:52:21 +02:00
ChristophTobler
58e09faf9b
df trone wrapper: update for new orientation convention
...
add possibility to specify distance sensor orientation
2017-09-25 08:52:21 +02:00
ChristophTobler
de0c196b2b
Bebop rangefinder: update for new orientation convention
2017-09-25 08:52:21 +02:00
ChristophTobler
07e6738586
mavlink receiver: update for new orientation convention
2017-09-25 08:52:21 +02:00
ChristophTobler
c315aa659e
ulanding: update for new orientation convention
...
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
018aa8e535
srf02: update for new orientation convention
...
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
d5ddc2b489
srf02_i2c: update for new orientation convention
...
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
4ed78595e7
sf1xx: update for new orientation convention
...
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
4f683db732
sf0x: update for new orientation convention
...
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
0fcc54f95f
mb12xx: update for new orientation convention
...
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
21f97cfce6
LidarLite: update for new orientation convention
...
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
286d8f2bff
teraranger: add possibility to specify orientation and adapt to new defaults
2017-09-25 08:52:21 +02:00
ChristophTobler
a4d37f7120
PX4Flow: add possibility to specify sonar orientation and adapt to new defaults
2017-09-25 08:52:21 +02:00
ChristophTobler
a45ed5f776
add constants for distance orientation convention
2017-09-25 08:52:21 +02:00
Paul Riseborough
f0e8abe783
mc_pos_control: Use arming state to prevent unsafe reference point changes
2017-09-24 03:46:42 -07:00
Paul Riseborough
ef0e47ee63
mc_pos_control: Fix bug causing flyaway when GPS gained after takeoff
...
The change in origin when GPS was gained after takeoff was being used to shift the set point despite the previous origin being invalid.
2017-09-24 03:46:42 -07:00
Daniel Agar
24f056d2bb
mavlink receiver sync command_int/command_long
2017-09-24 03:45:21 -07:00
James Goppert
13e64d00a8
commander handle shutdown command ( #8000 )
2017-09-23 10:35:36 -04:00
José Roberto de Souza
d82806869f
cmake: AeroFC: Remove unused apps and libs ( #7993 )
...
We are running out of flash space in AeroFC so a cleanup is necessary.
Tools not used in Aero RTF, INAV, fixed wing control, vtol control and
unused libs was removed.
before
$ size build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx
text data bss dec hex filename
956880 3524 14608 975012 ee0a4 firmware_nuttx
after
$ size build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx
text data bss dec hex filename
832200 3508 14616 850324 cf994 build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx
2017-09-22 21:24:00 -04:00
eric
557559cd85
set _triplet_lat_lon_finite true to avoid landing to not the current location, see #7990
2017-09-22 15:20:13 +02:00
Daniel Agar
b4755297ec
delete control_state and cleanup vehicle_attitude ( #7882 )
2017-09-21 16:24:53 -04:00
Matthias Grob
5bea264a5f
Matrix Quaternions: Apply simpler call for constructor and copying to all remaining modules
2017-09-21 17:44:57 +02:00
Matthias Grob
2941cea384
matrix: Switch to hamilton convention for quaternion product order and according ecl changes
...
Note: ecl needs to be updated at the same time
because as soon as the ecl is compiled within PX4 Firmware
the matrix submodule checked out by PX4 Firmware is used
for every call to a matrix or quaternion.
2017-09-21 17:44:57 +02:00
Beat Küng
26e4756055
mavlink_ftp_test: fix unit-tests
2017-09-21 07:33:09 +02:00
Beat Küng
ebd2acfc43
posix-configs: enable ftp for all mavlink instances
2017-09-21 07:33:09 +02:00
Beat Küng
5b85b26351
mavlink_ftp: keep a copy of the last reply & resend it upon duplicated seq num
2017-09-21 07:33:09 +02:00
Beat Küng
b072599679
mavlink_ftp: fix alignment issue
2017-09-21 07:33:09 +02:00
Beat Küng
ea587d585f
mavlink_ftp: add & handle kErrFailFileExists error
...
This error definitions already existed in QGC
2017-09-21 07:33:09 +02:00
Henry Zhang
4778c79201
commander: removed CONFIG_ARCH_BOARD_xxx usage
2017-09-20 18:40:55 -10:00
Henry Zhang
d2a37ff9d5
MindPX: Schedule work queue with higher priority
2017-09-20 10:34:29 -04:00
Henry Zhang
12384f3ffb
MindPX: Enable DDS
2017-09-20 10:34:29 -04:00
Henry Zhang
42627777a0
cmake configs : add camera_feedback module
2017-09-20 10:34:29 -04:00
sanderux
b5c3bc7b0f
Remove thrust_sp from pusher assist calculation
2017-09-20 10:51:06 +02:00
Daniel Agar
4e6ca271e7
more px4fmu-v1 cleanup ( #7981 )
2017-09-20 00:04:23 -04:00
Lorenz Meier
0780e430fd
Sensors params: Adjust tube length to better default
2017-09-19 09:01:11 -07:00
Lorenz Meier
1880abdac5
Airspeed: Base sensor model on device ID from sensor
2017-09-19 09:01:11 -07:00
Andreas Antener
4ea49242d3
SDP3x pitot compensation: fixed the compensation and protect agains negative compensation values
2017-09-19 09:01:11 -07:00
Lorenz Meier
b59aefc989
Airspeed measurement: Add accurate models for dynamic pressure
...
This allows to get very accurate readings from the SDP3x sensor series from Sensirion using a complete sensor model.
2017-09-19 09:01:11 -07:00
Daniel Agar
9cd915949a
FW raise min airspeed based on commanded bank ( #7575 )
2017-09-19 11:06:40 -04:00
Daniel Agar
3498fe0c6f
delete sdlog2 EKF2 replay ( #7982 )
2017-09-19 10:20:41 -04:00
Beat Küng
b00c93ac21
mc_pos_control_main: add clarification that we're in world frame
2017-09-19 11:44:29 +02:00
Beat Küng
05e3c58e18
mc_pos_control_main: simplify manual control handling
2017-09-19 11:44:29 +02:00
Beat Küng
d6df692b7a
param MPC_MAN_TILT_MAX: decrease maximum from 90 to 85 degrees
...
At 90 degrees the yaw is extremely unstable (tested with HIL), it
overshoots and only very slowly converges to the correct value.
This behavior is also noticable with lower angles, but not so extreme.
It definitely needs to be looked into further, but for now this makes it
safer.
2017-09-19 11:44:29 +02:00
Beat Küng
55bd35cba6
mc_pos_control_main: improve the manual input setpoints
2017-09-19 11:44:29 +02:00
Beat Küng
fc51c42280
mc_pos_control_main: fix types for parameter values
2017-09-19 11:44:29 +02:00
Daniel Agar
26f00609ac
multirotor_motor_limits only publish for MC
2017-09-19 02:25:30 +01:00
Daniel Agar
9cacd3f994
BMP280 fix /dev/baroX unregister
2017-09-18 12:01:59 -07:00
Dennis Mannhart
82f25453a7
mc_pos_control: smooth position control from stick input
2017-09-18 13:30:16 +02:00
Daniel Agar
fb5cb87e9b
enable -Wlogical-op and fix bmi160
2017-09-16 21:29:52 +01:00
Daniel Agar
a031552756
systemcmds remove extra semicolons
2017-09-16 21:29:52 +01:00
Daniel Agar
681f019ac3
platforms remove extra semicolons
2017-09-16 21:29:52 +01:00
Daniel Agar
545ce9ae24
modules remove extra semicolons
2017-09-16 21:29:52 +01:00
Daniel Agar
08fbd022af
lib remove extra semicolons
2017-09-16 21:29:52 +01:00
Daniel Agar
9f44279488
include remove extra semicolons
2017-09-16 21:29:52 +01:00
Daniel Agar
a1418c56ad
examples remove extra semicolons
2017-09-16 21:29:52 +01:00
Daniel Agar
58268c832c
drivers remove extra semicolons
2017-09-16 21:29:52 +01:00
Daniel Agar
a87b6befbb
ignore .vscode IDE directory
2017-09-16 21:29:52 +01:00
Daniel Agar
aab91af05b
unit_test add missing definition
2017-09-16 21:29:52 +01:00
Daniel Agar
79869c848f
drivers fix missing field initializers
2017-09-16 21:29:52 +01:00
Daniel Agar
35e15ed540
cmake add -Wmissing-field-initializers and a few others
2017-09-16 21:29:52 +01:00
Daniel Agar
d3ed773838
sensors coverity fix 143426
2017-09-16 21:28:24 +01:00
Daniel Agar
086ddf5078
logger coverity fix 143427
2017-09-16 21:28:24 +01:00
Daniel Agar
91cda08081
temperature calibration coverity fix 141891
2017-09-16 21:28:24 +01:00
Daniel Agar
5331768cb3
ekf2_reply_main coverity fix 143425
2017-09-16 21:28:24 +01:00
Daniel Agar
8ddd071f18
temperature_calibration coverity fix 141892
2017-09-16 21:28:24 +01:00
Daniel Agar
6341299062
ekf2_replay_main coverity fix 143428
2017-09-16 21:28:24 +01:00
Daniel Agar
a766cb6722
px4io remove unused printf arg ( #7974 )
2017-09-16 14:50:59 -04:00
Daniel Agar
7e90716661
motor_ramp remove unreachable code ( #7973 )
2017-09-16 14:50:28 -04:00
Julian Oes
98de8c85a4
vmount: accept mavlink input from [0..360] degrees
...
This enables mavlink user input not only in the range of [-180..180]
degrees but also [0..360] degrees.
2017-09-15 14:41:07 +02:00
Mateusz Sadowski
8ba6c209d4
drivers: fix codestyle for teraranger driver
...
Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com >
2017-09-15 12:07:16 +01:00
Mateusz Sadowski
e439070f25
drivers: refactor trone driver to work with Evo
...
This commit changes old trone driver into a generic
TeraRanger driver that supports both TeraRanger One
and TeraRanger Evo.
As a part of the change a new parameter was created
SENS_EN_TRANGER that allows to specify the following
modes of operation:
0 - sensors disabled
1 - autodetect sensors
2 - use TeraRanger One rangefinder
3 - use TeraRanger Evo rangefinder
Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com >
2017-09-15 12:07:16 +01:00
Mateusz Sadowski
d5f8a300df
Revert "drivers: add support for TeraRanger Evo"
...
This reverts commit d1da112334a875d83abbd04c50fd3bed3b069886.
2017-09-15 12:07:16 +01:00
Mateusz Sadowski
ee72931190
drivers: add support for TeraRanger Evo
...
This commit adds i2c support for TeraRanger Evo sensor
by Terabee
Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com >
2017-09-15 12:07:16 +01:00
Karl Schwabe
6d1aa4cad2
Bugfix: corrects the ARR calculation for the LED PWM timer
...
The calculation of the ARR on the LED PWM timer did not subtract 1
from the timer period calculation to get the ARR value.
2017-09-14 04:10:41 -10:00
ChristophTobler
8f7e2158f1
update ecl submodule to include flow fixes
2017-09-14 16:02:01 +02:00
David Sidrane
b4eb6e4492
Makefile:distclean should not delete an local eclipse .settings
2017-09-14 09:52:27 +02:00
Karl Schwabe
38a4c1e90b
Bugfix: corrects the ARR calculation for the PWM timer
...
The calculation of the ARR on the PWM timer did not subtract 1
from the timer period calculation to get the ARR value.
2017-09-13 08:25:06 -10:00
sanderux
919b3a218a
Factor in reverse pusher delay on mission acceptance radius
2017-09-13 17:25:41 +02:00
NRottmann
5352cffe3f
Changing Names
2017-09-13 06:20:05 -07:00
NRottmann
e1eceda5f2
Change start up script
...
Now the start up script starts a GPS simulator as well as the ekf in order
to estimate position and orientation
2017-09-13 06:20:05 -07:00
NRottmann
af58ccf173
Adding launch file to lpe folder
2017-09-13 06:20:05 -07:00
NRottmann
989b1484cc
HippoCampus AUV: Enable start without ROS wrappers
2017-09-13 06:20:05 -07:00
NRottmann
81782444e4
Update sitl_gazebo to latest version
2017-09-13 06:20:05 -07:00
CarlOlsson
6a9f47b31e
msg: Fix documentation of filter_fault_flag in estimator status msg
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-09-13 05:48:35 -07:00
David Sidrane
67679e56d0
[BACKPORT] stm32:stm32f40xxx I2C ensure proper error handling.
...
Injecting data errors would cause the driver to
continually reenter the isr with BERR an RxNE.
This fix allows the error to be cleared and
propagated to the waiting task.
2017-09-13 05:40:50 -07:00
Daniel Agar
f26933fc55
delete unused RC_DSM_BIND param
2017-09-13 05:30:14 -07:00
Julian Oes
ee6a79279f
commander: require local position for home
...
This fixes (or at least works around) a race condition where the
`status_flags.condition_local_position_valid` is still `false` but the
`status_flags.condition_global_position_valid` is already `true`.
The way to reproduce it is t:
1. Poll home position to check if home is initialized
2. Send arm and takeoff command as soon as home is initialized
Then arming will succeed but takeoff will fail because there is a check
for `status_flags.condition_local_position_valid` in
`main_state_transition()` to enter TAKEOFF.
2017-09-13 10:06:40 +02:00
Beat Küng
19e7ba63ee
param: use separate param save lock
...
param save is an expensive operation that can take several 100ms. And
previously it was possible that a param_get() caller was blocked on a
save operation. If this happened due to a param change notification,
important modules, such as sensors, could have been blocked for a longer
period (and affecting the flight performance).
With this patch, this situation is not possible anymore, because a param
save now uses the reader lock and a separate file lock.
However it is still possible that a param_set() needs to wait for a save
operation, thus blocking for a longer time. param_set() thus needs to be
avoided in important modules when the system is armed.
In the case of mavlink it works, since it does not affect the flight if
the mavlink receiver is blocked over a longer time. It is only problematic
if a joystick is used as input or in offboard control.
2017-09-12 08:46:10 +02:00
James Goppert
4ce803b321
Update LPE init script.
2017-09-11 21:40:42 +01:00
Karl Schwabe
47d7465476
Bugfix: corrects orientation of magnetometer raw values
...
The magnetomer raw values were not being rotated in the same direction as
the scaled values. This meant that if the rotation was set to ROTATION_NONE,
the raw values and scaled values were off by 180 degrees.
2017-09-11 10:24:35 -07:00
sanderux
07a995a621
Code style
2017-09-11 12:08:39 +02:00
sanderux
1d2a08bd2d
VTOL back transition: check only forward velocity
2017-09-11 12:08:39 +02:00
Dennis Mannhart
a398dc09c7
mc_pos_control: set curr_pos_sp(0:1) to pos(0:1) if non-finite
2017-09-11 02:08:22 -07:00
Dennis Mannhart
22be99da3e
mc_pos_control: change name _pos_first_nofinite to _triplet_lat_lon_finite
2017-09-11 02:08:22 -07:00
Dennis Mannhart
cdb610a453
mc_pos_control: remove _limit_vel_xy
2017-09-11 02:08:22 -07:00
Dennis Mannhart
9ea465b66b
mc_pos_control auto: fix curr pos sp mapping to local frame
2017-09-11 02:08:22 -07:00
Dennis Mannhart
cb9efd7119
mc_pos_control: remove unused defines and add SIGMA
2017-09-11 02:08:22 -07:00
Dennis Mannhart
352f86fff4
mc_pos_control reintegration fixes of duplicates, unused parameter and order
2017-09-11 02:08:22 -07:00
Dennis Mannhart
bf5e81a34f
mc_pos_control param: acceleration parameters adjustment and addition
2017-09-11 02:08:22 -07:00
Dennis Mannhart
10a9c410e3
mc_pos_control: parameter for maximum horizontal velocity
2017-09-11 02:08:22 -07:00
Dennis Mannhart
8eca82022c
mc_pos_control: sub param.acc with block param
2017-09-11 02:08:22 -07:00
Dennis Mannhart
44e4beeeec
mc_pos_control: check if triplets are valid, otherwise ignore
2017-09-11 02:08:22 -07:00
Dennis Mannhart
5b03c5f68e
navigator: reset triplets during onboard/offboard mission update
2017-09-11 02:08:22 -07:00
Dennis Mannhart
c84c7cdcb4
mc_pos_control: set previous triplet point to invalid when switching to manual
2017-09-11 02:08:22 -07:00
Dennis Mannhart
2ceb703613
mc_pos_control: use math::constrain
2017-09-11 02:08:22 -07:00
Dennis Mannhart
947d63fb11
mc_pos_control auto: replace min_cruise_speed with cruise_speed_90; take care of case when cruise_speed_90 is exactly in the middle of max and min
2017-09-11 02:08:22 -07:00
Dennis Mannhart
3538f028b4
mc_pos_control: use 0.5 of acceleration for auto
2017-09-11 02:08:22 -07:00
Dennis Mannhart
807d45c99c
mc_pos_control slowing down close to target take over previous setpoint if low
2017-09-11 02:08:22 -07:00
Dennis Mannhart
ac3321dc6c
mc_pos_control: distinguish between up and down acceleration
2017-09-11 02:08:22 -07:00
Dennis Mannhart
c1199d1202
mission don't apply slewrate for altitude
2017-09-11 02:08:22 -07:00
Dennis Mannhart
9ec0d72f3c
mc_pos_control: make sure that passing waypoint only allowed if altitude is reached
2017-09-11 02:08:22 -07:00
Dennis Mannhart
b769d1cee0
mc_pos_control auto: apply auto logic for z-direction
2017-09-11 02:08:22 -07:00
Dennis Mannhart
2655c72cea
mission: remove altitude foh for rotarywing
2017-09-11 02:08:22 -07:00
Dennis Mannhart
8e99c73f49
mc_pos_control: don't divide by zero
2017-09-11 02:08:22 -07:00
Dennis Mannhart
cb820a168a
mc_pos_control: use original targethreshold when computing target_velocity
2017-09-11 02:08:22 -07:00
Dennis Mannhart
08d15f5402
mc_pos_control: remove target threshold from auto
2017-09-11 02:08:22 -07:00
Dennis Mannhart
dbed42a720
mc_pos_control auto: ensure the order of cruise speeds during mission
2017-09-11 02:08:22 -07:00
Dennis Mannhart
3f73a56f5a
mc_pos_control: accelerate faster in auto and increase speed at 90degrees angle
2017-09-11 02:08:22 -07:00
Dennis Mannhart
540c0bdafb
mc_pos_control: accelerate faster
2017-09-11 02:08:22 -07:00
Dennis Mannhart
7a822c9db2
mc_pos_control: don't use slewrate in mission
2017-09-11 02:08:22 -07:00
Dennis Mannhart
267dbe9b7a
mc_pos_control: when close to current and previous, ajdust target velocity
2017-09-11 02:08:22 -07:00
Dennis Mannhart
0a37d8dc42
mc_pos_control: clarify speed params
2017-09-11 02:08:22 -07:00
Dennis Mannhart
9cfc57e4a6
mc_pos_control: rebase fix
2017-09-11 02:08:22 -07:00
Dennis Mannhart
3e4ab5ed59
mc_pos_control: when close to current and previous, ajdust target velocity
2017-09-11 02:08:22 -07:00
Dennis Mannhart
c4c18caed4
mc_pos_control auto: set speed at 90degrees to 1
2017-09-11 02:08:22 -07:00
Lorenz Meier
38f796f991
mc pos control: More sign checks
2017-09-11 02:08:22 -07:00
Lorenz Meier
a6108cc951
mc_pos_control: Use proper boundary checking when taking the norm of a vector
...
The previous method made too optimistic assumptions about the resolution of 32 bit floating point numbers.
2017-09-11 02:08:22 -07:00
Dennis Mannhart
4c4ee1af14
mc_pos_contol: sub eplsion with sigma, treat current behind independently
2017-09-11 02:08:22 -07:00
Dennis Mannhart
7734279f61
mc_pos_control: smooth transition between waypoint updates
2017-09-11 02:08:22 -07:00
Dennis Mannhart
3053b24761
mc_pos_control: auto remove min dist
2017-09-11 02:08:22 -07:00
Dennis Mannhart
8c5b1d33da
mc_pos_contol: add break when printing warning
2017-09-11 02:08:22 -07:00
Dennis Mannhart
13f8936cf1
mc_pos_control: warning for invalid thrust sp
2017-09-11 02:08:22 -07:00
Lorenz Meier
e58766c394
MC pos controller: log exceptions but rate-limit them
2017-09-11 02:08:22 -07:00
Dennis Mannhart
11a4410500
mc_pos_control: revert protection against nan thrust sp
2017-09-11 02:08:22 -07:00
Dennis Mannhart
dae1093bec
mc_pos_control: auto logic description and sanity check for thrust setpoint
2017-09-11 02:08:22 -07:00
Dennis Mannhart
6e5fe947fe
mc_pos_control: add clarification to auto function and auto angle computation
2017-09-11 02:08:22 -07:00
Dennis Mannhart
e51e52f425
mc_pos_control: reorder auto logic and ensure that nan gets caught
2017-09-11 02:08:22 -07:00
Dennis Mannhart
5d4486c920
mc_pos_control: only follow line if longer than 0.1
2017-09-11 02:08:22 -07:00
Dennis Mannhart
50e3c4067a
mc_pos_control: update _curr_pos_sp all the time
2017-09-11 02:08:22 -07:00
Dennis Mannhart
9dc5051504
mc_pos_control auto: use current velocity if smaller than velocity setpoint when slowing down
2017-09-11 02:08:22 -07:00
Dennis Mannhart
a84baa1dcc
mc_pos_control auto: adjust velocity only along track; use vector instead of point
2017-09-11 02:08:22 -07:00
Dennis Mannhart
2735280ffc
mc_pos_control auto: treat off the track differently depending on position
2017-09-11 02:08:22 -07:00
Dennis Mannhart
a7be9854d9
mc_pos_control: remove scaling in auto and remove limit_velocity function; update auto logic
2017-09-11 02:08:22 -07:00
Beat Küng
c82deaf26f
dataman: fix test for return value of px4_task_spawn_cmd
...
And destroy the semaphore if startup fails.
Credits for finding this go to @jeonghwan-lee
2017-09-11 02:04:27 -07:00
David Sidrane
694de32740
ROMFS::Removed ardrone_interface from PX4 only used PX4v1
...
Removed that driver was only referenced from the now depricated
px4fmuv-1
2017-09-10 13:37:23 -04:00
David Sidrane
ca9e323b13
ardrone_interface:Removed ardrone_interface from PX4 only used PX4v1
...
Removed that driver was only referenced from the now depricated
px4fmuv-1
2017-09-10 13:37:23 -04:00
David Sidrane
1e0489f48b
PX4 System gpio_led:Code cleanup
...
Use PX4 log and module documantation
Fixed memory leaks
2017-09-10 13:37:23 -04:00
David Sidrane
bcb89f54e2
px4iofirmware:Removed FMUv1 and px4io-v1
...
Removed FMUv1 and px4io-v1, defaulting to px4io-v2
were appicable.
2017-09-10 13:37:23 -04:00
David Sidrane
e07cb71a11
px4io:Removed FMUv1 hardware dependancies
...
Removed conditional compilation for FMUv1 and defaulted to
FMUv2.
2017-09-10 13:37:23 -04:00
David Sidrane
5782e5c5fd
uavcan:Removed PX4FMUv1 support
2017-09-10 13:37:23 -04:00
David Sidrane
34cd7563fb
commander:Removed PX4FMUv1 LED support
2017-09-10 13:37:23 -04:00
David Sidrane
acb51aeda3
rgbled:Updated comment, removing reference to PX4FMUv1
...
Comment expressly referenced PX4FMUv1, but the EEPROM,
could be used on any board.
2017-09-10 13:37:23 -04:00
David Sidrane
f5e9ae6682
px4fmu:Removed FMUv1 only modes
2017-09-10 13:37:23 -04:00
David Sidrane
60ac35b0ac
pwm_out_sim:Removed FMUv1 only modes
2017-09-10 13:37:23 -04:00
David Sidrane
8c8ea0754a
PX4 System gpio_led:Removed FMUv1
2017-09-10 13:37:23 -04:00
David Sidrane
901af8d02c
Removed PX4FMUv1 from eclipse.cproject
2017-09-10 13:37:23 -04:00
David Sidrane
7c88cb18c6
Removed PX4FMUv1 from readme
2017-09-10 13:37:23 -04:00
David Sidrane
3811ed0926
Removed PX4FMUv1 auto completions
2017-09-10 13:37:23 -04:00
David Sidrane
802fc415ed
Debug Scripts:Removed FMUv1
2017-09-10 13:37:23 -04:00
David Sidrane
99bce71003
board_common:px4io-v1:Removed px4io-v1 board from PX4
...
Only provide paths to px4io-v2 bin files.
2017-09-10 13:37:23 -04:00
David Sidrane
f6a0765d3c
ROMFS:px4io-v1:Removed px4io-v1 board from PX4
...
Only support px4io-v2 px4io
2017-09-10 13:37:23 -04:00
David Sidrane
7123777e0e
px4io-v1:Removed px4io-v1 board from PX4
2017-09-10 13:37:23 -04:00
David Sidrane
62a2351a72
ROMFS:Removed FMUv1 from rcS etal
2017-09-10 13:37:23 -04:00
David Sidrane
c0bff500fe
ROMFS:Removed fmuv1 exclude from mixers
2017-09-10 13:37:23 -04:00
David Sidrane
c01889ea4f
ROMFS:Removed fmuv1 exclude from Air Frames
2017-09-10 13:37:23 -04:00
David Sidrane
2cbd411a53
nuttx-configs:Removed errant comments referencing px4fmu-v1
2017-09-10 13:37:23 -04:00
David Sidrane
a7ba7af89a
FMUv1:Removed FMUv1 board from PX4
2017-09-10 13:37:23 -04:00
Julien Lecoeur
ceeae7587e
worst case analysis of stack usage ( #7883 )
...
* Makefile target "check_stack"
2017-09-10 13:34:34 -04:00
tops4u
24ed06156e
Update sf1xx.cpp
...
Spaces to Tabs.
2017-09-09 17:36:59 +01:00
tops4u
2b700975f2
Added basic support for Lightware SF20/LW20 I2C connected LIDAR Devices
2017-09-09 17:36:59 +01:00
Nicolas de Palezieux
a6ce2b320c
mission: add heading towards ROI mode for multicopters
2017-09-08 12:50:15 -04:00
Daniel Agar
7a42424411
Navigator resurrect FW GPS failure navigation ( #7762 )
2017-09-08 12:18:59 -04:00
Daniel Agar
e15afcca7a
vehicle_command commands are uint16, not uint32
2017-09-08 09:06:30 +02:00
Larry Wang
0ae76aff32
updated to use rc driver from PX4, instead of from FC addons ( #7798 )
...
* updated to use rc driver from PX4, instead of from FC addons
* fixed format
* update per comments
* fix format
* fix format
* remove duplicated __PX4_QURT
2017-09-08 07:09:53 +02:00
Daniel Agar
8f1355c325
docker_run.sh add default port (14556 udp) and remove X11 setup ( #7936 )
2017-09-07 22:21:18 -04:00
Hancheol Choi
43667b240e
mavlink fix incorrect attitude_sp subscription in HIGH_LATENCY ( #7928 )
2017-09-07 09:32:42 -04:00
Daniel Agar
665ab03f5c
muorb fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
a3ccfe52ee
pwm_out_rc_in fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
dd70892cb8
qshell fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
e6f2ba9864
bebop_fix fix sign compare
2017-09-07 10:27:36 +02:00
Daniel Agar
661b36df6b
px4nucleo_spi fix sign compare
2017-09-07 10:27:36 +02:00
Daniel Agar
9b3b83f1ac
uavcanesc ignore sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
3289fa292b
px4flow fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
8e3efc5135
gpssim fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
d4502349fb
syslink fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
33ee4fc453
linux_pwm_out fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
dd6892443c
px4fmu-v5 fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
fc4a8ebb2a
ulanding fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
5fedab7531
controllib fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
57cffa82f1
posix main fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
494e03000d
tap_esc fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
6b2fa1127f
iridiumsbd fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
275d81d4d5
stm32 common fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
4070abc132
gps fix sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
9b5fe8c476
ignore -Wsign-compare per module
2017-09-07 10:27:36 +02:00
Daniel Agar
35d908b453
cmake stop ignoring sign-compare
2017-09-07 10:27:36 +02:00
Daniel Agar
4e557e0f14
logger add manual_control_setpoint
2017-09-06 05:32:35 +02:00
Lucas De Marchi
9d6aee82dd
aerofc: switch companion baud to 921600
2017-09-05 20:28:15 +01:00
Lucas De Marchi
fd3b0eafb2
aerofc: allow to use 921600 baud to reboot
2017-09-05 20:28:15 +01:00
Daniel Agar
0c38f89b23
commander params wording
2017-09-05 12:57:25 -04:00
Daniel Agar
2fc29cf68f
rc.fw_defaults FW position failsafe defaults
2017-09-05 12:57:25 -04:00
Daniel Agar
dc18112697
EKF2 limit map reprojection ( #7900 )
2017-09-05 12:56:53 -04:00
Beat Küng
201b2bd75e
logger: remove non-existing topics arm_auth_ack & arm_auth_request
2017-09-05 18:40:53 +02:00
Daniel Agar
49dceb2bff
logger update topics ( #7914 )
...
- fixes #7911
2017-09-05 10:43:38 -04:00
Eric Wang
2b714e079b
driver: vdev_posix, increase PX4_MAX_FD ( #7905 )
...
- avoid "exceeded maximum number of file descriptors" when "make posix gazebo_typhoon_h480"
- closes #7892
2017-09-03 11:55:44 -04:00
Daniel Agar
962cdcf837
ulanding delete VDev usage ( #7893 )
2017-09-01 13:01:22 -04:00
Paul Riseborough
c3b1ec8b24
commander: Changes resulting from code review
...
Change units of parameters from uSec to sec.
Change recommended FW value for COM_POS_FS_GAIN from 2 to 0
Fix error in parameter description for COM_POS_FS_PROB
Fix error in unit for COM_POS_FS_GAIN
2017-09-01 11:53:41 +02:00
Paul Riseborough
684a598d9f
commander: Improve position failsafe parameter documentation
2017-09-01 11:53:41 +02:00
Paul Riseborough
491ba08af1
commander: Add parameters to control position failsafe behaviour
...
This is required because the hardcoded values were too sensitive for fixed wing use and bad initial mag heading could trigger the failsafe and lead to crashes on launch. The defaults have been left unchanged. Suitable values for fixed wing use will need to be implemented in the airframe specific config file.
2017-09-01 11:53:41 +02:00
Daniel Agar
f67ac8ba00
land detector clang-tidy trivial changes
2017-08-31 22:49:44 -04:00
Daniel Agar
6e402bd6f4
land detector uniform initialization cleanup
2017-08-31 22:49:44 -04:00
Daniel Agar
cb8cc9a795
land detector add cycle perf
2017-08-31 22:49:44 -04:00
Daniel Agar
c250fb0a9e
land detector FW round get_max_altitude()
...
- this prevents constant land detector publications
2017-08-31 22:49:44 -04:00
Daniel Agar
18d29d5a73
land detector FW uniform initialization
2017-08-31 22:49:44 -04:00
Daniel Agar
90819b2852
land detector move hysteresis constants into FW and MC
2017-08-31 22:49:44 -04:00
Daniel Agar
fd8a5644e8
ets_airspeed posix port
2017-08-31 09:27:36 +02:00
Daniel Agar
15407afc6e
ms4525_airspeed update test helpers
2017-08-31 09:27:36 +02:00
Daniel Agar
641a90708c
sdp3x_airspeed posix port
2017-08-31 09:27:36 +02:00
Daniel Agar
9cd25d604b
ms5525_airspeed posix port
2017-08-31 09:27:36 +02:00
Daniel Agar
676946c324
eagle add I2C defines
2017-08-31 09:27:36 +02:00
Daniel Agar
3a5ae7d1bb
bebop add PX4 I2C defines
2017-08-31 09:27:36 +02:00
Daniel Agar
07619cf723
Make NuttX drivers cross platform (VDev -> CDev)
2017-08-31 09:27:36 +02:00
Sugnan Prabhu S
6562dd496b
mavlink: implement MAV_CMD_REQUEST_FLIGHT_INFORMATION
...
Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com >
2017-08-31 09:26:39 +02:00
jgs2185
8a1d8f2162
Ulanding: fix formatting issues
2017-08-30 14:53:25 +01:00
jgs2185
f59530ec1f
Ulanding: remove unnecessary posix/nuttx platform differences
2017-08-30 14:53:25 +01:00
jgs2185
085540d5de
Ulanding: clarify changes made due to ulanding versions
2017-08-30 14:53:25 +01:00
jgs2185
d23fb63c96
Ulanding: remove redundant lines in Radar constructor
2017-08-30 14:53:25 +01:00
jgs2185
e3ff2df7a0
Ulanding: add POSIX support for Aerotenna ulanding radar
2017-08-30 14:53:25 +01:00
jgs2185
f9d219b187
Ulanding: add ulanding to cmake driver lists
2017-08-30 14:53:25 +01:00
Julien Lecoeur
b0c57fd65b
Return bool in added MavlinkStream*::send()
2017-08-30 14:45:02 +01:00
Julien Lecoeur
be74a1a4ed
Log debug topics
2017-08-30 14:45:02 +01:00
Julien Lecoeur
798c6d0f56
Use char* for names of debug messages
2017-08-30 14:45:02 +01:00
Julien Lecoeur
1a445c9c76
Add debug_value and debug_vect to example px4_mavlink_debug
2017-08-30 14:45:02 +01:00
Julien Lecoeur
0e6e0f4cb0
Wrong indentation
2017-08-30 14:45:02 +01:00
Julien Lecoeur
12353f4da7
Add support for mavlink message DEBUG_VECT
2017-08-30 14:45:02 +01:00
Julien Lecoeur
eeb966d375
Add support for mavlink message DEBUG
2017-08-30 14:45:02 +01:00
Julien Lecoeur
b6c30cf9b2
Add support for incoming NAMED_VALUE_FLOAT mavlink messages
2017-08-30 14:45:02 +01:00
sanderux
595d706eaf
Reverse pusher delay
...
Thist adds a delay for the reverse thrust to allow the motor to brake and avoid sync issues.
2017-08-30 08:08:25 +02:00
José Roberto de Souza
3fd7e3f89c
modules: commander: Implement arm authorization request
...
If the second bit of COM_ARM_MIS_EXT_REQ is set the vehicle
will only arm after receive an authorization.
The authorization flow:
vehicle/external -> command: arm authorization request -> arm authorizer
vehicle <- command ack with result in progress <- arm authorizer
vehicle <- any data request <- arm authorizer
vehicle -> data response -> arm authorizer
vehicle <- command ack authorizing or denying <- arm authorizer
Right now there is 2 ways to start the arm authorization request,
that can be configured by COM_ARM_AUTH parameter.
- One arm: When pilot request the vehicle to arm, it will request
authorization blocking the arm process up to the timeout defined in
COM_ARM_AUTH parameter.
- Two arms request: The first arm request will request the
authorization and will deny the first arm request, if authorizer
approved the request, pilot can arm again within the authorized
time and arm without any block.
The arm authorizer can be running anywhere(compute board or PX4
itself) and it is responsible to request the mission list or any
other information to vehicle before send a final response, it
should send to vehicle a COMMAND_ACK with
result = MAV_RESULT_IN_PROGRESS as soon as it receive the arm
authorization request and the final result
as after it got all the data that it needs authorize or deny the
request.
2017-08-28 08:28:57 +02:00
José Roberto de Souza
66170d1c01
mavlink: Do not miss a vehicle_command
...
If 2 or more vehicle_command are queued a call to update() will
return the oldest vehicle_command and set the _cmd_time to the
timestamp of the last vehicle_command queued losing it.
Using update_if_changed() fix this causing all item being consumed
one at each call of send().
2017-08-28 08:28:57 +02:00
José Roberto de Souza
dddac6c85a
msg: Add arm authorization request command id
2017-08-28 08:28:57 +02:00
José Roberto de Souza
7e3ab95975
modules: commander: Group arm requirements in just one byte and add a new requirement
...
Instead of having several bools to each requirement to arm, lets group then
in a byte and use bitmask.
This also add a new arm requirement "arm authorization" that
will be implemented in another patch.
2017-08-28 08:28:57 +02:00
acfloria
e5924f8172
ROMFS: Remove flaperons from AAERTWF mixer.
2017-08-26 22:37:51 +02:00
CarlOlsson
6135179202
generate_listener: Add support for uint16, int32 and int16 arrays
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-08-26 22:34:25 +02:00
CarlOlsson
49c0947cc2
generate_listener: Add space in array output
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-08-26 22:34:25 +02:00
David Sidrane
cde3545560
px4fmu-v5:Configure PWM LED polarity, and swapping
...
Test HW has R and G LED swapped and drives the UI LED's active
high. The changes support all the configuratons of FMUv5 on
RC00 and RC01 HW for PWM status and UI LEDs.
2017-08-26 03:44:59 -10:00
David Sidrane
3e46b5d02f
px4fmu-v5:Extend PWM LED definitions to suport polarity, drive and swaps
...
Added palarity mask to support active low drive on per channel
bassis.
Added open drain drive type when the enables are active low to
ensure the LED are off when supplied form 5 volts.
For active Push Pull is used. Active low drive is recomended.
Added support for test HW that had the R and G LED signals
swapped.
2017-08-26 03:44:59 -10:00
David Sidrane
2ef472d796
drv_led_pwm:Use hardware to support active hight or active low LED
...
Use the timer's polarity control bits to enable active low
drive as apposed to inverting the counts.
2017-08-26 03:44:59 -10:00
David Sidrane
8dd05dadfd
rgbled_pwm:Expand support for FMUv5 on board status and UI LEDs
...
FMUv5 can have 2 RGB LED's
2017-08-26 03:44:59 -10:00
David Sidrane
dd00858ca7
px4fmu_common:FMUv5 start ist8310 on I2C1, I2C2 & I2C3
2017-08-26 03:44:59 -10:00
David Sidrane
3b5ca4257b
px4fmu-v5:Add ist8310 to build for FMUv5
2017-08-26 03:44:59 -10:00
David Sidrane
9c68783c54
px4fmu-v5:Reorder I2C busses int 1-4 order
...
This alows the -b option map 1-to-1 with the 12C bus numbers
2017-08-26 03:44:59 -10:00
David Sidrane
8d21764dec
ist8310:Use px4_getops
2017-08-26 03:44:59 -10:00
David Sidrane
24522ca885
ist8310:Expand suported busses to External I2C 1-4
2017-08-26 03:44:59 -10:00
David Sidrane
a3b39394b8
px4fmu-v5:Added support for I2C LED driver
2017-08-26 03:44:59 -10:00
David Sidrane
b54e1875ea
mindpx-v2:Removed unsed and commented out rgbled_pwm driver
2017-08-26 03:44:59 -10:00
David Sidrane
a14d256a2f
tap_common:Add passivly starting the PWM rgbled driver
...
Board builds may now inclulde both the PWM and I2C RGB LED
To add the PWM RGB LED driver:The board must define
BOARD_HAS_LED_PWM and include rgbled_pwm the moulde list.
This change attempts to start the either rgbled driver, that
may or may not be present. If it is not present the +e
setting allows the start up to continue.
2017-08-26 03:44:59 -10:00
David Sidrane
5c3f2b783f
px4fmu_common:Add passivly starting the PWM rgbled driver
...
Board builds may now inclulde both the PWM and I2C RGB LED
To add the PWM RGB LED driver:The board must define
BOARD_HAS_LED_PWM and include rgbled_pwm the moulde list.
This change attempts to start the PWM rgbled driver, that
may or may not be present. If it is not present the +e
setting allows the start up to continue.
2017-08-26 03:44:59 -10:00
David Sidrane
50e83ac33e
rgbled:Allow I2C and PWM rgb led drivers to be used on the same board
...
Added RGBLED_PWM0_DEVICE_PATH path
Renamed the main of the PWM rgbled driver to create a seperate command
2017-08-26 03:44:59 -10:00
Jasmine
8bf12f512b
vtol tailsitter attitude control ( #7841 )
...
* revise pitch transition start and actuator_out_1 in transition
* update with new matrix math library
2017-08-26 12:05:17 +02:00
Daniel Agar
edea4a369e
uavcan start enforcing code style ( #7856 )
2017-08-25 13:07:21 -04:00
Daniel Agar
de6a552b53
clang-tidy ignore clang-analyzer-cplusplus.NewDelete due to false positives
2017-08-24 19:03:58 +02:00
Beat Küng
dd4be8aecf
mavlink: only enable FTP if -x flag is provided
2017-08-24 19:03:58 +02:00
Beat Küng
12f1c342d0
mavlink_main: do not use message_buffer if _ftp_on
...
if _ftp_on is true, message_buffer was created and read, but it was
actually never written to, so this is not needed. It can only ever be
written to if _forwarding_on is true.
2017-08-24 19:03:58 +02:00
Beat Küng
ca24c8e2b6
printload: add a column for the number of used file descriptors
...
And the maximum number of configured file descriptors.
Note that this is per group, not per thread, so that e.g. logger and
log_writer_file show the same number.
2017-08-23 08:11:44 +02:00
Beat Küng
bc30a808ab
DriverFramework: update submodule to latest master
2017-08-23 08:10:16 +02:00
Beat Küng
5f5dca4804
vdev: replace static list with an std::map
...
VDev::getDev() is used in px4_access, which is used in orb_exists. And if
the topic does not exist, it iterates over all 500 indexes, which is slow.
It was slow even if the topic existed, the map reduces runtime from linear
to logarithmic (there are around 80 items in the container).
This is only used on posix.
2017-08-23 08:10:16 +02:00
Beat Küng
409a1ce7d7
param SITL_BAT_DRAIN: add @unit s
2017-08-23 08:10:16 +02:00
Beat Küng
575e7be540
fix linux_pwm_out: return correct value for PCA9685::init()
2017-08-23 08:10:16 +02:00
Beat Küng
7a409cf843
vdev: remove unneeded devList & topicList methods
2017-08-23 08:10:16 +02:00
Daniel Agar
47eb371c01
delete Tools/make_color.sh
2017-08-23 08:07:36 +02:00
Daniel Agar
c8bc6f961f
topic_listener move generator to same directory
2017-08-23 08:07:36 +02:00
Daniel Agar
9f15c572a3
astyle scripting move to Tools/astyle
2017-08-23 08:07:36 +02:00
Daniel Agar
a02caff1bc
unit_test inline implementation and remove module build
2017-08-23 08:06:55 +02:00
Daniel Agar
f282f50cff
vmount run at default priority
2017-08-23 08:06:20 +02:00
Daniel Agar
47987f7e36
delete dummy tone alarm
2017-08-23 08:05:48 +02:00
Daniel Agar
fd6499baca
cmake simplify uavcan linking
2017-08-23 08:05:13 +02:00
PeterDuerr
fb7b33e755
Use updated micro-CDR with memory leak fix ( #7838 )
...
* Fixed memory leak (indicated by cppcheck) upstream
2017-08-22 10:50:00 -04:00
Dennis Mannhart
e39b38ba96
landdetector groundcontact: adjust climbrate if landing speed is low
2017-08-21 20:38:07 +02:00
Vicente Monge
a9b12cc8b4
Changed the default behavior for the client launching as a infinite loop
2017-08-21 16:48:37 +02:00
ChristophTobler
a2cf87b3ab
run px4flow for v4 pro
2017-08-21 16:47:59 +02:00
Daniel Agar
1e42d523da
mavlink main return main loop delay proper size
2017-08-21 01:31:27 +02:00
Daniel Agar
4b97e15714
commander remove orb_exists telemetry check
2017-08-21 01:30:17 +02:00
Lorenz Meier
52ba62d6c4
Navigator: Pause and unpause camera triggering on entering and exiting a mission
2017-08-20 22:47:48 +02:00
Lorenz Meier
447c167d3e
Navigator: Add on_inactivation() interface.
...
This allows to run a command / function once when being deactivated. This avoids having flight modes which are not active run unnecessary code all the time.
2017-08-20 22:47:48 +02:00
NRottmann
0f8f5d29be
Enable Simulation of the Hippocampus (AUV from TUHH)
...
Adding files which enable a simulation with the autonomous underwater
vehicle (AUV) from the Technical University Hamburg-Harburg
2017-08-20 20:59:15 +02:00
Lorenz Meier
e33a2b6c8d
Simulator: Add missing parameter_update topic
2017-08-20 20:54:58 +02:00
Daniel Agar
b620da8f01
BlockParam update() and commit() add returns
2017-08-20 20:42:42 +02:00
Daniel Agar
633102e7ca
List and ListNode cleanup
2017-08-20 20:42:42 +02:00
Daniel Agar
b70b8288b9
px4_includes cleanup incomplete list
2017-08-20 20:42:42 +02:00
Daniel Agar
e63da5860e
uORB cleanup Subscription/Publication c++
2017-08-20 20:42:42 +02:00
Lorenz Meier
7223780563
Simulator: Make battery discharging configurable.
2017-08-20 20:37:31 +02:00
AndresRengifo
641f2f856b
fix: battery prearm check ignored when CBRK_SUPPLY_CHK is disabled
2017-08-20 19:36:54 +02:00
davidaroyer
0761d220b1
cmake: fix conflict in ocpoc ubuntu config
2017-08-20 19:35:55 +02:00
Julien Lecoeur
41cc679258
PX4Flow: allow restart directly after stop
2017-08-20 19:31:24 +02:00
Julien Lecoeur
7a3a9a75d5
Add command line options to PX4Flow app for I2C address and sampling rate
2017-08-20 19:31:24 +02:00
crossa
17ba5dd04a
1.Add sbus driver for linux . This driver can be used to read the
...
inverted S.bus signal and fetch the data of each channel and publish it
2. Fix the bug of linux_pwm_out, when the protocol is pca9685,
after the init method is executed,the method of determining the return
value of init method is incorrect,this will cause the driver to fail
3. Add linux_sbus driver to other posix prefixes cmake files
2017-08-20 16:51:04 +01:00
Daniel Agar
b2a81ed35b
multi diff pres sensor publication and logging
2017-08-19 22:49:29 +02:00
Daniel Agar
8db2883d84
delete unused tones
2017-08-19 09:50:41 +02:00
Mark Charlebois
295ffdc1b6
Use specific vesions
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-19 09:42:50 +02:00
Mark Charlebois
326445ba83
Removed support for astyle 2.05.1
...
There are bugs in version 2.05.1 (default version in Ubuntu 16.04)
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-19 09:42:50 +02:00
José Roberto de Souza
4462869432
Add support to new fields in command_ack
2017-08-19 09:04:52 +02:00
José Roberto de Souza
d640d1aaf1
submodules: sitl_gazebo: Update to newest version
2017-08-19 09:04:52 +02:00
José Roberto de Souza
5136ccc647
submodules: mavlink: Update to newest version
2017-08-19 09:04:52 +02:00
José Roberto de Souza
b7c705e790
msg: Add missing value of MAV_RESULT
2017-08-19 09:04:52 +02:00
José Roberto de Souza
c200d0e9a4
Keep initialization of outgoing vehicle_command_s consistent
...
All others are initialized this way.
2017-08-19 09:04:52 +02:00
David Sidrane
79f49fd851
bugfix:px4fmu-v5 (STM32F7) random sd write failures
...
This is a back port of upstream NuttX PX4 contrib of
ef42c25 stm32f7:SDMMC add dcache alignment check in dma{recv|send}setup
In the where CONFIG_SDIO_PREFLIGHT is not used and dcache
write-buffed mode is used (not write-through) buffer alignment
is required for DMA transfers because a) arch_invalidate_dcache
could lose buffered writes data and b) arch_flush_dcache could
corrupt adjacent memory if the buffer and the bufflen, are not on
ARMV7M_DCACHE_LINESIZE boundaries.
1e7ddfe stm32f7:SDMMC remove widebus limitation on DMA
There is no documantation for the STM32F7 that limits DMA on
1 bit vrs 4 bit mode.
dffab2f stm32f7:DMA add dcache alignment check in stm32_dmacapable
In the case dcache write-buffed mode is used (not write-through)
buffer alignment is required for DMA transfers because
a) arch_invalidate_dcache could lose buffered writes data and
b) arch_flush_dcache could corrupt adjacent memory if the
maddr and the mend+1, the next next address are not on
ARMV7M_DCACHE_LINESIZE boundaries.
38cbf1f stm32f7:DMA correct comments and document stm32_dmacapable
Updated comment to proper refernce manual for STM32F7 not STM32F4.
Added stm32_dmacapable input paramaters documentation.
2017-08-18 09:21:55 +02:00
Beat Küng
236021cc01
vmount mavlink input: fix polling for position_setpoint_triplet
...
The code was violating the rule 'every successfull poll must be followed
by an orb_copy'.
The result was a busy loop.
2017-08-17 07:47:48 +02:00
bresch
25bbe76530
FW att ctrl - Fix vehicle_attitude_setpoint timestamp logging when in stabilized ( #7803 )
2017-08-16 20:38:19 -04:00
CAI Dongcai
63306ada92
FW attitude and position control minor code cleanup ( #7802 )
...
- change a little bit to make the code more readable
2017-08-16 10:51:41 -04:00
Beat Küng
83643a719a
nuttx config: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
This is needed when logger is logging to file and ulog streaming gets
activated.
2017-08-16 16:46:56 +02:00
Beat Küng
ebafa5698d
log_writer_file: register hardfault handler before opening the log file
...
hardfault_store_filename() opens and closes a file descriptor, so if we do
it before opening the log file, we need one file descriptor less
2017-08-16 16:46:56 +02:00
Beat Küng
9e01842c6a
mavlink ulog: advertise ulog_stream topic before subscribing to ulog_stream_ack
...
This reduces the maximum number of needed file descriptors by 1 when using
ulog streaming.
2017-08-16 16:46:56 +02:00
Julian Oes
ba150566c6
mavlink_command_sender: add some log printfs
...
This improves the printfs which will be logged. This should improve to
debug the camera triggering. The debug printfs are disabled by default.
2017-08-16 09:47:50 +02:00
Julian Oes
31edab6d6d
mavlink_command_sender: remove unused include
2017-08-16 09:47:50 +02:00
sanderux
33e67fd527
Disable PA during landing
2017-08-16 08:19:06 +02:00
sanderux
e6c942033b
Disable pusher assist when descending
2017-08-16 08:19:06 +02:00
sanderux
8f5293d7b0
Remove explicit pusher throttle setting
2017-08-16 08:19:06 +02:00
sanderux
33efd89ef8
Disable pusher assist for quadchute failsafe
2017-08-16 08:19:06 +02:00
sanderux
66bb7adc4c
simplify back transition throttle scaling
2017-08-16 03:06:13 +02:00
sanderux
6b9a8daceb
Correctly name b_trans_thr and remove contraint
2017-08-16 03:06:13 +02:00
sanderux
ff669ee645
Move vtol standard params
2017-08-16 03:06:13 +02:00
sanderux
7a8d3c4ab2
Correctly check reverse thrust conditions
2017-08-16 03:06:13 +02:00
sanderux
4396e78d12
Allow negative thrust on reverse throttle
2017-08-16 03:06:13 +02:00
sanderux
01d9212a29
Widen pusher throttle constraint
2017-08-16 03:06:13 +02:00
sanderux
e5a55cd142
Support negative thrust for back transition
2017-08-16 03:06:13 +02:00
sanderux
59d81ee0f1
Clarify parameters
2017-08-16 03:06:13 +02:00
sanderux
fbbe3d1f41
Check velocity valid and param description
2017-08-16 03:06:13 +02:00
sanderux
50894e8615
VTOL control back transition ramp up time
2017-08-16 03:06:13 +02:00
sanderux
560e9e88dc
Apply slew rate to reverse thrust
2017-08-16 03:06:13 +02:00
sanderux
e9516db5b0
Back transition duration based on deceleration m/s/s
2017-08-16 03:06:13 +02:00
sanderux
2e481867e5
Consider back transtition complete when MPC_XY_CRUISE is reached
2017-08-16 03:06:13 +02:00
sanderux
1a0c23d8b3
Support thrust reversal for vtol back transition
2017-08-16 03:06:13 +02:00
Dennis Mannhart
f50052f290
landdetector mc: widen acceptance threshold after landing instead of arming
2017-08-15 10:30:29 +02:00
Daniel Agar
3c26c11144
circleci force git to use git://
2017-08-14 17:03:06 -04:00
Daniel Agar
a3645b1ed1
travis-ci force git to use git://
2017-08-14 17:03:06 -04:00
Lorenz Meier
891b2f640d
TAPv1: Schedule sensor priority higher
2017-08-13 11:40:54 +02:00
Lorenz Meier
00b65f38aa
FMUv5: Schedule work queue with higher priority
2017-08-13 11:40:54 +02:00
Lorenz Meier
c2341ad7f6
FMUv4PRO: Schedule work queue with higher priority
2017-08-13 11:40:54 +02:00
Lorenz Meier
6f5499af7d
FMUv4: Schedule work queue with higher priority
2017-08-13 11:40:54 +02:00
Lorenz Meier
c6f9cd84d0
FMUv4: Schedule work queue with higher priority
2017-08-13 11:40:54 +02:00
Lorenz Meier
b2572a5795
FMUv2: Schedule work queue with higher priority
2017-08-13 11:40:54 +02:00
Lorenz Meier
fa482b4ebd
Racing boards: Default FMU to task as there is plenty of RAM to do this.
2017-08-13 11:39:44 +02:00
Lorenz Meier
9af9475541
RTPS: Ignore example processes
2017-08-13 11:39:00 +02:00
Lorenz Meier
23c790650a
FMUv5: Enable DDS
2017-08-13 11:38:14 +02:00
Lorenz Meier
0e661e5a84
FMUv4PRO: Enable DDS
2017-08-13 11:38:00 +02:00
Lorenz Meier
2adb9e8c4f
FMUv4: config style
2017-08-13 11:37:34 +02:00
Lorenz Meier
fa123db5c3
FMUv3: Enable DDS
2017-08-13 11:37:15 +02:00
Lorenz Meier
9e312e8dba
Uploader: Do not show timeout for larger binaries when everything is still as expected.
2017-08-13 11:36:12 +02:00
Lorenz Meier
861879c6d3
Widen threshold for standard gyro consistency check
...
Without temperature compensation the default is too narrow.
2017-08-12 12:50:46 +02:00
David Sidrane
67e470b0e1
px4fmu-v5:Use arch/polarity agnostic Power control macros
...
Use the board supplied Power control macros, in the
the board_peripheral_reset.
This abstacts the polarity from the code. Therefore changes
in signal sense can be made, just in the board config.
2017-08-12 08:02:41 +02:00
David Sidrane
5506588a31
px4fmu-v5:Add conditional support for Test RC00 HW
...
RC00 had an active high VDD_5V_PERIPH_EN
PC01 has an active low VDD_5V_PERIPH_EN
RC00 Test hardware did not use an LTC4417
While RC00 HW is still in circulation you can build with
PX4_FMUV5_RC00 defined and BOARD_HAS_LTC4417 undefined.
The default is PX4_FMUV5_RC01 and BOARD_HAS_LTC4417 defined.
2017-08-12 08:02:41 +02:00
Nicolas de Palezieux
55a2930cdb
vmount: reduce stack size to 1900 as recommended by @bkueng (maximum used memory observed: 1552)
2017-08-11 14:37:48 +02:00
Nicolas de Palezieux
b702daf40e
vmount: virtual destructor
2017-08-11 14:37:48 +02:00
Nicolas de Palezieux
c3faf587cc
vmount: make the parameter descriptions a little nicer
2017-08-11 14:37:48 +02:00
Nicolas de Palezieux
281ee5e5af
vmount: increase stack size
2017-08-11 14:37:48 +02:00
Nicolas de Palezieux
b8d389ca4e
vmount: properly unadvertise uorb topics when stopping or re-configuring vmount. Othwerise subsequent advertise calls may fail (only ever witnessed for _mount_orientation_pub)
2017-08-11 14:37:48 +02:00
Nicolas de Palezieux
cbe3627b8c
vmount: set more sensible default parameters for the mount system and component IDs
2017-08-11 14:37:48 +02:00
Nicolas de Palezieux
89aeea7e8e
vmount: publish mount angle commands in proper order and units
2017-08-11 14:37:48 +02:00
Beat Küng
4eb0ffc554
vmount: update control_data if already_active is true
...
control_data needs to be able to be set to nullptr in case if the input
is already active. Otherwise the output will think there's always new
requests and reset it's state.
2017-08-11 14:37:48 +02:00
Beat Küng
73d23742ea
vmount: rate-limit the update of the outputs
...
This avoids a busy-loop if the input is listening for vehicle commands and
the output publishes vehicle commands.
2017-08-11 14:37:48 +02:00
Beat Küng
923cdbcbfb
vmount mavlink input: process commands only if the target matches our sys & comp id
2017-08-11 14:37:48 +02:00
Beat Küng
fd05c09447
vmount: fix param types, use int32_t
2017-08-11 14:37:48 +02:00
Julien Lecoeur
6e35cb002f
PX4IO interface protocol: Fix rounding error
...
Issue: This conversion test failed with gcc 7.1.1 and clang 4.0.1:
```
ERROR [tests] conversion fail: input: -0.8188, intermediate: -8187, result: -0.8187
conv FAILED
Command 'tests' failed, returned -1
```
Fix: explicit rounding
2017-08-10 03:09:33 -04:00
Daniel Agar
02cee07469
travis-ci add GCC7 SITL build and tests
...
-closes #7539
2017-08-10 03:09:33 -04:00
Daniel Agar
b9c1d87876
docker_run respect PX4_DOCKER_REPO env variable
2017-08-10 03:09:33 -04:00
Daniel Agar
aa9023b72e
COM_RC_STICK_OV fix broken metadata
2017-08-09 22:28:05 +02:00
Daniel Agar
1cc7f47003
COM_FLTMODE* add param group
2017-08-09 22:28:05 +02:00
Daniel Agar
6ddd7ea8ab
RC_MAP_FAILSAFE add missing group
2017-08-09 22:28:05 +02:00
Daniel Agar
353f637e92
move SYS_FMU_TASK to px4fmu
2017-08-09 22:28:05 +02:00
Daniel Agar
928fdf34a6
sensors move THR_MDL_FAC and MOT_SLEW_MAX to px4fmu
2017-08-09 22:28:05 +02:00
Daniel Agar
95631439f1
sensors move PWM params to pwm_params.c
2017-08-09 22:28:05 +02:00
Daniel Agar
110d2968d8
sensors move RC params to rc_params.c
2017-08-09 22:28:05 +02:00
sanderux
2f1327540a
DeltaQuad mixer upgrade
2017-08-09 22:28:05 +02:00
sanderux
220bd82b93
Per channel PWM disarmed values
2017-08-09 22:28:05 +02:00
Lorenz Meier
462f1346bd
Add motor_test command to FMUv3
2017-08-09 22:12:25 +02:00
Daniel Agar
bd7284634d
land_detector add missing header and init all vtol fields ( #7754 )
2017-08-09 11:43:36 -04:00
sanderux
3ccf3bf2a8
Consistent capitalization
2017-08-09 10:35:44 +02:00
sanderux
2c4bbf3f44
Consistent capital use
2017-08-09 10:35:44 +02:00
sanderux
e8a84b4faa
Typo
2017-08-09 10:35:44 +02:00
sanderux
a2ec771f78
Widen first waypoint max setting for FW
2017-08-09 10:35:44 +02:00
sanderux
75c3d92142
typo
2017-08-09 10:35:44 +02:00
sanderux
6ee24a0c80
Move land detector changes to vtol
2017-08-09 08:12:54 +02:00
sanderux
49d2e8a3ff
Land detector fix for VTOL in FW mode
2017-08-09 08:12:54 +02:00
Beat Küng
72f9371ca4
micrortps_client_main: remove unnecessary sleep(1);
...
... and some strange reformatting due to astyle...
2017-08-08 21:47:17 +02:00
Beat Küng
77785c01ef
micrortps_client.cpp.template: avoid 0-init & check result of orb_copy
2017-08-08 21:47:17 +02:00
Beat Küng
de8e0b54b6
micrortps_client_main: use new module documentation & check param range
2017-08-08 21:47:17 +02:00
Beat Küng
e7d19f0a1a
micrortps_client_main: add status command
2017-08-08 21:47:17 +02:00
Beat Küng
55f65b4aff
Tools/message_id.py: rename to uorb_rtps_message_ids.py for clarity
2017-08-08 21:47:17 +02:00
José Roberto de Souza
925efe990d
Initialize all outgoing vehicle_command_ack_s and vehicle_command_s
...
This will initialize those structs with zero in all fields not set
and all fields set will only be change once to the final value not
wasting CPU time zeroing it.
This will guarantee that no non-unitialized structs will have
a trash value on from_external causing it to be sent to the
MAVLink channel without need it.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
7c268f4fa1
mavlink: Safely avoid send the same vehicle_command and vehicle_command_ack back
...
The previous approach was checking system id and component id but it
will not work in 100% of cases as external devices can send MAVLink
message with the right system id but with broadcast component id.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
89a428fbfe
commander: Keep vehicle_command_ack_s local
...
No need to keep this struct as global or alive while looping.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
7082cc13e0
mavlink: Allow vehicle to receive a command_ack message and publish it to listeners
2017-08-08 21:46:30 +02:00
José Roberto de Souza
a8cfd6f36a
msg: Use the correctly data types on vehicle_command
...
Lets save a few bytes using the right data types.
2017-08-08 21:46:30 +02:00
David Sidrane
1af5ed9024
crazyflie: Use BOARD_NUMBER_I2C_BUSES and BOARD_I2C_BUS_CLOCK_INIT
2017-08-08 21:45:01 +02:00
David Sidrane
8c1f506944
tapv1:Use BOARD_NUMBER_I2C_BUSES and BOARD_I2C_BUS_CLOCK_INIT
2017-08-08 21:45:01 +02:00
David Sidrane
b4f5e36fb1
px4fmu-v5:Add all I2C defines for all busses
...
Define BOARD_NUMBER_I2C_BUSES and BOARD_I2C_BUS_CLOCK_INIT
for I2C1-4
2017-08-08 21:45:01 +02:00
David Sidrane
64aaec4419
i2c_nuttx:Use BOARD_NUMBER_I2C_BUSES and BOARD_I2C_BUS_CLOCK_INIT
...
Used the board overrideable vlaues to define the _bus_clocks
array and initalize it.
2017-08-08 21:45:01 +02:00
David Sidrane
9644f855e3
common:Define default BOARD_NUMBER_I2C_BUSES and BOARD_I2C_BUS_CLOCK_INIT
...
Define the default I2C buss frequncies that are backward compatible
with the existing code. While allowing it the defaults to be overridden
by a board config.
Based on the legacy STM32 code, the I2C buss numbering starts at 1.
The bus frequency is stored in a 0 based array. If px4_i2cbus_initialize
returns a valid device, then the _bus-1 will act as the index to the
busses frequency.
A board may define BOARD_NUMBER_I2C_BUSES - the number of I2C busses
it supports* and BOARD_I2C_BUS_CLOCK_INIT to initalize the bus
clocks for a given busses.
BOARD_NUMBER_I2C_BUSES - the number of busses including the *highest
number bus. If the board has 2 I2C
busses I2C1 and I2C3 BOARD_NUMBER_I2C_BUSES
would be set to 3
BOARD_I2C_BUS_CLOCK_INIT - Initalization for the bus frequencies
by bus. A call init, with a frequency
less then the value used for the
Initalization will result in the device
not starting becuase the buss runs too
fast for it.
2017-08-08 21:45:01 +02:00
David Sidrane
9a21969189
px4_micro_hal:Define PX4_NUMBER_I2C_BUSES based on the arch/chip
...
PX4_NUMBER_I2C_BUSES number of busses that the HW can support
not all of them my be usesd. I.E. The STM32F427 has 3 I2C
busses but only I2C1 and I2C3 are used.
2017-08-08 21:45:01 +02:00
Beat Küng
98396a0bc5
frsky_telemetry: cleanup static vars, use less memory & fix process priority
2017-08-08 14:47:01 +02:00
Beat Küng
cb23817317
frsky_telemetry: send flight mode & gps info
...
This uses the TEMP1 & TEMP2 fields, which probably were used for something
else initially. However this implementation matches with OpenTX and APM.
2017-08-08 14:47:01 +02:00
Beat Küng
a2bfcb94ef
frsky_telemetry D protocol: refactor to use less memory & allocations
...
Also add the vehicle_gps_position & flight mode information
2017-08-08 14:47:01 +02:00
Beat Küng
9dea515eaa
frsky_telemetry S.Port: refactor to use less memory & allocations
2017-08-08 14:47:01 +02:00
Beat Küng
cf8b6a9de1
frsky_telemetry: use new module documentation
2017-08-08 14:47:01 +02:00
Beat Küng
4e5c6fc805
frsky_telemetry: fix heading for D protocol
2017-08-08 14:47:01 +02:00
Beat Küng
1d40336723
airframes parser: add dodecarotor image
2017-08-08 11:59:00 +02:00
Peter Duerr
453937a89a
Fix va_arg calls (always call va_end)
...
From the manpage: "Each invocation of va_start() must be matched by a
corresponding invocation of va_end() in the same function."
2017-08-07 22:05:54 +02:00
Peter Duerr
b845edba64
Yet another erroneous call to px4_close instead of close
...
* As indicated by @bkueng
2017-08-07 22:05:17 +02:00
Peter Duerr
6e808ad0a6
Fix additional erroneous px4_close call
...
* As indicated by @bkueng
2017-08-07 22:05:17 +02:00
Peter Duerr
73ef772537
Fix erroneous use of px4_close
...
* Close handle opened with `open` with `close` as indicated by @bkueng
2017-08-07 22:05:17 +02:00
Peter Duerr
40dff737c5
Fix uninitialized values identified by cppcheck
...
* Replace `malloc` by `calloc` for c-string initialization
* Add initializer braces for structs
2017-08-07 22:05:17 +02:00
Peter Duerr
7cf2a49948
Cosmetic fix (silencing cppcheck)
...
* For some reason cppcheck complains with `fp != nullptr` but accepts truthiness
of handle by itself.
* Note that the expressions are equivalent according to the C++ standard ("A
prvalue of arithmetic, unscoped enumeration, pointer, or pointer to member
type can be converted to a prvalue of type bool. A zero value, null pointer
value, or null member pointer value is converted to false; any other value is
converted to true. A prvalue of type std::nullptr_t can be converted to a
prvalue of type bool; the resulting value is false.")
2017-08-07 22:05:17 +02:00
Peter Duerr
cc1b766824
Fix memory leaks identified by cppcheck
...
* Add `free` / `delete`
* Add comment explaining the (presumed) motivation for the use of new instead of
allocating on the stack
2017-08-07 22:05:17 +02:00
Peter Duerr
5be23060e7
Fix resource leaks identified by cppcheck
...
* Where possible rearrange error checks to avoid branching
* Otherwise add missing `fclose`, `close`, `px4_close` calls before return
2017-08-07 22:05:17 +02:00
Vicente Monge
0a61e9b279
micro RTPS CMakeLists.txt identation
2017-08-07 12:00:35 +02:00
Vicente Monge
a93174dee4
Fix for manual/automatic micro RTPS bridge generation
2017-08-07 12:00:35 +02:00
Beat Küng
4ee9cb2e2f
px4airframes markdown: always use '/' for path separation
...
Because it's an URL and os.path.join() will use '\' on windows.
2017-08-07 11:12:51 +02:00
Vicente Monge
d1e39ed9e0
Added link to documentation and suppress local doc
2017-08-07 09:46:56 +02:00
Lorenz Meier
490f40bee1
Sensors: Use temperature for airspeed validation to avoid false positives for high-performance airspeed sensors
...
This is required to enable new high-performance sensors which otherwise would provide incorrect readings.
2017-08-06 20:52:37 +02:00
Lorenz Meier
45f2a52a7d
Sensor startup: Simplify and fix Pixhawk 2.1
...
This change simplifies the sensor startup and fixes the detection of airspeed sensors on Pixhawk 2.1
2017-08-06 20:52:23 +02:00
Sander Smeets
c81dd46b02
land detector VTOL inherit MC maybe_landed ( #7738 )
...
* maybe_landed state for VTOL inherited from MC
* set correct land detector for SITL
2017-08-06 10:02:56 -04:00
David Sidrane
102003c664
rc.sensors:Use HW type to refine startup / deprecate mpu9250 on PixhawkMini
...
Using the hwvercmp on FMUv2 HW derivatives built with px4fmu_v3_default
to ues a more targeted startup approach:
1) Detect V3 and V2M
2) On V3 use the external mpu9250 to further discriminate between 2.0
and 2.1. Then only start the devices that are on that version of
the board.
3) Due to HW errata on PixhawkMini deprecate mpu9250.
The mpu9250 will not start reliably on the PixhawkMini
Since we have an ICM20608 and an External Mag the
mpu9250 is not to be used.
2017-08-05 19:26:20 +02:00
David Sidrane
ed74530da8
mpu9250:More cleanup
2017-08-05 19:26:20 +02:00
David Sidrane
5bb084408d
bmi160_main:Make the internal interface conditional on PX4_SPIDEV_BMI
...
px4fmuv2 had PX4_SPIDEV_BMI defined, for the v3 cmake, but never
provided a Chip select decoded by PX4_SPIDEV_BMI. PX4_SPIDEV_BMI
has been removed from V2, but PX4_SPIDEV_EXT_BMI still remains
and has a chip select assigned to it.
2017-08-05 19:26:20 +02:00
David Sidrane
43843b753d
px4fmu-v2, px4fmu-v3:Restruture SPI Selects and DRDY
...
The removes the alias so it is clear what bus and port bit
is associated with as CS or DRDY signal.
This becomes important when varients of V2 a) use the CS on differnt
busses or b) swap a RDY (in) for a CS (out). In both cases,
a CS on once buss, can back feed and cause sensor reset to not be
able to turn off the power if all the pins are not tunered
off
2017-08-05 19:26:20 +02:00
David Sidrane
d58a802eaa
px4fmu-v2:Use versioning API to only change a GPIO for pixhawkmini
...
Pixhawk mini has reused the GPIO_SPI_CS_EXT1 signal that was associated
with SPI4. We can not in good faith assert a CS on a bus wer are not resetting.
So we must do this only on HW_VER_FMUV2MIN
2017-08-05 19:26:20 +02:00
David Sidrane
553c649252
px4fmu-v2:Init GPIO_VDD_3V3_SENSORS_EN off at reset
...
Insure a 0.0 voltage initial condition on VDD_3V3_SENSORS
By starting the GPIO_VDD_3V3_SENSORS_EN, low and deferring
the GPIO init of the slave selects and drdy signals until
board_app_initialize. We get ~ 80 ms of power off time
with 0.00 voltage applied to the sensors.
2017-08-05 19:26:20 +02:00
David Sidrane
60ce1bc5c5
px4fmu-v2:Add GPIO_VDD_USB_VALID and initalize it
2017-08-05 19:26:20 +02:00
David Sidrane
5fd8ef1055
px4fmu-v2:Insure the discharge of the pins PWM pins on rest.
...
On resets invoked from system (not boot) insure we establish a low
output state (discharge the pins) on PWM pins before they become
inputs.
2017-08-05 19:26:20 +02:00
David Sidrane
4832ad3191
ver:Add support for HW versioning
...
1) Add hwtypecmp command to allow rc to further enumerate PX4FMU_V2
for sub types of 'V2' -FMUv2 'V2M' PixhawkMini, 'V30' Cube
2) Extend hw to report to display
HW type
HW version
HW revision
2017-08-05 19:26:20 +02:00
David Sidrane
afb01d015e
px4fmu-v2:Use simple HW versioning API to differentiate V2 variant at runtime.
...
There are several boards that share the px4fmu-v2 build as px4fmu-v3 build.
It was initially envisioned, that the build would be binary compatable and
the RC script would probe different sensors and determine at runtime the
HW type. Unfortunately, a failed sensor, can result in mis-detection
of the HW and result in an improper start up and not detect the HW
failure.
All these boards's bootloader report board type as px4fmu-v2.
This precludes and automated selection of the correct fw if it
had been built, by a different build i.e. px4fmu-cube etc.
We need a way to deal with the slight differences in HW that effect
the operations of drivers and board level functions that are different
from the FMUv2 pinout and bus utilization.
1) FMUv3 AKA Cube 2.0 and Cube 2.1 Bothe I2C busses are external.
This effected the mag on GPS2 not reporting Internal and
having the wrong rotation applied.
2) FMUv3 does not performa a SPI buss reset correctly.
FMUv2 provides a SPI1 buss reset. But FMUv3 is on
SPI4. To complicate matters the CS cross bus
boundries.
3) PixhawkMini reused a signal that was associated with SPI4
as a SPI1 ready signal.
Based on hardware differnce in the use of PB4 and PB12 this code
detects: FMUv2, the Cube, and PixhawkMini and provides the
simple common API for retriving the type, version and revision.
On FmuV5 this same API will be used.
2017-08-05 19:26:20 +02:00
David Sidrane
dfdb61d2a7
board_common:Add support for simple hardware versioning
...
Define methods to get:
1) The sub type of the hardware as a string.
2) The version as an integer
3) The revision as an integer
2017-08-05 19:26:20 +02:00
David Sidrane
c8bd60bef8
Mpu9250:Allow internal reset to complete, when started from VDD of 0V
...
Per the data sheet: Start-up time for register read/write from power-up is
Typically 11 ms and the Maximum is 100 ms.
It seems the power up reset is only triggered at VDD < 150 mV. So the
symptom reported: Failure is only happening after a long power down is
consistent with VDD not dropping below 150 mV, therefore not generating
a POR and being ready to be written with out delay.
This fix adds a delay of 110 ms to ensure the reset has ended with some.
margin.
2017-08-05 19:26:20 +02:00
Lorenz Meier
d10116e54a
Update MAVLink version
2017-08-05 16:00:00 +02:00
José Roberto de Souza
1a3315e397
msg: Fix build in python3
...
We can afford a slower performance in this parsers with python2 to
keep compability with python3.
http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html#xrange
2017-08-05 11:04:44 +02:00
David Sidrane
5e0a25c9c7
nuttx-patches:Removed unused patchs
2017-08-04 11:31:50 -10:00
David Sidrane
a31e626bb9
stm32f7:Backport of pinmap changes.
...
Juha Niskanen committed 326ab01 2017-06-20
STM32 F7: Set I2C4 SDA and SCL pins to open drain mode
Titus von Boxberg committed f3267dd 2017-07-17
I2C4_SDA can also be on GPIO PB7
Titus von Boxberg committed 28eab90 2017-07-27
No FSMC, only FMC for STM32F7
2017-08-04 11:31:50 -10:00
Beat Küng
a2ef611a30
dataman: improve error reporting
2017-08-04 18:08:51 +02:00
Beat Küng
45e185f8e3
mavlink: document verbose command
2017-08-04 18:08:51 +02:00
Beat Küng
843cb05ef4
mavlink_mission: fix send_mission_count: must always use MAV_MISSION_TYPE_MISSION
...
Because it's only used for missions
2017-08-04 18:08:51 +02:00
Beat Küng
34e31641ab
mavlink_mission: print mission_type on clear_all verbose output
2017-08-04 18:08:51 +02:00
Beat Küng
25cc64947a
mavlink_mission: add check for fence & safe point on regular mission upload
2017-08-04 18:08:51 +02:00
Beat Küng
b1730b67e4
mission: keep 'offboard mission updated' printf as a warning
...
Useful to see when a in-flight mission update happens from the log.
2017-08-04 18:08:51 +02:00
Beat Küng
fde1c061ed
fix mavlink_mission: mission_set_current message only applies to MISSION_TYPE_MISSION
...
and thus the current _mission_type does not matter.
2017-08-04 18:08:51 +02:00
Beat Küng
6d85a3c4e4
geofence: lock geofence items during a write transfers
...
- avoids race conditions when geofence data is updated in flight. During
a transfer, the geofence module will not check for violations, which
is done with the new dm_trylock method.
- there is an update counter stored in dataman, and for each write
transaction this is increased, so that the geofence module can reload
the data upon data change (after it's unlocked).
- single dm item updates are atomic already, so resetting the polygons
to 0 does not need locking.
2017-08-04 18:08:51 +02:00
Beat Küng
cb580c5268
navigator/mission.cpp: check result of dm_lock
...
and remove duplicated output, mavlink_log_critical already outputs to the
console
2017-08-04 18:08:51 +02:00
Beat Küng
3d3e6428c2
msg/geofence_update.msg: remove this topic
...
We'll use dataman to check for geofence data updates.
2017-08-04 18:08:51 +02:00
Beat Küng
72501df88e
dataman: add dm_trylock & add lock for FENCE_POINTS items
2017-08-04 18:08:51 +02:00
Beat Küng
1942641ff6
semaphore: add px4_sem_trywait
...
directly mapped to the posix method sem_trywait
2017-08-04 18:08:51 +02:00
Beat Küng
ed478f40fd
geofence: implement circular areas
2017-08-04 18:08:51 +02:00
Beat Küng
6667b6434b
mavlink_mission: replace warnx, add mission_type to verbose output
2017-08-04 18:08:51 +02:00
Beat Küng
cf3b068179
mavlink: add 'verbose [on|off]' command
2017-08-04 18:08:51 +02:00
Beat Küng
371586be2c
MAVLink: Add verbose command
2017-08-04 18:08:51 +02:00
Beat Küng
32491626b6
mavlink mission: set mission_type in mavlink_mission_count_t message
2017-08-04 18:08:51 +02:00
Beat Küng
401d6a1a6f
navigator status: print how many polygons there are currently loaded
2017-08-04 18:08:51 +02:00
Beat Küng
4c1328483d
geofence: disable altitude check if not configured
...
It currently cannot be configured via mavlink mission protocol.
2017-08-04 18:08:51 +02:00
Beat Küng
2981ece921
geofence: do not show an error for MAV_FRAME_GLOBAL_RELATIVE_ALT{,_INT} items
...
Since the altitude is not used, we can ignore this as well.
2017-08-04 18:08:51 +02:00
Beat Küng
e52491c023
geofence: there is no altitude for geofence vertices, remove the TODO
2017-08-04 18:08:51 +02:00
Julian Oes
0ed29192b8
mavlink_mission: don't reset vertex_count
...
Since vertex_count is in a union with do_jump_current_count, we can't
always reset the current count, otherwise the vertex_count ends up being
0.
2017-08-04 18:08:51 +02:00
Beat Küng
c4cdaa48e0
dataman, mission_feasibility_checker: remove unneeded uorb includes
2017-08-04 18:08:51 +02:00
Beat Küng
82716012bd
geofence_update.msg: notify navigator on geofence update
2017-08-04 18:08:51 +02:00
Beat Küng
328e84117e
navigator geofence: switch to new dataman data structure, support multiple polygons
...
This also removes the 'navigator fence <lon> <lat>' command to simplify
code (I don't think there's still use for that anymore). However the
file loading is still supported.
If goefence.txt does not exist, navigator will not clear the geofence
anymore on startup.
2017-08-04 18:08:51 +02:00
Beat Küng
a987886ca3
mavlink: add fence & rally to protocol capabilities
2017-08-04 18:08:51 +02:00
Beat Küng
54d8e245c0
mavlink_mission: fix dm_read check
...
... and init to 0 is not needed, since already done in constructor
2017-08-04 18:08:51 +02:00
Beat Küng
b9cddfb75b
dataman: account for new geofence & rally point structs
2017-08-04 18:08:51 +02:00
Beat Küng
b8fb8c610e
mavlink_mission: implement geofence & rally point protocol
...
- retrieve & store the geofence & rally point data from/to dataman
- interleaved transmissions (of different types) are not possible. trying
to do so will NACK the new transmission
- only one storage backend for polygons & rally points (not alternating
between 2 as the mission does)
2017-08-04 18:08:51 +02:00
Beat Küng
40c696ff49
navigation.h: add dataman structs for fence & save points
2017-08-04 18:08:51 +02:00
Beat Küng
65e0d63ba6
commander: avoid duplicated publish, cleanup log output for offboard_mission update
...
- orb_advertise already publishes a struct, no need for orb_publish
- mavlink_log_critical goes to the console too
2017-08-04 18:08:51 +02:00
Beat Küng
7206bf86dc
navigator mission: fix printf log levels
2017-08-04 18:08:51 +02:00
Beat Küng
52ca49c682
geofence: remove fence & fence_vertex messages
...
- this was never read
- it was implemented wrong, leading to memory access violations in
publishFence (an integer was passed instead of the fence_s struct)
2017-08-04 18:08:51 +02:00
Lorenz Meier
b82975f73d
UAV CAN ESC: Use new task header
2017-08-02 21:18:35 +02:00
Lorenz Meier
36b5795625
UAV CAN node main: Use new task header
2017-08-02 21:18:35 +02:00
Lorenz Meier
22d4178ebc
UAVCAN: Use new task header
2017-08-02 21:18:35 +02:00
Lorenz Meier
d3aaee65c0
Iridium: Use new task header
2017-08-02 21:18:35 +02:00
Lorenz Meier
144a030676
IO: Use default scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
a2b23bf23a
FMU: Use default scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
482a98facb
MC pos control: Use default scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
727bb4886d
Fixed wing: Use default scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
08e49806c8
Logger: use default scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
60c96d9dd6
Navigator: Use default scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
017a29cba1
Sensors hub: Use default scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
b07dde78e3
Move scheduling priorities into px4_tasks to simplify header usage
2017-08-02 21:18:35 +02:00
Lorenz Meier
b26c771ea6
MC attitude controller: Use default scheduling order
2017-08-02 21:18:35 +02:00
Lorenz Meier
5f12259dfd
FW att controller: Use attitude controller scheduling order
2017-08-02 21:18:35 +02:00
Lorenz Meier
cae4694d6a
EKF: Use estimator scheduling order
2017-08-02 21:18:35 +02:00
Lorenz Meier
49198af6c7
FMU driver: Use default actuator output scheduling order
2017-08-02 21:18:35 +02:00
Lorenz Meier
494f7e4efb
Properly document scheduling priorities
2017-08-02 21:18:35 +02:00
Lorenz Meier
501cec2469
Scheduling priorities: Formatting and sorting according to current system usage
...
this reflects what the system is currently using.
2017-08-02 21:18:35 +02:00
Lorenz Meier
3ca474f045
Ground rover: Use standard scheduling setup
2017-08-02 21:18:35 +02:00
Lorenz Meier
d8cc38728d
Multicopter attitude controller: Run at maximum priority.
...
This allows for a quicker update from sensors if the estimator runs at the default priority of the estimator class. If there is no direct sensor pass-through then it will wait for an estimator update.
2017-08-02 21:18:35 +02:00
Lorenz Meier
8dd96e960d
Fixed wing attitude controller: Run at maximum priority.
...
This ensures attitude control runs first before any other system component.
2017-08-02 21:18:35 +02:00
Lorenz Meier
c94e54bbab
Commander: Handle HITL state in all places consistently
2017-08-02 15:12:25 +02:00
Lorenz Meier
9d49690f17
GPS simulation: Manage delays correctly
...
The GPS simulation now mimicks the real driver more closely and should provide even GPS delays. The delays themselves are set by the simulator, and default to 120 ms for Gazebo
2017-08-02 13:06:59 +02:00
José Roberto de Souza
7d46858ae4
aerofc: Use the additional I2C
...
This change plus the new FPGA RTL(version 0xC1 or higher) will make
use of the new I2C bus, this new bus will be shared between aerofc_adc
and ll40ls(if connected) and leaving the old bus just to IST8310.
2017-08-02 11:49:10 +02:00
José Roberto de Souza
66e77c49ae
ll40ls: Refactor interface(PWM and I2C) selection and allow probe in more I2C buses
2017-08-02 11:49:10 +02:00
José Roberto de Souza
fb3d60850e
aerofc_adc: Add support to use others I2C besides PX4_I2C_BUS_EXPANSION
2017-08-02 11:49:10 +02:00
José Roberto de Souza
18626661b6
aerofc: Enable I2C bus 2
...
Now that UART3 is no longer in use we can use this I2C bus.
2017-08-02 11:49:10 +02:00
José Roberto de Souza
79b84a08f5
nuttx-configs: aerofc: Remove GPIO_I2C*_S**_GPIO
...
Nothing use this define right now so lets remove it.
Several other boards also have this defines that can also
be removed.
2017-08-02 11:49:10 +02:00
José Roberto de Souza
ce180af4ca
aerofc: Move GPS to UART7
...
The UART3 also have the I2C bus 2 functions so moving GPS to UART7 to
have one additional I2C.
To keep GPS working is also necessary update the FPGA RTL to version
0xC1 or higher.
2017-08-02 11:49:10 +02:00
Julien Lecoeur
2c0539ae9c
Move selected power source to inst 0 only if nb bricks > 1
...
When trying to move the selected power source to the first publication instance
on systems where there is only one power source, the compiler issued the warning
```
../src/modules/sensors/sensors.cpp:512:54: error: array subscript is outside array bounds [-Werror=array-bounds]
tmp_h = _battery_pub[_battery_pub_intance0ndx];
```
because it could not verify that _battery_pub_intance0ndx would always be 0.
Wrap the block between `#if BOARD_NUMBER_BRICKS > 1 [...] #endif`
to ensure no out of bound subscript and to remove the warning.
Remove unused _battery_pub_intance0ndx variable when nb bricks = 1
2017-08-01 12:59:40 -10:00
Daniel Agar
9fb5c4f0e9
navigator land abort use reposition ( #7574 )
2017-08-01 18:59:12 -04:00
David Sidrane
6bd4e84636
BACKPORT:stm32_serial consolidate patches.
...
This patch brings stm32_serial eqivilent to upstream Nuttx
without the IRQ changes.
2017-08-02 00:45:13 +02:00
David Sidrane
9867ce455d
Backport of upstream NuttX MTD FLASH driver: Flash corruption fix
...
0a85a41 MTD FLASH driver: Clone Sebastien Lorquet's m25px change to at25, is25xp, ramtron, and sst25xx.
Clone Sebastien Lorquet's m25px change to at25, is25xp, ramtron, and sst25xx.
2017-08-02 00:45:13 +02:00
Vicente Monge
e7b7b27ef8
Adding src/lib/micro-CDR to files_to_check_code_style.sh
2017-08-01 22:32:43 +02:00
Vicente Monge
bcf9930e32
Updating micro CDR submodule
2017-08-01 22:32:43 +02:00
Vicente Monge
7ffdde8938
Back to eProsima micro CDR repo
2017-08-01 22:32:43 +02:00
Vicente Monge
c5e2745a19
Fixes for manual bridge generation
...
Fix for some forgot .cxx extensions
Fix for 'print' python 2 3 compatibility
Fix for topic ID type change
2017-08-01 22:32:43 +02:00
Mark Charlebois
c05ea542d9
Added requested information about generate_microRTPS_bridge.py
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
131496ce79
Reverted change to stack size for mavlink module
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
e933d4667f
Fixed code format
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
0f758fc50a
Fixed copyright on microRTPS_client_dummy.cpp
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
be090c0109
Fix GENERATE_RTPS_BRIDGE logic
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
f3e2648747
Use dummy bridge stub if fastrtpsgen not found
...
If the build config specifies RTPS topics to import/export and fastrtpsgen is not installed
on the build machine, then a dummy stub is used for the RTPS bridge.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
d24503242e
Extracted non-template code from template
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
b31006dd78
Converted os.system calls to python methods
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
2ed2403d04
Improved comment language
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
049c769293
Converted cxx to cpp
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
b313bfdaa9
Only run fastrtpsgen if needed
...
If no RTPS import or export messages defined, then don't call fastrtpsgen
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
fc3d49240e
Added missing "%"
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Daniel Agar
1e3fa64eff
microRTPS_client printf PRIu64
2017-08-01 22:32:43 +02:00
Mark Charlebois
187cbbcfe6
Updated src/lib/micro-CDR
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
02e9063089
Remove src/lib/micro-CDR
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Mark Charlebois
5feaa92bf7
Fixed eagle_default build
...
Was missing topics to send and receive vis RTPS
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Daniel Agar
30f8e5751d
Makefile simplify colorecho for CI
2017-08-01 22:32:43 +02:00
Daniel Agar
3eea8eb301
circleci follow latest OSX documentation
2017-08-01 22:32:43 +02:00
Daniel Agar
bfc9ed107e
circleci install cmake
2017-08-01 22:32:43 +02:00
Daniel Agar
81d596c15f
circleci xcode 8.2 -> 8.3.3 (macOS 10.12 Sierra)
2017-08-01 22:32:43 +02:00
Mark Charlebois
fd86ab7f69
Fixed clock_gettime to be portable to OSX
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Daniel Agar
319c1d2046
microRTPS_transport.cxx fix code style
2017-08-01 22:32:43 +02:00
Daniel Agar
17727b5a82
clang-tidy ignore clang-analyzer-unix.API
2017-08-01 22:32:43 +02:00
Daniel Agar
5b1e3b3257
microRTPS readability braces
2017-08-01 22:32:43 +02:00
Daniel Agar
2151890e50
urtps microRTPS_transport.h code style
2017-08-01 22:32:43 +02:00
Daniel Agar
62fc3fb5ab
microRTPS_transport use uint8_t for topic_ID
2017-08-01 22:32:43 +02:00
Daniel Agar
e6633da832
microRTPS_client printf format fix
2017-08-01 22:32:43 +02:00
Daniel Agar
b79e682630
circleci brew install fastrtps
2017-08-01 22:32:43 +02:00
Daniel Agar
1fcca041f3
docker_run.sh update px4-dev-snapdragon to FastRTPS 2017-07-28 tag
2017-08-01 22:32:43 +02:00
Daniel Agar
95a496d121
docker_run.sh update to FastRTPS 2017-07-27 tag
2017-08-01 22:32:43 +02:00
Mark Charlebois
b19dc0650e
Fixed format issues and missing micro-CDR in a config file
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-08-01 22:32:43 +02:00
Vicente Monge
2b86dd1fdb
Added RTPS/ROS2 maintainer
2017-08-01 22:32:43 +02:00
Vicente Monge
c85039e413
Fixing rebase conflicts
2017-08-01 22:32:43 +02:00
Lorenz Meier
d69c53827f
HRT sim: Remove outputs that smash simulator stack
2017-08-01 20:25:38 +02:00
Lorenz Meier
587f4d8f33
jMAVSIm: Explicitely configure to 500 Hz
2017-08-01 19:50:35 +02:00
Lorenz Meier
879356c25b
SITL gazebo plugin: Harden dynamics of delta quad
2017-08-01 19:50:35 +02:00
Lorenz Meier
d1973a6c7f
jMAVSim: Update submodule to use new timestamp API
2017-08-01 19:50:35 +02:00
Lorenz Meier
1c0dd8ba49
Simulator: Add scaling API to adjust for slow simulators
...
The simulation engine had the ability to pause already and properly handled load spikes, however, it was not hardened against constant drift. This addition enables it to run at a constant slower-than-realtime rate successfully.
2017-08-01 19:50:35 +02:00
Lorenz Meier
cf7d4fc1a7
GPS sim: Adjust delay closer to what real u-blox devices do
2017-08-01 19:50:35 +02:00
Lorenz Meier
afb40a761d
Simulator: Compensate scale error, not just message drops. This makes the whole simulation a lot more stable
2017-08-01 19:50:35 +02:00
Lorenz Meier
94684899a5
Gazebo: Fix usage of timestamps
2017-08-01 19:50:35 +02:00
Lorenz Meier
292dce04aa
Gazebo client: Reduce priority to avoid affecting other processes
2017-08-01 19:50:35 +02:00
Dennis Mannhart
a95f02b4a1
land-detector description fix
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f26972704e
style fix
2017-08-01 19:31:34 +02:00
Dennis Mannhart
e6f7af2dcf
landdetector + mc_pos_control cherry-pick fix
2017-08-01 19:31:34 +02:00
Dennis Mannhart
69ecfef8a4
landdetector: consider 8 second maybe_landed case only if no rotation present
2017-08-01 19:31:34 +02:00
Dennis Mannhart
ec04577e3a
mc_pos_control: consider landing if not auto takeoff and valid
2017-08-01 19:31:34 +02:00
Dennis Mannhart
4692ccf287
mc_pos_control: ignore maybe_landed and ground_contact for takeoff setpoint
2017-08-01 19:31:34 +02:00
Dennis Mannhart
03d86054a4
landdetector: decrease land detection to 0.3
2017-08-01 19:31:34 +02:00
Dennis Mannhart
10c41e2624
land xy max: set it back to 1.5
2017-08-01 19:31:34 +02:00
Dennis Mannhart
50ef2d0e52
landdetector: adjust time to 3 stage detection
2017-08-01 19:31:34 +02:00
Dennis Mannhart
9baf41bef1
landdetector: check horizontal movement as criteria to enter ground contact
2017-08-01 19:31:34 +02:00
Dennis Mannhart
bc46f13d90
landdetector: use control mode, add minimum speed to detect hit-ground
2017-08-01 19:31:34 +02:00
Dennis Mannhart
549d8da6ee
landdetector: hit ground logic
2017-08-01 19:31:34 +02:00
Dennis Mannhart
363ed43d38
mc_pos_control: remove additional land-ground contact logic
2017-08-01 19:31:34 +02:00
Dennis Mannhart
2405abd859
mc landdetector description
2017-08-01 19:31:34 +02:00
Dennis Mannhart
4e204e00cb
landdetector: maybe_landed for rover
2017-08-01 19:31:34 +02:00
Dennis Mannhart
8f7ebc1f3a
mc landdetector: simplify return
2017-08-01 19:31:34 +02:00
Dennis Mannhart
8a76bd07d0
mc_pos_control: change if to else if
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f75dd37326
landdetector: delete or for ground_contact detection
2017-08-01 19:31:34 +02:00
Dennis Mannhart
2890af7305
mc_pos_control: set thrust to zero once maybe_landed is reached
2017-08-01 19:31:34 +02:00
Dennis Mannhart
411ceaa6b3
multicopter landdetector: delete PX4_INFO
2017-08-01 19:31:34 +02:00
Dennis Mannhart
97b5cc77b8
landdetector: reduce maybe_landed trigger time to 1s
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f8e9f380d0
landdetector: add additional landdetection state
2017-08-01 19:31:34 +02:00
Lorenz Meier
529def11e8
CMake / Clang: Increase warning level
2017-08-01 12:46:59 +02:00
Lorenz Meier
ef233d29f0
VMount: use correct doube interface
2017-08-01 12:46:59 +02:00
Lorenz Meier
91c982758e
GEO: Fix double promotion warning
2017-08-01 12:46:59 +02:00
Lorenz Meier
340432e2cf
legacy EKF: Use correct constants
2017-08-01 12:46:59 +02:00
Lorenz Meier
576ad4b521
Sensors update: use correct constants
2017-08-01 12:46:59 +02:00
Lorenz Meier
f4eaea99c5
Temp cal: Use correct constants
2017-08-01 12:46:59 +02:00
Lorenz Meier
ae737d8df0
Camera trigger: use double per interface spec
2017-08-01 12:46:59 +02:00
Daniel Agar
fa18c3d6e6
delete vtol_quad_x (replaced with quad_x)
2017-08-01 09:59:26 +02:00
Paul Riseborough
08059caf89
EKF: Enable compensation for static pressure positional error ( #7264 )
...
* msg: add reporting of multi rotor drag fusion
* ekf2: add reporting of multi rotor drag fusion
* ekf2: Add parameters required to tune multi-rotor wind estimation
* ekf2: Add correction for static pressure position error
* ekf2: Use correct air density for position error corrections
* ekf2: fix parameter documentation error
* ekf2: Add separate forward and reverse position error correction factors
* ekf2: Fix formatting and parameter descriptions
* ekf2: Improve comments
2017-08-01 07:29:08 +10:00
ChristophTobler
02ea10ed99
range finder: reject if min/max value
2017-07-31 17:33:02 +02:00
Beat Küng
e3b61f22f2
Tools/upload_log.py: use https
2017-07-31 14:15:28 +02:00
Lorenz Meier
3c89059199
Update SITL version to fix image triggering
2017-07-31 12:26:08 +02:00
Lorenz Meier
1eb10e431f
Create CODE_OF_CONDUCT.md
2017-07-30 19:18:49 +02:00
Daniel Agar
6ae2d22b9a
WIP: github issue template ( #7701 )
...
* WIP: github issue template
* Update issue_template.md
2017-07-30 19:16:49 +02:00
Daniel Agar
d5a890041b
commander RTL failsafe should be sticky
2017-07-30 01:51:27 +02:00
Jan Liphardt
11508e080a
Create 3037_parrot_disco_mod ( #7621 )
...
* Create 3037_parrot_disco_mod
Add support for the Parrot Disco airframe. Tested with both Pixhawk Mini and Pixracer, using a generic 30A ESC and a Cobra 2221/16 motor.
* Update 3037_parrot_disco_mod
fixed indentation per @Dagar
* Use new generic FW wing mixer (fw_generic_wing.main.mix)
2017-07-29 23:12:14 +02:00
Beat Küng
6e4ba1196b
nuttx_px4fmu-{v1,v2}_default.cmake: disable sdlog2
...
Due to flash overflow
2017-07-29 23:10:47 +02:00
Beat Küng
b1215a6ddd
px4_shutdown_request: make sure we release the lock in every case
...
board_shutdown should not return, but just in case
2017-07-29 23:10:47 +02:00
Beat Küng
b89deaf8e3
tap-v1/tap_pwr.c: make sure to invoke the button notification on registering the cb
2017-07-29 23:10:47 +02:00
Beat Küng
c5a1d1928d
px4_shutdown_unlock: check that counter is > 0
2017-07-29 23:10:47 +02:00
Beat Küng
007b6dd8d7
commander: make sure the power_button_state topic is advertised on startup
...
Otherwise the publication from IRQ context won't work
2017-07-29 23:10:47 +02:00
Beat Küng
8923664f30
param: seek to the beginning of the file before re-trying a failed export attempt
2017-07-29 23:10:47 +02:00
Beat Küng
9d924bea3f
reboot command: add lock/unlock commands to test the shutdown lock
...
If needed it could be used in scripts as well.
2017-07-29 23:10:47 +02:00
Beat Küng
dcb5f80180
shutdown: increase the max timeout to 5s
...
To make sure slow param writes will finish before we hit the timeout. I've
seen param write durations of around 2s.
2017-07-29 23:10:47 +02:00
Beat Küng
931ef189b5
param: grab the shutdown lock while writing params to the file
2017-07-29 23:10:47 +02:00
Beat Küng
898a8dcd57
shutdown: add px4_shutdown_{lock,unlock} API methods
...
Prevents the system from shutting down.
2017-07-29 23:10:47 +02:00
Beat Küng
2815c62acf
fix power button shutdown: use an orb topic instead of a work queue call
...
px4_shutdown_request() was called from the power button IRQ callback, which
invoked a work queue callback. But on NuttX, the work queue uses a
semaphore, and thus it cannot be called from IRQ context.
This patch switches to publishing an uORB msg instead, which is handled in
the commander main thread.
To increase failure resistance, we could subscribe to the same topic in
another module for redundancy, in case commander runs wild.
2017-07-29 23:10:47 +02:00
Lorenz Meier
61b0a81bf9
HITL startup: Further simplification of boot logic in commander
2017-07-29 23:06:50 +02:00
Lorenz Meier
03324e0fb1
ROMFS: Remove stale HITL config
2017-07-29 23:06:50 +02:00
Lorenz Meier
5838556742
HITL handling: Enforce the use of the activation parameter for HITL configuration
2017-07-29 23:06:50 +02:00
Lorenz Meier
8aa1382e08
ROMFS: Switch HIL to a setting orthogonal to airframes
...
This makes it easy to flip any airframe config over to HIL.
2017-07-29 23:06:50 +02:00
Lorenz Meier
8878be5741
MC land speed: Ensure that the difference between land speed and land detection is high enough
2017-07-29 22:25:09 +02:00
Lorenz Meier
6f249472e0
FMUv5: Ensure there is enough UART buffer space - since the board has plenty of RAM, all UARTs are treated equally
2017-07-29 16:12:41 +02:00
Lorenz Meier
235a789a47
FMUv4 configs: ensure there is enough TX buffer space
2017-07-29 16:12:41 +02:00
Lorenz Meier
ad21dc3f50
Pixhawk configs: Ensure there is enough TX space on high-speed UART links
2017-07-29 16:12:41 +02:00
Lorenz Meier
dc4faa81de
MAVLink: Only initialize where required
2017-07-29 16:12:41 +02:00
Lorenz Meier
6b17db35b0
MAVLink: Fix vibration message timestamp
2017-07-29 16:12:41 +02:00
Lorenz Meier
3f048e8a87
MAVLink stream: Do not override interval too much
2017-07-29 16:12:41 +02:00
Lorenz Meier
af451ce638
MAVLink time sync: Better output handling
2017-07-29 16:12:41 +02:00
Lorenz Meier
f0e8ebb2ac
MAVLink: Remove link termination command
...
This is no longer required as we have a full shell available now and there is no reason to let the remote terminate the instance.
2017-07-29 16:12:41 +02:00
Lorenz Meier
37657cf99b
MAVLink FTP: Use modern output printing to capture errors in system log
2017-07-29 16:12:41 +02:00
Lorenz Meier
68d70cc8c0
MAVLink: Use modern PX4 output format to enable system logging for errors.
2017-07-29 16:12:41 +02:00
Lorenz Meier
09f1373a08
MAVLink: Adjust stream rates to match real usage
2017-07-29 16:12:41 +02:00
Lorenz Meier
07ced9895c
MAVLink: Improve message handling / tracking
...
The message handling was not obeying action focused messages and high-rate messages properly before. With this change update rates track the desired rates closely. Critical high-rate messages such as ADS-B are queued additionally to guarantee that all received packets are being correctly forwarded.
2017-07-29 16:12:41 +02:00
stmoon
556eb9e45a
fix the bug for posix_sitl_inav
2017-07-29 11:01:21 +02:00
Daniel Agar
1867573b02
VTOL don't poll parameter_update
2017-07-29 09:15:52 +02:00
Daniel Agar
66f0912b9d
FW attitude don't poll parameter_update
2017-07-29 09:15:52 +02:00
Daniel Agar
efafc17b0c
FW position don't poll parameter_update
2017-07-29 09:15:52 +02:00
Daniel Agar
cf87096b05
EKF2 don't poll parameter_update
2017-07-29 09:15:52 +02:00
Daniel Agar
ddc4500753
FW landing optionally disable heading hold ( #7617 )
2017-07-28 20:28:54 -04:00
Paul Riseborough
5324f30cb6
ekf2: Let the EKF know if the vehicle is operating as a fixed wing type. ( #7667 )
...
Setting this enables the EKF to use the GPS velocity to recover from bad compass yaw at launch.
2017-07-29 07:18:58 +10:00
ChristophTobler
a240eeb86a
update sitl gazebo to include tranformation fix
2017-07-28 17:23:22 +02:00
ChristophTobler
44cd65798b
update sitl_gazebo to use the vision position estimate
2017-07-28 09:09:56 +02:00
Lorenz Meier
dc8caeaedf
MAVLink: Default to standard stream config
2017-07-27 10:15:53 +02:00
sanderux
1eda66c9ba
Code format
2017-07-27 10:15:53 +02:00
sanderux
7612b94c72
Allow relaying from same system ID or with target component 0
2017-07-27 10:15:53 +02:00
Lorenz Meier
9124617315
MAVLink: Always enable forwarding for companion link
2017-07-27 10:15:53 +02:00
Lorenz Meier
c44322ca15
MAVLink app: Use more advanced forwarding logic
2017-07-27 10:15:53 +02:00
Lorenz Meier
98bd6e43e8
SDP3x: Add model for pitot pressure drop
2017-07-26 09:27:32 +02:00
stmoon
ae1f8381ce
disable uavcan build to make space for other modules
2017-07-26 07:59:50 +02:00
Lorenz Meier
f746f9a9b3
UAVCAN: Reduce memory footprint
2017-07-26 07:55:31 +02:00
José Roberto de Souza
0b9e32ca3e
aerofc: Reboot board when force bootloader pin is set
...
This can help "unbrick" AeroFC when a bad firmware is loaded
and it keeps rebooting or it spinning in some loop.
No need to request to stay in booloader as it will stay
in bootloader because the pin is set.
2017-07-26 07:14:13 +02:00
Beat Küng
0109154c43
logger: avoid logging the UUID if the system does not provide it
...
The linux targets don't have it and setting a fixed constant causes
wrong vehicle associationss in Flight Review.
2017-07-24 09:01:02 +02:00
Lorenz Meier
286c3d41d3
MAVLink app: Send GPS uncertainty via MAVLink 2
...
This is needed by some consumers like transponders.
2017-07-23 00:16:00 +02:00
Lorenz Meier
d83e54cde5
MAVLink v2: Update version
2017-07-23 00:16:00 +02:00
Daniel Agar
2939bd9c96
Partial Revert "MAVLink: Add capture command to command queue"
...
This reverts commit dde5781142 .
2017-07-22 11:36:35 +02:00
davidaroyer
d5cbbba341
ocpoc_adc: handle return from fscanf
2017-07-22 10:51:49 +02:00
davidaroyer
d01150990b
cmake: add ubuntu build for OcPoC hardware
2017-07-22 10:51:49 +02:00
ChristophTobler
bc951f6f15
add constraint to ground distance to avoid values below rng_gnd_clearance ( #7662 )
2017-07-22 07:49:00 +10:00
Beat Küng
a6c682ce50
mavlink_ftp: fix stack overflow & add root dir prefix
...
- change memory allocation from stack to a malloc'd buffer. This avoids
increasing the stack size. And since FTP is rarely used, the buffers
are only allocated upon use and freed after a time of 2s inactivity.
- adds PX4_ROOTFSDIR as root directory prefix. This does not change
anything on NuttX, but in SITL it will avoid enumerating the whole
disk tree when using QGC (which enumerates all files recursively).
2017-07-21 19:59:45 +02:00
Beat Küng
29f23a390f
mavlink_ftp: avoid using seekdir()
...
The provided argument payload->offset is in range [0, num_file_entries-1],
but seekdir might use a completely different range. It is not defined
by the API spec. It is only useful in conjunction with telldir().
2017-07-21 19:59:45 +02:00
Beat Küng
5a2723ab9c
test_mixer.cpp: remove bogus comments
2017-07-21 19:59:45 +02:00
Beat Küng
42f7e6bca3
px4_defines: make sure that PX4_ROOTFSDIR is a string
2017-07-21 19:59:45 +02:00
Beat Küng
ced700adf2
cmake px4fmu-v1 config: remove pwm_out_sim from build
...
To reduce flash space usage
2017-07-20 18:49:38 +02:00
Beat Küng
7fc20049e0
param_shmem import: don't fail on type mismatch
2017-07-20 18:49:38 +02:00
Beat Küng
88b515390a
flashparams import: don't fail on type mismatch
2017-07-20 18:49:38 +02:00
Beat Küng
2340e7073d
param import: don't fail on type mismatch
...
This can happen for example when a param type is changed from int32 to
float. The type check will then fail if the param is stored and the param
import will be aborted.
Now we just skip the entry and continue loading the rest.
2017-07-20 18:49:38 +02:00
Dennis Shtatnov
ca82d36c3f
Support platforms like CF2 without capture ioctl
2017-07-20 03:37:58 -10:00
Paul Riseborough
f93be992ce
ekf2: Update documentation for compatibility with Doxygen ( #7657 )
2017-07-20 22:05:29 +10:00
Lorenz Meier
c1f5feac83
MAVLink: Queue transponder reports and send them at full data rate
...
This will ensure that no transponder reports are dropped and that all received reports are passed on to the GCS and other devices.
2017-07-20 09:13:53 +02:00
Dennis Shtatnov
6081435801
Fixes #7282
2017-07-19 19:51:55 -10:00
Dennis Shtatnov
2e85a4363e
MPU9250: Separate mpu and mag resets
2017-07-19 19:51:55 -10:00
ChristophTobler
03e11c4d18
update ecl and add param for innovation consistency checks for range aid fusion ( #7585 )
2017-07-19 18:25:12 +10:00
Paul Riseborough
1dbac79c1b
ecl: Compatibility update for PR #7602
2017-07-18 23:06:14 +02:00
Lorenz Meier
dde5781142
MAVLink: Add capture command to command queue
2017-07-18 23:05:43 +02:00
Lorenz Meier
cb3222d131
Navigator: Be less verbose
2017-07-18 23:05:43 +02:00
Lorenz Meier
0d30d817b8
Update SITL Gazebo to default triggering to MAVLink 2
2017-07-18 23:05:43 +02:00
Lorenz Meier
8bc0a8aece
Geotagging config: Default vehicle to MAVLink 2
2017-07-18 23:05:43 +02:00
Lorenz Meier
b1a987f06b
Enable camera triggering and gimbal control via MAVLink
2017-07-18 23:05:43 +02:00
Lorenz Meier
efba7fa7b9
Update SITL gazebo
2017-07-18 23:05:43 +02:00
Lorenz Meier
8706525d70
Update MAVLink rev 1
2017-07-18 23:05:43 +02:00
Lorenz Meier
6e97aec8ce
MAVLink app: Do not warn about required reboot but rely on param meta. Fixes #7642
2017-07-18 22:51:42 +02:00
Beat Küng
0668d61665
SYS_FMU_TASK: add param to start fmu as task (default=work queue)
2017-07-18 20:06:10 +02:00
Beat Küng
07b7a153f3
fmu: add ifdef for dsm_deinit()
2017-07-18 20:06:10 +02:00
Beat Küng
2193afd0a0
fix fmu: lower polling timeout to 5ms when running as task
...
With the previous value of 20ms, we dropped RC input when not armed. The
result was that some RC channels jumped randomly between min & max.
2017-07-18 20:06:10 +02:00
Beat Küng
e6adfa6b6b
fix fmu: call dsm_deinit() in destructor
...
This closes the fd and cleans up a static variable used in the dsm parser.
2017-07-18 20:06:10 +02:00
Beat Küng
1130bc129c
fix fmu: make sure init() is called on the new task
...
This was only a problem when running as a task not on the work queue.
The problem was that init() opened the RC serial device, which was then
read in the main loop, which is a different context when run as a task.
2017-07-18 20:06:10 +02:00
Beat Küng
56cc5e11cc
simulator: initialize sensor data buffers
2017-07-18 12:54:28 +02:00
Beat Küng
bb3b11e87a
battery.cpp: initialize _current_filtered_a
2017-07-18 12:54:28 +02:00
Beat Küng
bcca17204b
mc_pos_control_main: initialize _in_takeoff
2017-07-18 12:54:28 +02:00
Beat Küng
d419537a72
ekf2_main: initialize _mag_time_sum_ms & _balt_time_sum_ms
2017-07-18 12:54:28 +02:00
David Sidrane
9635ec42e9
system_power:Add blank line per review
2017-07-17 21:02:50 -10:00
David Sidrane
5ebe5010ac
Bugfix:Sensors battery_status Intance 0 voltage was 0V for Brick 2
...
Both PX4Test and Beat noted if only Brick to was connected
battery_status Intance 0 voltage was 0V for Brick2
The priority selection logic is run prior to the subscription
creation and only updated the priority on a change. Before the
subscriotions were created.
_battery_pub_intance0ndx is suposed track the location in
the _battery_pub array that is instance 0. It is then used
to associate (move) instance 0 with (to) the lowest brick
(highest priority in HW) brick that is selected in HW.
The Bug was that before the subscriptions are created,
_battery_pub_intance0ndx set to 1. And then and never updated.
The fix was to only run the priority selection logic once
the subscriptions are created.
2017-07-17 21:02:50 -10:00
David Sidrane
fc38bc4144
px4fmu-v5:Added Muti Brick support definitions
...
BOARD_HAS_LTC44XX_VALIDS - 0 -> No LTC44xx IC, N is the number of
Power Bricks connected to the LTC44xx
For a LTC4417 this would be 2 as the
third prioriy is used for USB
BOARD_HAS_USB_VALID - If defied as 1 imples that infact
the USB has a priority connection
on the LTC44XX
BOARD_HAS_NBAT_V - the number of battery voltage sensing chennels
on the ADC
BOARD_HAS_NBAT_I - the number of battery current sensing chennels
on the ADC
A super simple (non FMUv5 compliant) board with no LTC44xx and just one battery
that have no current sense:
BOARD_HAS_LTC44XX_VALIDS = 0
BOARD_HAS_USB_VALID = 0
BOARD_HAS_NBAT_V = 1
BOARD_HAS_NBAT_0 = 0
A fully FMUv5 compliant design would use:
BOARD_HAS_LTC44XX_VALIDS = 2
BOARD_HAS_USB_VALID = 1
BOARD_HAS_NBAT_V = 2
BOARD_HAS_NBAT_0 = 2
These setting properly condition the ADC channles and all the Power
module valid sensing logic in the ADC module.
2017-07-17 21:02:50 -10:00
David Sidrane
53a04f3ba7
px4fmu-v5:board_config clean up
...
Removed unused headers and placed the __BEGIN_DECLS where it belonged
2017-07-17 21:02:50 -10:00
David Sidrane
f13682223a
Added FMUv5 System Power related system_power.msg fields
...
voltage3V3_v - the sensor 3.3V voltage rail
v3v3_valid - the value of voltage3V3_v may be 0. This
field is a 1 when the HW provides voltage3V3_v
brick_valid - is now a bit mask. A 1 in the postion inticate the
Power controler HW has a valid supply voltage
present (in V window) on that priority
(channel V1..Vn).
The mapping is formed by 1<<battery_status.msg.priority
or using the manifest constanst BRICKn_VALID_MASK
usb_vaild - is now indicated from the Power controler HW or
the usb_connected if Power controler is
not present.
brick_valid == 0 and usb_vaild = 1 implies the FMU is powered
from USB only
brick_valid != 0 and usb_vaild = 1 implies the FMU is powered
from the higest priority brick, providing a 1 bit in brick_valid
and from USB
2017-07-17 21:02:50 -10:00
David Sidrane
4b63d629a9
sensors:Added Backward compatible N Brick Support FMUV4pro & FMUv5
...
This change implements the publishing of batery_status messages
for each brick on the system, using multi-pub.
Backward compatiblity is achived by always publishing the
batery_status of the bick that has been selected by the HW
Power Controller (PC) on instance 0.
The batery_status.system_source will be true in one and
only one batery_status publication when a valid bit is
set in system_power.brick_valid. However, if USB is connected,
and both brikcs are not providing voltages to the PC
that are in the Under/Over Voltage Window (set in HW)
the system_source may be false in all publications.
2017-07-17 21:02:50 -10:00
David Sidrane
910948cd7e
board_common:Define defaults for Power Bricks and Sensor rail volatage
...
FMUv4Pro and FMUv5 Spec added multi brick support
FMUv5 added SCALED_VDD_3V3_SENSORS
This change provides legacy (FMUv2) defaults for Power Bricks and
Sensor rail volatage source.
2017-07-17 21:02:50 -10:00
David Sidrane
8e8510f398
Added Power Brick related battery_status.msg fields
...
system_source - This battery status is for the brick that is
supplying VDD_5V_IN
priority - Zero based, This battery status is for the brick
that is connected to the Power controller's
N-1 priority input. V1..VN. 0 would normally be
Brick1, 1 for Brick2 etc
Battery now assigns connected from the api in the
updateBatteryStatus, as well as system_source and priority
2017-07-17 21:02:50 -10:00
David Sidrane
579b55f2cb
px4fmu-v5:There will be variants that will [not]have the PX4IO.
...
The PX4IO is an population option on some varients. To have
1) FMU only control
2) IO Only control
3) FMU fall back control
These pins need to come up as inputs, until the configuration
is determined.
2017-07-17 21:02:50 -10:00
David Sidrane
f7e3f34f48
px4fmu-v5:Insure the VBUS signal is low if USB is not connected.
...
Dispite what the ref manaul says. Some HW needs the added pull
down to insure the pin reads low when not plugged in to USB.
2017-07-17 21:02:50 -10:00
David Sidrane
15f9f6c06f
px4fmu-v5:formatting
2017-07-17 21:02:50 -10:00
David Sidrane
ddddedf410
px4fmu-v5:Define Tone Alarm in terms of the FMUv5 Spec
2017-07-17 21:02:50 -10:00
David Sidrane
90fd7734bb
px4fmu-v5:Define UI LEDs per the FMUv5 Spec
2017-07-17 21:02:50 -10:00
David Sidrane
a254b0dca5
px4fmu-v5:Define the FMU_CAP[1:3] per FMUv5 Spec
2017-07-17 21:02:50 -10:00
David Sidrane
14ce28b1f3
px4fmu-v5:GPIO Clean up per FMUv5 Spec.
...
Added comments to ADC defines with Pin numbers.
Added the GPIO_HW_{REV:VER}_DRIVE signals
Define the GPIO_nPOWER_IN_{A:C] and assign them to
BRICK1, BRICK2 and USB Valid.
Regroupped power signals and defined true logic Power Control macros
in the arch agnostic form.
Defined the same IOCTL defines for FMU GPIO IOCTL
Use the power Control macros on board_app_initialize
2017-07-17 21:02:50 -10:00
David Sidrane
d33b945db6
px4fmu-v5:SPI chip selects per FMUv5 Spec
2017-07-17 21:02:50 -10:00
David Sidrane
8607b72805
px4fmu-v5:Removed unused LED alias defines.
2017-07-17 21:02:50 -10:00
David Sidrane
892ae1436c
px4fmu-v4pro::Insure the discharge of the PWM pins on rest.
...
As done on fmuV4 on resets invoked from system (not boot) insure
we establish a low output state (discharge the pins) on PWM pins
before they become inputs as a result of the pending reset.
We also delay the reset by 400 MS to insure the 3.1 Ms pulse is
not too close to the last PWM pulse.
2017-07-17 21:02:50 -10:00
David Sidrane
b23e6fc87c
px4fmu-v4pro:Define GPIO xxx_VALIDs and initalize them.
...
The LTC4417 provides a valid signals for brick1, brick 2 and USB
This change configures the GIOP and provides 1) a MACRO to read
the pin and 2) the IOCTL defines to read it from the FMU.
The macro's result is true logic: It is true when the signal is active.
(Active low on the the LTC4417). The IOCTL read would be the actual
pin state.
2017-07-17 21:02:50 -10:00
David Sidrane
258faeee03
px4fmu-v4:Define GPIO GPIO_VDD_USB_VALID and initalize it.
...
The V4 HW replaced the LTC4417 provided valid signal for USB.
with an active high, version. This commit configures the GIOP
and provides 1) a MACRO to read the pin and the IOCTL defines
to read it from the FMU. The macro result true logic: true
when the signal is high. The IOCTL read would be the actual
pin state.
2017-07-17 21:02:50 -10:00
David Sidrane
f7cc78bffe
px4fmu-v2:Define GPIO GPIO_VDD_USB_VALID and initalize it.
...
The LTC4417 provides a valid signal for USB. This change
configures the GIOP and provides 1) True logic macro to
read the pin and the IOCTL defines to read it from the FMU.
The macro will return true when the signal is active (low
on the LTC4417). The IOCTL will read be the actual pin state.
2017-07-17 21:02:50 -10:00
David Sidrane
30aca6677f
px4fmu-v2:nuttx config fix typo GPIO_USART6_CTT->GPIO_USART6_CTS
...
Since Hardware flow control has not been enabled this typo
survived.
2017-07-17 21:02:50 -10:00
David Sidrane
4188c4d0d5
px4fmu-v5:Turn On SD card
2017-07-17 21:02:50 -10:00
David Sidrane
a09bc63747
px4fmu-v5:Use PX4_ERR in board init, spi init and sdio init
2017-07-17 21:02:50 -10:00
David Sidrane
2a61518c9f
px4fmu-v5:Enable SPI5 in NuttX
2017-07-17 21:02:50 -10:00
David Sidrane
229c5d482f
px4fmu-v5:More GPIO_VDD_3V3V_SD_CARD_EN -> GPIO_VDD_3V3_SD_CARD_EN
2017-07-17 21:02:50 -10:00
David Sidrane
46daebfb6c
px4fmu-v5:Removed a SPI 5 reeady signal from board_spi_reset
...
board_spi_reset is used to reset the internal SPI bus.
therefore GPIO_SPI5_DRDY7_EXTERNAL1 should not have been
minipulated, as it is on SPI5
2017-07-17 21:02:50 -10:00
David Sidrane
59d020fba3
px4fmu-v5:Added comment block to board_spi_reset
2017-07-17 21:02:50 -10:00
David Sidrane
85b6986079
px4fmu-v5:Fix board_peripheral_reset to use correct polarity
...
GPIO_nVDD_5V_PERIPH_EN is Active low. board_peripheral_reset
need to tune it OFF then ON
2017-07-17 21:02:50 -10:00
David Sidrane
ebc8b47fad
px4fmu-v5:Added board_on_reset api to reset PWM
2017-07-17 21:02:50 -10:00
David Sidrane
54bd0a9f2a
px4fmu-v5:Using arch agnostic gpio init
...
Define the GPIO pin list use the board_gpio_init
2017-07-17 21:02:50 -10:00
David Sidrane
044b845c40
px4fmu-v5:Match GPIO_VDD_3V3_SD_CARD_EN and polarity to FMUv5 Pin Spec RC01
...
Removed extra V GPIO_VDD_3V3[V]_SD_CARD_EN and it is active High
2017-07-17 21:02:50 -10:00
David Sidrane
82dc6de19f
px4fmu-v5:Define the BOARD_NUMBER_BRICKS for future enumeration
...
When BOARD_NUMBER_BRICKS exists it will enable multiple
power source testing and reporting.
2017-07-17 21:02:50 -10:00
David Sidrane
b9f43068af
px4fmu-v5:Define the existance of the UI PWM LED and it's polarity
...
Per https://docs.google.com/spreadsheets/d/1-n0__BYDedQrc_2NHqBenG1DNepAgnHpSGglke-QQwY/edit#gid=730959725
Usage of the PWM UI led is optional and if used it's polaity may
be set ot Active low or high.
2017-07-17 21:02:50 -10:00
David Sidrane
33cd8c7093
px4fmu-v5:Fixed comment 8 PWM
2017-07-17 21:02:50 -10:00
David Sidrane
e20d685f40
px4fmu-v5:Add Timer and Channel to comment for HEATER
2017-07-17 21:02:50 -10:00
David Sidrane
c1eac11823
px4fmu-v5:Match signals names to FMUv5 Pin Spec RC01
2017-07-17 21:02:50 -10:00
David Sidrane
5669434585
px4fmu-v5:Define ADC GPIO and Channels clearly
...
Moving forward we want all the board configs to drive the
configuration. This is just cleanup to give a clear
example of how ADC should be defined by a simple list,
based on ADC pin number as related to the GPIO and
channel number. Then the xxx_CHANNEL bit are
used to form the ADC_CHANNELS (mask). The GPIO
will are used to for a list for initalization.
2017-07-17 21:02:50 -10:00
David Sidrane
5ba02d740c
px4fmu-v5:Group SPI signals by bus
2017-07-17 21:02:50 -10:00
David Sidrane
88c1521b5e
px4fmu-v5:Status LED's are driven open drain
...
Allows Anaode of LEDs to be tied to V5 or V3.3
2017-07-17 21:02:50 -10:00
David Sidrane
68e5764dbc
board common:Add arch agnostic gpio init
2017-07-17 21:02:50 -10:00
Simone Guscetti
ada48571d7
fmu-v5: fix timer config
2017-07-17 21:02:50 -10:00
Simone Guscetti
a00441ecf4
fmu-v5 timer_config: timer io channels for FMU_CH7/8
2017-07-17 21:02:50 -10:00
Simone Guscetti
a4d8bf56cc
fmu-v5 timer_config: set up the timers for v5 board
...
FMU_CH7/8 use timer 12 ch1/2
FMU_CAP use timer 2
Buzzer use timer 9
2017-07-17 21:02:50 -10:00
Simone Guscetti
bc793d15cf
fmu-v5 board_config: add FMU_CH7 and FMU_CH8
2017-07-17 21:02:50 -10:00
Simone Guscetti
db9bef352a
fmu-v5 board_config: config SPI5 sync and reset pins
2017-07-17 21:02:50 -10:00
Simone Guscetti
1e86f24cf9
fmu-v5 board_config: set up external spi
2017-07-17 21:02:50 -10:00
Simone Guscetti
74dfa8805f
fmu-v5 board_config: power A is the brick voltage sensing
2017-07-17 21:02:50 -10:00
Simone Guscetti
518383ada8
fmu-v5: update board config to the newest pin assigment
2017-07-17 21:02:50 -10:00
Simone Guscetti
308295f648
fmu-v5: fix compiling errors
2017-07-17 21:02:50 -10:00
Simone Guscetti
30f9c61e67
fmu-v5: started updating board config to newest specs
2017-07-17 21:02:50 -10:00
Julien Lecoeur
71136dcedf
Log_writer_file: Increase stack size
...
Test flights reported the warning `[load_mon] log_writer_file low on stack! (292 bytes left)`
Increase stack size from 1060 to 1072 (=8 + 1060 rounded to next multiple of 8).
2017-07-18 08:24:37 +02:00
Julien Lecoeur
bc006b81fc
can_boot_descriptor: python3 compatibility
2017-07-18 08:24:37 +02:00
Julien Lecoeur
87e9ad0caa
Patch NuttX/nuttx and NuttX/apps for new arm-none-eabi-gcc 7.1.0 warnings
...
Rename nuttx patch
Add nuttx patch for unused variable error
Pending nuttx patch
Backport nuttx fix for unused variables in nsh_proccmds.c
Fix Patch format
Modify pending patch to match new nuttx PR
Move accepted nuttx changes from pending patch to backport patch
2017-07-18 08:24:37 +02:00
Julien Lecoeur
940f2c3cca
Update libuavcan submodule, fix arm-none-eabi-gcc 7.1.0 warnings
2017-07-18 08:24:37 +02:00
Julien Lecoeur
61d6903b40
Fix -Werror=stringop-overflow on gcc 7
...
The error was:
Firmware/src/systemcmds/hardfault_log/hardfault_log.c:312:7: error: specified bound 30 equals the size of the destination [-Werror=stringop-overflow=]
strncat(marker, sp_name, sizeof(marker));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2017-07-18 08:24:37 +02:00
Julien Lecoeur
abcb920df4
Fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7.1.0
...
BMP280: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
gnss: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
fmu: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
timer.c: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
px4cannode_led: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
Fix -Werror=implicit-fallthrough on gcc7
2017-07-18 08:24:37 +02:00
Julien Lecoeur
d477b1f0f4
Fix -Werror=stringop-overflow on gcc 7
...
This prevents the compiler from optimising pdump. The error was:
Firmware/src/drivers/boards/common/board_crashdump.c:41:2: error: 'memset' writing 3240 bytes into a region of size 4 overflows the destination [-Werror=stringop-overflow=]
memset(pdump, 0, sizeof(fullcontext_s));
2017-07-18 08:24:37 +02:00
David Sidrane
4349f49610
PX4 System:Expunge the nuttx adc structure from the system
...
This PR is preliminary ground work for FMUv5.
PX4 does not use the NuttX adc driver. But used the same format
for the data returned by the nuttx ADC driver.
There was a fixme:in src/platforms/px4_adc.h "this needs to be
a px4_adc_msg_s type" With this PR the need for
src/platforms/px4_adc.h goes away as the driver drv_adc.h now
describes the px4_adc_msg_t.
2017-07-17 22:28:29 +02:00
Carl Olsson
d92377a6e6
ekf2: remove unused function ( #7529 )
...
* ekf2: remove unused function
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
* ekf2: removed unused variable _mag_decl_saved
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-07-17 17:24:23 +10:00
Beat Küng
c59d7baad8
replay: add backward compatibility for updated sensor_combined topic
2017-07-16 14:08:37 +02:00
Beat Küng
cef3a29ac9
refactor replay: split timestamp offset into separate method
2017-07-16 14:08:37 +02:00
Nicolae Rosia
950273dbcf
msg: ekf: switch to uin32_t for deltas, should be more than enough
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-07-16 14:08:37 +02:00
Nicolae Rosia
f1740bbf54
msg: ekf: fix comment, dt is in uS now
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-07-16 14:08:37 +02:00
Nicolae Rosia
0a22a9c47c
change gyro & accel dt from float to uint64. This has the benefit of
...
calculating the estimator timeslip correctly.
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-07-16 14:08:37 +02:00
Nicolae Rosia
5618f34f3b
Remove usage of waitForUpdate/updateNotify, there are no users of this feature.
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-07-15 09:50:24 +08:00
Nicolae Rosia
67987d27d8
barosim: revamp driver
...
Current driver was copy pasted from a MS5611 driver.
The existing driver takes data from Simulator, not from
an actual device.
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-07-15 09:50:24 +08:00
Beat Küng
4ccbeb47c0
land_detector_main: fix documentation: rover -> ugv
2017-07-14 11:57:11 +02:00
Beat Küng
0949599f0a
dataman: fix compilation error
...
error: invalid conversion from ‘int’ to ‘dm_item_t’
and
error: no ‘operator++(int)’ declared for postfix ‘++’
2017-07-14 11:57:11 +02:00
Beat Küng
1c7941fc89
land_detector: fix too long lines in module documentation
2017-07-14 11:57:11 +02:00
Dennis Mannhart
eb17d4b5f3
MC landdetector: update description
2017-07-14 11:57:11 +02:00
Beat Küng
cf5df4489f
dataman: extend module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
913cbc773e
px4moduledoc: extend validation: limit max line length to 120
2017-07-14 11:57:11 +02:00
Beat Küng
318c4497bd
dataman: fix typo
2017-07-14 11:57:11 +02:00
Beat Küng
620d37bc1c
fmu: remove tautology, fix pwm2cap2 mode for status
2017-07-14 11:57:11 +02:00
Beat Küng
8b64fc8a5e
Tools/px4moduledoc: add some comments, describe the regexes
2017-07-14 11:57:11 +02:00
Beat Küng
8a83fb7dc2
land_detector: use ModuleBase & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
8d7481f9ac
load_mon: use ModuleBase & add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
5aa8b455c2
crazyflie airframe: add maintainer
2017-07-14 11:57:11 +02:00
Beat Küng
69f0288649
aerofc airframe: RTF -> Ready to Fly Drone & add maintainer
2017-07-14 11:57:11 +02:00
Beat Küng
a63699060d
ekf2: use ModuleBase & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
47073e9c32
vmount: add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
28e5268497
dataman: rename to .cpp & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
682dabded1
replay: use module base class & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
674ae5292e
markdown module doc script: write how to generate the modules documentation
2017-07-14 11:57:11 +02:00
Beat Küng
05b0c412c8
sensors: extend module doc a bit
2017-07-14 11:57:11 +02:00
Beat Küng
36c9400de4
gps: use ModuleBase class & add documentation
...
Note: it changes the interface slightly: instead uf -dualgps, use -e now.
This also fixes 2 bugs:
- nullptr access when doing 'gps status' with fake gps running
- close(fd) was called on an uninitialized fd when gps fake was running
2017-07-14 11:57:11 +02:00
Beat Küng
6463bd4f6f
sensors: use ModuleBase & add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
5923a2e9d0
src/mainpage.dox: remove this file, it's not used anymore & completely outdated
2017-07-14 11:57:11 +02:00
Beat Küng
a43f135ad4
minor documentation updates to some commands
2017-07-14 11:57:11 +02:00
Beat Küng
7d50f3df0a
Makefile: add module_documentation target
2017-07-14 11:57:11 +02:00
Beat Küng
7a4f557a7a
px_process_module_doc: separate page into one page per category
2017-07-14 11:57:11 +02:00
Beat Küng
05c3b711f3
fix bl_update: move definition of print_usage into the ifdef
...
fixes the compile error:
error: 'print_usage' defined but not used [-Werror=unused-function]
2017-07-14 11:57:11 +02:00
Beat Küng
a4ca3fc607
ver: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
68d754b65e
usb_connected: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
8e965a7a2a
topic_listener: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
1b4467f674
sd_bench: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
06178392ce
reboot: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
16e0e1f7ca
perf: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
ba1a483cd6
nshterm: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
65b11d39a9
mtd: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
e362f760c4
motor_test: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
4839ed8498
motor_ramp: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
3a880a09d6
mixer: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
b18a148129
led_control: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
50d1ed99b0
i2c commmand: remove errx
2017-07-14 11:57:11 +02:00
Beat Küng
6b99b3412e
esc_calib: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
0fdd2b9fea
dumpfile: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
7893623d75
fix dumpfile: specify stack size
2017-07-14 11:57:11 +02:00
Beat Küng
4ea44e51b7
config.c: add documentation & do cleanup (remove err(), ...)
...
Also changes the order of the arguments for consistency.
2017-07-14 11:57:11 +02:00
Beat Küng
be25c337f9
bl_update: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
35aa95c25f
perf_counter.c: mention that the latency buckets are in us
2017-07-14 11:57:11 +02:00
Beat Küng
872049dc57
pwm.cpp: extend documentation for Oneshot
2017-07-14 11:57:11 +02:00
Beat Küng
fac6a829c4
pwm.cpp: fix issues by clang tidy (nullptr & void)
2017-07-14 11:57:11 +02:00
Beat Küng
37ff267b68
param.cpp: fix issues by clang tidy (nullptr & void)
2017-07-14 11:57:11 +02:00
Beat Küng
b32b0d9b17
hardfault_log: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
488bc9d7f3
hardfault_log.h: fix comments
2017-07-14 11:57:11 +02:00
Beat Küng
3b0da512a5
px_process_module_doc: add --no-validation flag
...
and make sure the command failed if there's a validation error.
2017-07-14 11:57:11 +02:00
Beat Küng
d309617998
param.c: rename to cpp and add module documentation
...
use c++ so that raw string literals can be used
2017-07-14 11:57:11 +02:00
Beat Küng
647bdef855
pwm.c: rename to pwm.cpp and add module documentation
...
use c++ so that raw string literals can be used
2017-07-14 11:57:11 +02:00
Beat Küng
3f6769d41e
uorb: add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
f25549169c
fmu: wait until running, and handle mode_rcin properly
...
when the fmu was already running in a pwm mode, changing to mode_rcin would
not have any effect.
2017-07-14 11:57:11 +02:00
Beat Küng
3b64be44f4
ModuleBase: add wait_until_running() method
2017-07-14 11:57:11 +02:00
Beat Küng
6778be2c6e
mavlink: remove 'p' from px4_getopt()
...
It is not handled and not documented.
2017-07-14 11:57:11 +02:00
Beat Küng
0909b58981
fmu.cpp: fix wrong command usage mode_pwm3cap2 -> mode_pwm2cap2
2017-07-14 11:57:11 +02:00
Beat Küng
053eb12329
Module documentation: switch to Markdown
2017-07-14 11:57:11 +02:00
Beat Küng
6c9574b336
Tools/px_process_module_doc.py: add script to extract documentation
...
And turn it into a markdown page.
It also does some simple validation, to check that the getopt() arguments
match the documentation.
2017-07-14 11:57:11 +02:00
Beat Küng
c22b79ece5
pwm.c: fix wrong comment
2017-07-14 11:57:11 +02:00
Beat Küng
45bc882f5d
px_process_params: fix scope when script is called from repo root
...
If called with ./Tools/px_process_params.py, the path would start with
src/<module>, and thus not match the regex "^.*/src/"
2017-07-14 11:57:11 +02:00
Beat Küng
41e53ef949
px_process_airframes: add image path as optional argument for markdown output
...
usage:
./px_process_airframes.py -m -i ../image/path
2017-07-14 11:57:11 +02:00
Beat Küng
63af349bba
px4_module.h: include <cstring> for strcmp()
2017-07-14 11:57:11 +02:00
Beat Küng
59bde454b5
ModuleBase: instanciate -> instantiate
2017-07-14 11:57:11 +02:00
Beat Küng
f691ae2a4f
mavlink: update usage & module description
2017-07-14 11:57:11 +02:00
Beat Küng
2ad7194ed3
pwm command: update usage
2017-07-14 11:57:11 +02:00
Beat Küng
9e4d1235ac
pwm command: fix -e param (it was just ignored)
...
to keep the behavior the same, remove the -e flags from all pwm commands
that use it in the scripts.
2017-07-14 11:57:11 +02:00
Beat Küng
317c8bf557
uorb: update usage
2017-07-14 11:57:11 +02:00
Beat Küng
7b7836de05
param command: update usage
2017-07-14 11:57:11 +02:00
Beat Küng
c1788c4e43
top: add module description & usage
2017-07-14 11:57:11 +02:00
Beat Küng
6ea9762117
fmu: convert to ModuleBase
...
Sorry for the large patch :)
- move cleanup into destructor (this was done on the wrong task before)
- move init into init() method
- sensor & peripheral reset do not start/stop fmu anymore
- remove err & errx (they do not release the lock and could lead to dead-
locks)
2017-07-14 11:57:11 +02:00
Beat Küng
2da0ae45e5
fmu: some cleanup
...
g_port_mode was never changed.
2017-07-14 11:57:11 +02:00
Beat Küng
16740dd5cd
io timers: fix some typos
2017-07-14 11:57:11 +02:00
Beat Küng
7361244359
logger: convert to use ModuleBase
2017-07-14 11:57:11 +02:00
Beat Küng
5bdbfa9b5c
send_event: convert to use ModuleBase
2017-07-14 11:57:11 +02:00
Beat Küng
04c4339ca3
module: add a common module base class with usage printf methods
...
Provides:
- thread-safety for module start/stop
- some shared code for module start/stop. Should also be less prone to
errors.
- constructor & destructors are called from within the new module thread
- can be used for work queue & thread modules
- strutured & formal way for module printf usage & module documentation
Limitation:
- supports only modules with one instance (eg. not mavlink)
2017-07-14 11:57:11 +02:00
David Sidrane
b5275ecd52
ver:The recent changes to version.c return values in base10
...
This is part 2 of the fix. The tool that extracts the nuttx
git tag was broken by a new tag added the did not match
the form nuttx-M.mm. To the value was printed as
OS: NuttX
OS version: 0.0.0 c0 (192)
Once that issue was fixed, it was apparent that recent
changes to version.c return the values as base 10, before
it was hex. This fixes the formatting.
2017-07-14 10:46:30 +02:00
David Sidrane
de97ff163b
NuttX/nuttx got tagged and broke git version version exraction
...
This is part one of a fix for cascading failure. The NuttX
nuttx repos was tagged with upstream_7.18+ and broke the tag
extraction that was expecting nuttx-M.mm
2017-07-14 10:46:30 +02:00
Beat Küng
eeb1895922
i2c_posix: fix simulate variable cannot be assigned on QuRT
2017-07-13 16:53:28 +02:00
Beat Küng
46a7287178
linux_pwm_out: add support for ESC calibration
2017-07-13 16:53:28 +02:00
Beat Küng
bf11362dae
i2c_posix: fix use of wrong device path
...
previously, get_devname() was used as the I2C device path, but on NuttX,
get_devname() is the device file which the driver creates. This patch
changes it, so the sematics are the same as on NuttX: both now use _bus
to decide to which I2C bus device to talk to.
I did not see any other use-cases than the led on ocpoc.
2017-07-13 16:53:28 +02:00
Beat Küng
fc4affbb5f
ocpoc_mmap_pwm_out: remove this driver, it's in linux_pwm_out now
2017-07-13 16:53:28 +02:00
Beat Küng
d17a7b46e8
linux_pwm_out: add ocpoc_mmap mode
2017-07-13 16:53:28 +02:00
Beat Küng
8527c8276f
drivers: rename rpi_pwm_out to linux_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
5cbee15309
ocpoc_adc: make xadc_fd a local variable instead of a class member
2017-07-13 16:53:28 +02:00
Beat Küng
2cf88156a9
cmake: remove -Os from COMPILE_FLAGS in px4_add_module()
...
This is already added to the global list, and we already removed this
flag previously, but some of them sneaked back in.
2017-07-13 16:53:28 +02:00
Beat Küng
d3f76262da
RPI px4_no_shield.config: add documentation for connected HW
2017-07-13 16:53:28 +02:00
Beat Küng
243ae00e4e
rpi_pca9685_pwm_out: remove this driver, it's now in rpi_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
51dc988914
rpi_pwm_out: fix mixing output handling (use correct number of outputs)
2017-07-13 16:53:28 +02:00
Beat Küng
b6942115e1
rpi_pwm_out: add support for PCA9685 output
2017-07-13 16:53:28 +02:00
Beat Küng
723f67b39a
refactor navio_sysfs_pwm_out: rename to rpi_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
8ccbc068c2
RPI PCA9685: code cleanup
2017-07-13 16:53:28 +02:00
Beat Küng
d898b555d3
rpi_rc_in: code cleanup
2017-07-13 16:53:28 +02:00
Beat Küng
785b997a2e
posix_rpi_cross_no_shield.cmake: move -D__DF_RPI_SINGLE from commons to this file
2017-07-13 16:53:28 +02:00
crossa
4bde004474
1. Add parameter name in head file
...
2. Remove printf in the cpp
2017-07-13 16:53:28 +02:00
crossa
917d520378
Check _rcinput_pub is null.
2017-07-13 16:53:28 +02:00
crossa
ef587c9593
Add -D__DF_RPI_SINGLE in posix_rpi_common.cmake
...
Add -D__DF_RPI in posix_rpi_common.cmake
Add rpi_rc_in and rpi_pca9685_pwm_out driver in posix_rpi_common.cmake
Rename posix_rpi_cross_without_navio_or_pxfmini to posix_rpi_cross_no_shield.cmake
2017-07-13 16:53:28 +02:00
crossa
0340f96ad0
Rename px4_rpi.config to px4_no_shield.config
2017-07-13 16:53:28 +02:00
crossa
d37280e99b
REMOVE DEBUG INGO
2017-07-13 16:53:28 +02:00
crossa
18298f861d
Remove duplicated configs
2017-07-13 16:53:28 +02:00
crossa
b4032f6290
Remove duplicated config
2017-07-13 16:53:28 +02:00
crossa
6a9aa60ad7
Add rpi_pca9685_pwm_out command
2017-07-13 16:53:28 +02:00
crossa
ed319ce5d5
1. Add comment written in English
...
2. Rewrite and rebase pca9685 driver
3. Try to fix issue when push the stick of channel 3 to the maxmum position, 0uswill be output to channel 1, should be maxmum pwm signal
4. Fix the code style
2017-07-13 16:53:28 +02:00
crossa
78b853431d
change gps command
2017-07-13 16:53:28 +02:00
crossa
ea2a3acbd8
This driver has been tested and finished first flight
...
Now I've fixed style of the code
2017-07-13 16:53:28 +02:00
zhangfan
8a691d9bfb
Add CMake file for raspberry pi without shield
2017-07-13 16:53:28 +02:00
crossa
c89351c453
Add PWM output driver with raspberry pi+pca9685 module
2017-07-13 16:53:28 +02:00
crossa
6ee6165592
PX4 RASPBERRY PI CONFIG
2017-07-13 16:53:28 +02:00
crossa
4839e5cd19
Fix code style
2017-07-13 16:53:28 +02:00
crossa
7b108eb879
Reading the pwm signal from shared image.
...
Both 8 channels PPM encoder and 8 channels revicer are required.
Before launch px4, ppmdeocde programe should be launched.
To download ppmdecode programe,
visit https://github.com/crossa/raspberry-pi-px4firmware .
Pxfmini and navio are not popular autopilot hardware in china,
I can handly to purchase it.
So that I use raspberry pi to build autopilot separately.
This dirver help us to decode ppm single to pwm and pushlish it
2017-07-13 16:53:28 +02:00
José Roberto de Souza
ac7127ff0f
systemcmds: dataman: Check for errors in tasks
2017-07-13 15:21:26 +02:00
José Roberto de Souza
2f2e3a7e7c
modules: dataman: ram_flash: No need to write/erase data that do not need to persist
...
Just update in RAM is enough.
2017-07-13 15:21:26 +02:00
José Roberto de Souza
10f54e718e
modules: dataman: Optimize memory usage
...
Use the size of each item type instead of the biggest one.
In AeroFC that runs is constrained mode it was using 7860 bytes
and now it uses 6930 bytes almost 1KB less.
2017-07-13 15:21:26 +02:00
Ramón Hernán Roche Quintana
f160743df4
Join us on Slack README badge
2017-07-12 07:19:20 +02:00
ChristophTobler
add78a4b04
stream distance sensor at 10Hz for SITL-EKF testing
2017-07-11 13:59:12 +02:00
Lorenz Meier
dbc7d805f2
Navigator: Fix pause mode to not continue to next waypoint if already set
2017-07-11 13:23:12 +02:00
Henry Zhang
8f391a6eae
MindPX: update NuttX config
2017-07-11 09:52:51 +02:00
Henry Zhang
145c05acc7
Add support for the mpu6k to the MindPXv2
2017-07-11 09:52:51 +02:00
José Roberto de Souza
9a05c5f137
mavlink: Send command long when component id is broadcast
...
Check for the broadcast systemd id to block forward of broadcast
commands.
2017-07-11 09:52:22 +02:00
David Sidrane
fc30f2906f
mpu9250:Use a cpu speed independant _reset_wait generations.
...
This change first pushes out the _reset_wait by 100 Ms.
which is about 3 time longer then the code take to execute.
Then it does the reset of the accel, gyro and mag and
the ends the wait by setting _reset_wait to now+10 us.
2017-07-11 09:51:31 +02:00
David Sidrane
3f0d26c949
mpu6000:Support different clock freq per IC type
2017-07-11 09:51:31 +02:00
David Sidrane
3c42c8f7fa
mpu9520:Use maximum clock rate
...
The MPU9250 and MPU6500 buth support 1 Mhz and 20 Mhz. Buy upping the clocc we will get the maximum clock rate the driver
supports that is <= 20 Mhz. This will boost the FMUv4Pro SPI speed to 11.25 Mhz (it was half that)
2017-07-11 09:51:31 +02:00
David Sidrane
22d0ea15de
px4fmu-v3:Add ICM20608 aliased to the PX4_SPIDEV_ACCEL_MAG to the v3 build
...
The Pixkhawk mini was not chip selecting the ICM20608 as it did
not define PX4_SPIDEV_ICM_20608. This allow the fmu V2 rc code
to init the ICM20608.
2017-07-11 09:49:22 +02:00
David Sidrane
195468bf06
px4fmuv4pro:Init GPIO_VDD_3V3_SENSORS_EN off at reset
...
Insure a 0.0 voltage initial condition on VDD_3V3_SENSORS
By starting the GPIO_VDD_3V3_SENSORS_EN, low and deferring
the GPIO init of the slave selects and drdy signals until
board_app_initialize. We get ~ 180 ms of power off time
with 0.00 voltage applied to the sensors.
2017-07-11 08:34:26 +02:00
Lorenz Meier
6a3e27fe18
PWM command: Be less verbose
2017-07-11 08:15:44 +02:00
Sander Smeets
48be61160d
Float value correction
2017-07-10 21:15:08 +02:00
Sander Smeets
70178266f0
VTOL pusher assist: return vehicle to level position
2017-07-10 21:15:08 +02:00
bresch
81c46b6f92
VTOL Standard - Disable pusher-for-pitch strategy in manual control
2017-07-10 21:13:28 +02:00
Anup Parikh
1cff86025e
Fix issue #7525
...
Add missing `.py` extension to Tools/px4 to fix #7525
2017-07-10 18:48:27 +02:00
Lorenz Meier
57a2ea0cd1
Navigator: Do not change target position if user is only changing altitude
...
This is important for multicopters for drift-free altitude changes and important for fixed wing to keep the current loiter center.
2017-07-10 18:36:03 +02:00
Lorenz Meier
c89bd5c8fd
HMC5883: Fix range setup
2017-07-10 08:32:19 +02:00
Daniel Agar
164010ea4c
standard plane consistent metadata
2017-07-09 16:36:44 -04:00
Lorenz Meier
f2b8291587
Logger: Run at lower priority than core control pipeline
...
This should ensure that controllers run first and log data copying happens after.
;
2017-07-09 21:59:01 +02:00
Lorenz Meier
df173d4d8a
Sensors: Do not update calibration when armed. Run at lower priority than attitude control and estimator
...
This ensures that the massive (several hundred params if temperature compensation is enabled) param load is not done in flight. We also lower the priority to ensure that attitude controllers and estimators which might consume sensor data directly execute immediately, which should reduce their latency.
2017-07-09 21:58:48 +02:00
Lorenz Meier
3bdd0e95dd
EKF2: Show time slip on console
2017-07-09 21:58:41 +02:00
Daniel Agar
8ff40d8048
consolidate standard plane configurations
2017-07-09 21:05:03 +02:00
Daniel Agar
585984fa0c
fmuservo increase stack
2017-07-09 18:02:55 +02:00
Lorenz Meier
75faf5c7bd
Preflight checks: Increase accel warn limit range
2017-07-09 16:38:56 +02:00
Lorenz Meier
80461fad6b
Camera trigger: Support triggering one image immediately.
...
This allows to re-enable the distance trigger and immediately take a picture. This is helpful to ensure survey areas are covered on entry and exit.
2017-07-09 14:49:21 +02:00
Lorenz Meier
1a12326d7d
Reserve value in ENUM for simple mode
2017-07-09 14:43:24 +02:00
Lorenz Meier
099a6dfd3e
Mission feasibility checker: Improve output messages for humans
...
Text to speech will work better with these messages and some of them exceeded the 50 character limit.
2017-07-09 14:43:24 +02:00
Lorenz Meier
eb5b153d10
MAVLink app: send status text only if connected to something that can actually handle it.
...
This increases the chance that the operator gets to see the messages that the vehicle emitted before telemetry was connected.
2017-07-09 14:43:24 +02:00
Lorenz Meier
5a8062e646
MAVLink app: Provide function for connected state
...
If we have not received an inbound heartbeat we are probably not connected and so user-facing output (which is even buffered) should go only out once we are connected.
2017-07-09 14:43:24 +02:00
Lorenz Meier
4ca7187e42
Commander: Do not allow to set mission mode if the mission is failing feasibility checks. Provide clear feedback if telemetry is online and home is set about an invalid mission state.
2017-07-09 14:43:24 +02:00
Michael Schaeuble
d53598ed58
UAVCAN: Publish actuator outputs
2017-07-09 14:41:48 +02:00
Daniel Agar
61fd6f4c8a
uorb failure print topic name
2017-07-09 14:40:11 +02:00
Daniel Agar
f45b9048aa
GPS driver increase stack (244 bytes left)
2017-07-09 13:09:22 +02:00
garfieldG
a9750f7ccb
Fixed formatting
2017-07-09 13:08:49 +02:00
garfieldG
be41cf8ba1
Fixed parameters naming and type and added comments
2017-07-09 13:08:49 +02:00
garfieldG
44e148151b
Fixed the version naming
2017-07-09 13:08:49 +02:00
Daniel Agar
7a9e31f440
delete unused MPC_XY_FF and MPC_Z_FF ( #7563 )
2017-07-08 20:57:10 -04:00
Daniel Agar
75a528e061
FW EKF2 and ublox defaults
...
- closes #7550
2017-07-09 00:24:00 +02:00
Daniel Agar
e0aa2e2391
RTL reduce verbosity
2017-07-08 21:54:04 +02:00
Daniel Agar
fbebec5d0f
navigator log RTL messages and don't print global timeout
2017-07-08 21:54:04 +02:00
Daniel Agar
f396224d41
mag calibration add notifications to rotate
2017-07-08 21:54:04 +02:00
Daniel Agar
1a6a871689
commander properly set boot timestamp
2017-07-08 21:54:04 +02:00
Daniel Agar
b804616ad0
preflight check airspeed use differential_pressure
2017-07-08 21:54:04 +02:00
Daniel Agar
e303c2ad89
eagle tree airspeed allow negative differential pressure
2017-07-08 21:54:04 +02:00
Rogelio
9d9da229cc
Add GPS command to all eagle configs
2017-07-08 20:28:30 +02:00
Daniel Agar
f11bb401f4
CMD_MISSION_START allow first_item=-1 to leave index unchanged
2017-07-08 19:49:52 +02:00
Lorenz Meier
49bbd0e58d
Navigator: Be less verbose
2017-07-08 19:36:58 +02:00
Lorenz Meier
d80be2e4ff
MAVLink: better output handling
2017-07-08 19:36:58 +02:00
Lorenz Meier
24ffada340
MPU9250: Hold off from reboot a little longer. Fixes #7555
2017-07-08 16:38:18 +02:00
Lorenz Meier
9cd93dcf03
MPU9250: Fix boot on Pixhawk Mini
...
This requires further investigation. Hotfix.
2017-07-08 16:31:12 +02:00
David Sidrane
f722614ec0
mpu9250:Stop per counter on failed read
2017-07-08 15:37:46 +02:00
David Sidrane
fbf6532c25
mpu9250:reset the mag on the reset operation
...
This commit fixed a bug were the mag was orphened on a reset.
That resulted in MAG timeouts on reset or test operations and
left the mag in a broken state.
2017-07-08 15:37:46 +02:00
David Sidrane
8bd044e80e
mpu9250:mag rework the setup to veify HW first
...
If the setup is unsucessful fo not register the devices or
allocate resources.
2017-07-08 15:37:46 +02:00
David Sidrane
aec109ac2c
mpu9250:mag restructure to have proper retires for setup
...
We want to setup the mag interface with retries and report
failurs.
Move retry logic to contol point, instead of hiding re-reading
the ID in ak8963_check_id.
Allow it to fail once to overcome a read of 0 on firt read.
after 2 failure report error to console and reset the
mpu9250's I2C master (SPI to I2C bridge)
The same retry logic is used on the ak8963_read_adjustments
with a reset of the I2C master module after 5 fails. If it
fails fter 10 retires. Disabel the mad and report the failure
on the console, stating it is disabled.
2017-07-08 15:37:46 +02:00
David Sidrane
270dd5282a
mpu9250:Add modify checked register api
...
Provide an API for the mag to use read-modify-write
2017-07-08 15:37:46 +02:00
David Sidrane
ef67b75057
mpu9250:Added comment on BYPASSING the internal i2c master bridge
2017-07-08 15:37:46 +02:00
David Sidrane
c3addd931c
mpu9250:Issue error on console when a device fails to take initialization
...
On initialization, if after 3 retries to re-init the mpu9250 from
the checked registers values, it fails. Ensure thath the fact the
driver is exitting is logged to console.
2017-07-08 15:37:46 +02:00
David Sidrane
3272cc62d4
mpu9250: Do a reasonable post chip init validations, reporting errors
...
Check that the mpu9250's configured registers match the settings
written to them. Attempt to fix any that do not up to 3 times.
printing erros to the console on mismatches and returning
faliure if after 3 attempts the any of the values are
still wrong.
2017-07-08 15:37:46 +02:00
David Sidrane
7e293ab1d3
mpu9250:Fix errant comment
2017-07-08 15:37:46 +02:00
David Sidrane
5a53d92f22
mpu9250:Remove foklore delays
...
Remove delays on each register write in the
reset function. Leaving only the delay
following chip reset prior to configurations.
2017-07-08 15:37:46 +02:00
David Sidrane
b4d23a3f2c
mpu9250:Rmove magic number, add ACCEL_RANGE_G
2017-07-08 15:37:46 +02:00
Lorenz Meier
90fdc544fd
MAVLink app: Code style fix
2017-07-08 15:34:36 +02:00
Lorenz Meier
ddf32e14de
MAVLink app: More print improvements
2017-07-08 15:23:46 +02:00
Lorenz Meier
d15dd061f9
MAVLink app: More debug string formatting
2017-07-08 14:36:08 +02:00
Lorenz Meier
e8aa5a3172
MAVLink app: Fix non-enabled debug string output
2017-07-08 14:23:46 +02:00
Lorenz Meier
6f368f34d1
MAVLink: Remove non-required safety check
2017-07-08 13:59:35 +02:00
Lorenz Meier
8d8174ea0c
MAVLink command retransmission: Reduce RAM footprint and make debug output optional
2017-07-08 12:46:28 +02:00
Julian Oes
a13f23f244
timestamped_list: use const ref
2017-07-08 11:52:23 +02:00
Julian Oes
7e1e98b258
timestamped_list: fix comment syntax
2017-07-08 11:52:23 +02:00
Julian Oes
1576094d9f
mavlink_command_sender: use const ref
2017-07-08 11:52:23 +02:00
Julian Oes
893b7b5d46
mavlink_command_sender: instantiate in initialize
2017-07-08 11:52:23 +02:00
Julian Oes
c66af00753
mavlink_command_sender: fix NuttX build
2017-07-08 11:52:23 +02:00
Julian Oes
e6d31f951c
mavlink_command_sender: fix logic after first test
...
- change/add a few printfs so they make more sense
- don't accidentally ignore command_acks
- don't forward commands to the same component id, and don't forward
commands that are broadcast to all components (target component 0)
2017-07-08 11:52:23 +02:00
Julian Oes
af0107ae0a
mavlink: add class for command retransmission
...
This adds a class to allow for retransmission of outgoing commands.
The sent commands are kept in a timestamped list to check if they are
acked as required by the mavlink protocol.
If they are not acked within a timeout, they can be retransmitted.
2017-07-08 11:52:23 +02:00
Julian Oes
9854fc0d84
Set timestamp with vehicle commands
...
The vehicle_command uORB messages had the timestamp unset at 0.
2017-07-08 11:52:23 +02:00
Julian Oes
d64b7706f5
check_code_style_all: accept astyle version 3.0.1
2017-07-08 11:52:23 +02:00
ChristophTobler
a5e435808f
mavlink log if camera unsuccessful
2017-07-08 11:52:23 +02:00
Lorenz Meier
b42c1123a2
ROMFS: Add flaps and gear mixers to all standard planes
...
It makes sense to have this for all standard planes and our default PWM outputs for MAIN are always 6 wide, so this should scale to all known HW platforms.
2017-07-08 11:50:48 +02:00
David Sidrane
6eff7deb7e
Extend the delay ensure post reset pulse delayed.
...
Given the original poster's comment that "It happens very consistently for us." I suspect the motor spin observed in https://github.com/PX4/Firmware/issues/7457 is not caused by the original issue of slow decay on the PWM pins at reset, but the post reset pulse of 3.1 Ms arriving in a window that the ESC considers it valid.
The results from testing, indicated that the if the PWM pins were clamped low for > 300 Ms, prior to reset the motors did not spin. This would delay the the post reset pulse of 3.1 Ms out by > 300 Ms.
This change delays the reset and therefore the pulse by at least 400 Ms.
2017-07-08 10:51:43 +02:00
David Sidrane
65d8b5c9cd
px4fmu-v4:Insure the discharge of the pins PWM pins on rest.
...
On resets invoked from system (not boot) insure we establish a low
output state (discharge the pins) on PWM pins before they become
inputs.
2017-07-08 10:51:43 +02:00
Jan Liphardt
38fa6dcad5
Clipping of the battery current due to Int*Float
...
Note that Type buf_adc[i].am_data = int32_t, but everything else are floats. Suggest (float)(buf_adc[i].am_data), precisely as was done a few lines later for the voltage.
2017-07-08 10:23:36 +02:00
Matthias Grob
60c760280e
mc_pos_control: fix comment typo "hight"
2017-07-07 18:25:35 +02:00
Matthias Grob
b511ccd9fe
mc_pos_control: integrate complete order and limits of velocity setpoint calculation
...
- one warn_rate_limited was missing
- vel_sp_slewrate was in the wrong order for smooth slowdown/speedup on takeoff and landing
- slow_land_gradual_velocity_limit was replaced by calls to math::gradual
- smooth takeoff speed got controllable by user input
- comments were corrected
- an additional check for the sanity of velocity setpoints was added
2017-07-07 18:25:35 +02:00
Matthias Grob
1d7f760a96
mathlib, mc_pos_control: rename functions file and add gradual linear function
2017-07-07 18:25:35 +02:00
Dennis Mannhart
1c2d54397f
mc_pos_control: move constraints to the end
2017-07-07 18:25:35 +02:00
Dennis Mannhart
2758a4a6fa
mc_pos_control: add warn_rate limit function
2017-07-07 18:25:35 +02:00
Beat Küng
c8b9f8afa8
F7 nuttx configs: increase CONFIG_STM32F7_BBSRAM_FILES to 5
2017-07-07 17:06:48 +02:00
Beat Küng
9141bf8386
replay: handle INFO_MULTIPLE & FLAG_BITS ULog messages
2017-07-07 17:06:48 +02:00
Beat Küng
c775b07b43
logger: use INFO_MULTIPLE for top & perf output
2017-07-07 17:06:48 +02:00
Beat Küng
209f220288
hardfault_log: move hardfault_store_ulog_filename to logger module
2017-07-07 17:06:48 +02:00
Beat Küng
eac657f4b3
hardfault_log: append crash log to last ULog file upon commit
...
This keeps the separate .txt around, since it's possible that the ULog file
gets corrupt during the crash.
2017-07-07 17:06:48 +02:00
Beat Küng
b515873bee
ULog: add INFO_MULTIPLE & FLAG_BITS messages
...
This requires support in the parsers, and thus the ULog file version is
increased.
As long as no data is appended, both, existing pyulog & FlightPlot, can
still read the new logs (they will output a warning).
The replay module will print an error, but still continue.
2017-07-07 17:06:48 +02:00
Beat Küng
1be089cf0c
BBSRAM: add another partition and store the last ulog path
2017-07-07 17:06:48 +02:00
Beat Küng
18ea5ec1f8
logger: add git branch name to the log
2017-07-07 17:06:48 +02:00
Lorenz Meier
91144f502f
EKF2 build fix
2017-07-07 08:29:10 +02:00
Hamish Willee
5af62c8e49
Fix up so image links work properly
2017-07-06 22:21:46 +02:00
Hamish Willee
02b1048752
Make default output file name airframes_reference.md, which is expected by our gitbooks
2017-07-06 22:21:46 +02:00
Hamish Willee
8edc70d150
Add anchors for every vehicle in airframes reference
2017-07-06 22:21:46 +02:00
Hamish Willee
7775953289
Fix up airframe URLS to point to the PX4 user guide airframe build info
2017-07-06 22:21:46 +02:00
Paul Riseborough
63cbce6bd3
ekf2: Increase RAM to remove stack space warnings
2017-07-06 22:20:48 +02:00
Paul Riseborough
ee75f0eb0e
ekf2: Use updated quaternion type def
2017-07-06 22:20:48 +02:00
Paul Riseborough
b7a5fd3147
ecl: update to latest master with bug fixes
2017-07-06 22:20:48 +02:00
Lorenz Meier
f7ba70a032
MPU6K driver: Ensure that default range is always 16g by default
2017-07-06 22:15:53 +02:00
Daniel Agar
1c7833e3b1
airspeed calibration simplify logic
2017-07-06 10:05:07 -04:00
Daniel Agar
eb067291bf
airspeed sensors apply offset separately
2017-07-06 10:05:07 -04:00
Daniel Agar
c45d369004
ms5525 use int64 for calculation
2017-07-06 10:05:07 -04:00
Daniel Agar
b66b734a74
rcS move additional sensors to rc.sensors
2017-07-06 10:05:07 -04:00
Daniel Agar
95eaac6876
bmp280 properly cleanup if failed
2017-07-06 10:05:07 -04:00
Daniel Agar
936f92fd0b
airspeed verify using filtered differential pressure
2017-07-06 10:05:07 -04:00
Daniel Agar
72969f00d7
airspeed calibration error_count is uint64_t
2017-07-06 10:05:07 -04:00
Daniel Agar
32068dcd17
px4io increase stack
2017-07-06 10:05:07 -04:00
Daniel Agar
85d7c7d165
add sdp3x_airspeed to px4fmu configs
2017-07-06 10:05:07 -04:00
Daniel Agar
73d9358b1d
meas_airspeed rename to ms4525_airspeed
2017-07-06 10:05:07 -04:00
Daniel Agar
7029be87c0
MS5525 differential pressure driver
2017-07-06 10:05:07 -04:00
James Goppert
66a890d428
Remove mode enum since not used and declare enum type.
2017-07-06 09:02:13 +02:00
James Goppert
9f20730d7e
Remove unused sdlog mode handle.
2017-07-06 09:02:13 +02:00
James Goppert
57e0051c42
Fix enum.
2017-07-06 09:02:13 +02:00
James Goppert
ac8ef5f338
Formatting.
2017-07-06 09:02:13 +02:00
James Goppert
16f46c15d3
Switch to class enum and cleanup log profiles.
2017-07-06 09:02:13 +02:00
James Goppert
034c0c702a
Remove estimator replay log profile.
2017-07-06 09:02:13 +02:00
James Goppert
82d7332f1a
Remove log profile set to thermal calibration for PX4FMU_V5.
2017-07-06 09:02:13 +02:00
Beat Küng
784cec1cae
logger: check if topic already added & if so only update the interval
2017-07-06 09:02:13 +02:00
James Goppert
15ae3a9eb7
Add estimator replay topics to default.
2017-07-06 09:02:13 +02:00
James Goppert
d10a491243
Add logging profiles to logger module.
2017-07-06 09:02:13 +02:00
Nicolae Rosia
2092770361
Integrator: fix comparison
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-07-06 08:48:44 +02:00
Lorenz Meier
9bb3ab4a71
Update SITL module
2017-07-06 07:42:17 +02:00
Lorenz Meier
72e452ba32
Add missing Iris config
2017-07-06 07:42:06 +02:00
imcnanie
629844adff
Dodeca mixer using the AUX channels ( #7532 )
...
* Added Dodecarotor Mixer
* fixed formatting style
* Renamed dodeca mixers to top and bottom
2017-07-05 22:17:33 +02:00
Beat Küng
1e2ce51c6d
LandDetector: fix vehicle flight time
...
The problem was signed vs unsigned mixing together with 64bit conversion:
int32_t flight_time = ...;
uint64_t _total_flight_time = ...;
_total_flight_time |= flight_time;
When flight_time is negative, the last line would first extend the sign
bit to the upper 32bits of the 64bit uint and then apply the bitwise OR.
The fix is to use an unsigned 32 bit value.
2017-07-04 14:13:18 +02:00
Lorenz Meier
f54a6c2999
VTOL Controller: Always read ready topics
...
When poll returns a ready FD we have to read it, no matter which flight mode the system is in.
2017-07-02 21:52:18 +02:00
Lorenz Meier
1acf547e8b
POSIX: Move C/C++ separation
2017-07-02 21:50:42 +02:00
Lorenz Meier
ca7c71b759
Update SITL version
2017-07-02 21:50:02 +02:00
Lorenz Meier
5724bef14d
VTOL att controller: Code style fix
2017-07-02 20:59:25 +02:00
Lorenz Meier
792b03628f
CMake: more clear instructions for python dependencies
2017-07-02 17:15:12 +02:00
Lorenz Meier
5a4714fef2
Track Gazebo submodules more closely
2017-07-02 17:00:08 +02:00
Lorenz Meier
4cae86dc1a
Update jMAVSim
2017-07-02 16:59:55 +02:00
Lorenz Meier
82bd13bfe0
Update SITL Gazebo interface version
2017-07-02 16:46:13 +02:00
Lorenz Meier
6ea9c1877b
Add version command to PX4 tools directory
2017-07-02 14:43:13 +02:00
Hamish Willee
071cfc2d31
Ensure groups have unique names in TOC
2017-07-01 20:04:46 +02:00
Hamish Willee
6f3b6bf55b
Update parser to get class information and create separate groups for each class
2017-07-01 20:04:46 +02:00
Hamish Willee
50140b3d90
Group by vehicle type and add headings
2017-07-01 20:04:46 +02:00
Hamish Willee
d88e387013
Fix typo in exported text
2017-07-01 20:04:46 +02:00
Daniel Agar
af5256c454
GPS ublox add dynamic model parameter
2017-06-30 08:02:25 +02:00
Daniel Agar
c8189b9c23
navigator mission_block check range for loiter exit
...
- fixes #7510
2017-06-29 21:28:26 +02:00
Beat Küng
6fcd7d9529
estimator_status.msg: fix documentation of innovation_check_flags
2017-06-29 16:06:06 +02:00
Daniel Agar
40d40330b8
delete unused pio
2017-06-29 03:23:39 -10:00
David Sidrane
fc25213811
auav-x21:Delete PX4_I2C_BUS_ONBOARD
2017-06-29 07:59:56 +05:30
Mohammed Kabir
0bda4a7edd
rc.sensors : correctly start up sensors on AUAV-X2.1
2017-06-29 07:59:56 +05:30
Daniel Agar
cd8c8ea5de
FW default PWM_RATE 50
2017-06-28 09:13:19 +02:00
Jan Liphardt
d5eab23f53
airspeed error message clarification ( #7497 )
...
In day to day practice, there are two reasons for fabsf(airspeed.differential_pressure_filtered_pa) > 15.0f
1/ The sensor has not been calibrated. In this case, the sensor needs to be calibrated.
2/ It's a windy day, and the operator has powered up the system without covering the pitot tube. In that case, you need to reboot with the pitot cover in place.
The original message ('Check calibration') is ok, but why not be more direct? The user does not have to "check the calibration" - the user has to (a) either calibrate the system in the first place, or (b) not forget the pitot tube cover when powering up the system.
2017-06-28 00:28:33 -04:00
Lorenz Meier
a6ef6c6e33
SITL Launcher: gzserver must be running when gzclient connects
2017-06-27 11:59:29 +02:00
Lorenz Meier
dea467bdbd
POSIX: Make sure we do not run out of PX4 file descriptors
2017-06-27 11:59:29 +02:00
Beat Küng
0cfa99436f
fix 13001_caipirinha_vtol: class should be VTOL
2017-06-27 11:19:55 +02:00
Lorenz Meier
04f9b0400e
Add airframe class to hexa
2017-06-27 11:07:03 +02:00
Lorenz Meier
f5ff283f17
Quad: Add vehicle class
2017-06-27 11:07:03 +02:00
Lorenz Meier
2ba65a0dcc
Various experimental configs: Add class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
51c7d01a19
Plane configs: Add class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
01c074d9e5
Rover configs: add class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
86acaf0159
Quad configs: add class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
49d6853219
VTOL Configs: Add class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
ccc4f24ae8
Wing configs: Add class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
b78a138f16
Multicopter configs: Add class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
53cda2de79
HIL configs: Add HIL field
2017-06-27 11:07:03 +02:00
Lorenz Meier
968fa39158
Copter configs: Add airframe class field
2017-06-27 11:07:03 +02:00
Lorenz Meier
ad624c4a0a
Airframes parser: Add new class field
2017-06-27 11:07:03 +02:00
Daniel Agar
d641d776f7
mc_pos_control delete unused velocity feed forwards
2017-06-26 11:31:25 -04:00
Daniel Agar
f947205cbe
delete vehicle_global_velocity_setpoint
2017-06-26 11:31:25 -04:00
Julien Lecoeur
fc860140f1
Fix internal compiler error with GCC 7
...
Here is the error message:
PX4/Firmware/src/systemcmds/tests/test_matrix.cpp:641:1: internal compiler error: in trunc_int_for_mode, at explow.c:55
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
2017-06-26 15:50:44 +02:00
Julien Lecoeur
7929287f73
Fix -Werror=format-truncation on GCC 7
...
Fix formatting
Check snprintf return for error AND overflow
2017-06-26 15:50:44 +02:00
Julien Lecoeur
407b403e68
Fix -Werror=maybe-uninitialized on GCC7
2017-06-26 15:50:44 +02:00
Julien Lecoeur
06c6a0cdec
Fix -Werror=implicit-fallthrough errors on GCC7
2017-06-26 15:50:44 +02:00
Daniel Agar
ca480ff868
ms4525 treat max temperature as an error
2017-06-24 22:40:51 +02:00
Daniel Agar
f82e85f8ff
cmake remove -fno-math-errno and -fmerge-all-constants ( #7462 )
2017-06-23 11:38:31 -04:00
Daniel Agar
58ca307c9d
move -fno-math-errno to nuttx only
2017-06-23 07:56:24 +02:00
Daniel Agar
75a91f79ae
compiler optimizations add -fmerge-all-constants
2017-06-21 20:07:36 -04:00
Daniel Agar
aeb1fe5a55
compiler optimizations add -fno-math-errno
2017-06-21 20:07:36 -04:00
Lorenz Meier
13bf312263
Commander: Be less verbose
2017-06-21 21:43:28 +02:00
Paul Riseborough
d68dd6ae1e
ekf2: Fix parameter description typo
2017-06-21 09:28:42 +02:00
Paul Riseborough
b3ceb37272
ekf2: Add parameter to set range dependant noise
2017-06-21 09:28:42 +02:00
ChristophTobler
929ecd0e94
change to uint32 to match updated type from ecl
2017-06-21 09:28:42 +02:00
Roman
0007096007
updated ecl
...
Signed-off-by: Roman <bapstroman@gmail.com >
2017-06-21 09:28:42 +02:00
Roman
33495e8143
ekf2: added parameters to specify horizontal speed and absolute altitude
...
thresholds for range aid mode
Signed-off-by: Roman <bapstroman@gmail.com >
2017-06-21 09:28:42 +02:00
Roman
b5a94481a8
ekf2_main: support range aid feature
...
Signed-off-by: Roman <bapstroman@gmail.com >
2017-06-21 09:28:42 +02:00
Roman
68c2eb9dec
ekf2_params: added range aid parameter
...
Signed-off-by: Roman <bapstroman@gmail.com >
2017-06-21 09:28:42 +02:00
Khoi Tran
355205554a
Use format to properly format file for process_logdata_parser.py
2017-06-20 08:24:30 +02:00
Daniel Agar
8b3fb1e999
param fix parameters.xml dependency
2017-06-19 20:24:09 +02:00
Daniel Agar
e1a3c53930
cmake posix and qurt impl fix whitespace
2017-06-19 20:24:09 +02:00
Daniel Agar
61da642cc8
cmake fix airframes.xml dependency
2017-06-19 20:24:09 +02:00
Daniel Agar
6a443765a5
cmake only include mavlink where used
2017-06-19 20:24:09 +02:00
Martina
5984e3d330
mission: clean up mavlink log messages style
2017-06-19 19:34:18 +02:00
Beat Küng
410e822775
px4fmu-v4pro board_config: swap BRICK1 with BRICK2
...
problem: previously when connecting power to Power 1, commander refused
to arm (no power source error), and when connecting to Power 2, arming
works, but power consumption was not measured (& shown in QGC).
Swapping Brick1 with Brick2 makes sure both works when connecting to
power 1.
Ideally we will have support for both power sources (including fail-over)
2017-06-19 16:52:41 +02:00
ChristophTobler
91a94ce874
check for NAN -> use curr pos and check if first to avoid drifting
2017-06-19 13:26:11 +02:00
Lorenz Meier
7d23a52871
Commander: Remove debug output
2017-06-19 09:28:38 +02:00
Lorenz Meier
0a8b9061cf
SDP3x driver: Minor cleanup in driver
2017-06-19 09:26:27 +02:00
Paul Riseborough
28017105f4
position_estimator_inav: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Paul Riseborough
a147179ad8
local_position_estimator: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Paul Riseborough
7aec94d4d6
ekf_att_pos_estimator: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Paul Riseborough
4b7ae78fda
ekf2: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Paul Riseborough
2e008dfbc4
msg: Add vertical derivative to vehicle position messages
...
This enables control loops that are sensitive to vertical velocity offsets to use a vertical velocity that is kinematically consistent with the vertical position.
2017-06-19 09:09:52 +02:00
Paul Riseborough
862201cc4c
ecl: EKF update
...
Adds interface for vertical position derivative
2017-06-19 09:09:52 +02:00
Beat Küng
4afa931d80
voted_sensors_update: fix mag rotation
...
fixes a wrong index for _mag_device_id: previously, driver_index was used
(the CAL_MAG param index), but the correct index is the uorb topic
instance.
2017-06-17 06:36:54 +02:00
Mohammed Kabir
4d6c1b5749
Add second barometer to thermal compensation fitting script
2017-06-16 21:15:09 +05:30
Todd Stellanova
fd47e0cbb3
Set system real time clock once from GNSS data.
...
Fixes #7421
Tested with Pixracer and Zubax GNSS2.0
2017-06-16 07:46:39 +05:30
ChristophTobler
bc406a122e
disable min loiter altitude
2017-06-15 09:18:35 +02:00
Sean Matthews
1c56cad3b1
Uses astyle 2.06
2017-06-15 08:56:49 +02:00
Sean Matthews
08891526fd
Fixes #6484 : Bug in Offboard mode incorrect use of type_mask
2017-06-15 08:56:49 +02:00
Lorenz Meier
d5c923c7ef
Navigator: Fix RTL backtransition for VTOL
...
A recent change removed the command forwarding required for VTOL transitions. This change brings this back.
Partially reverts https://github.com/PX4/Firmware/pull/7249
2017-06-15 08:27:23 +02:00
Matthias Grob
e28f8bff67
commander: make commonly spoken strings more user friendly
...
these technical messages might not be suitable for the user of a product
2017-06-15 07:50:41 +02:00
Mohammed Kabir
5a96490c68
sensors : fix race condition triggered by slow-to-boot external sensors
2017-06-14 19:53:07 +02:00
Mohammed Kabir
51b23f0b57
sensors : add parameters for 4th mag into used parameters list
2017-06-14 19:53:07 +02:00
Beat Küng
90df55123b
lps25h_spi.cpp: remove MAGIOCGEXTERNAL ioctl
...
Because it's a baro driver, not a mag.
2017-06-14 19:53:07 +02:00
Beat Küng
ce7d8d2270
sensor_mag.msg: add is_external flag & set it in the mag drivers
...
With this we don't have to use the ioctl MAGIOCGEXTERNAL, which does not
work on POSIX (eg. RPi).
2017-06-14 19:53:07 +02:00
Beat Küng
19cdbcfd4f
sdp3x_airspeed: fix shadowing warning for crc
2017-06-14 19:53:07 +02:00
Beat Küng
ba3d66abba
voted_sensors_update: fix invalid/stale mag data on posix
...
Problem: _mag_device_id is used to get the correct rotation matrix for each
mag. But on POSIX, _mag_device_id was always 0, leading to invalid rotation
matrices.
This resulted in stale mag error messages (rot matrix=0 ==> mag data=0).
_mag_device_id was 0 because there are no /dev/magX devices (eg. on RPi),
thus the mag driver could not be opened.
This patch does: get the device id from the uorb topic instead. We still
need the device handle on certain platforms to apply the calibration params
and to check if the mag is internal or external.
Problem left: on POSIX, the check for external mag does not work.
2017-06-14 19:53:07 +02:00
Beat Küng
76f593afb0
fix voted_sensors_update: remove DevMgr::releaseHandle(h);
...
the 'continue' continues with the inner loop, whereas the outer loop is
responsible for opening the handle. Thus the inner loop needs to keep it
open.
2017-06-14 19:53:07 +02:00
Beat Küng
af6846b9a8
fix voted_sensors_update: use int32 for param_get()
2017-06-14 19:53:07 +02:00
Beat Küng
ce27e75a76
sensors: better status output
2017-06-14 19:53:07 +02:00
Beat Küng
1392e25652
Tools/jMAVSim: update submodule
...
allows setting gps origin via ENV variable
2017-06-14 13:12:10 +02:00
Sean Matthews
c41185a277
Fixes valid yaw check
2017-06-14 01:23:37 +05:30
Sean Matthews
d9cec600ed
Fixes #7313 : Invalid setpoint yaw after takeoff
2017-06-14 01:23:37 +05:30
Julien Lecoeur
89a8c656f2
Unneeded includes
2017-06-13 11:50:00 +02:00
Julien Lecoeur
1a6d2c491b
Remove explicit template instantiation of Subscription<T>
2017-06-13 11:50:00 +02:00
Julien Lecoeur
550aee4da3
Remove explicit template instantiation of Publication<T>
2017-06-13 11:50:00 +02:00
Julien Lecoeur
3ff1f4d16f
Move uORB::Subscription template implementation to header
2017-06-13 11:50:00 +02:00
Nicolae Rosia
0dc4f1f96d
Fix strip target and bebop upload
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-06-13 08:16:37 +02:00
Nicolae Rosia
5e57594fba
update docker_run.sh
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-06-13 08:16:37 +02:00
Nicolae Rosia
3dd32492de
Move find of STRIP_TOOL to toolchain
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-06-13 08:16:37 +02:00
Nicolae Rosia
a50a87928f
navio_adc: add override flag to init
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-06-13 08:16:37 +02:00
Nicolae Rosia
a6acb2e68e
ARM Toolchain: search compiler in PATH
...
Add CMake target for strip since these changes break adb_upload_to_bebop.
GCC users should add the cross compiler bin path to PATH (location of arm-linux-gnueabihf-g++).
Clang user should do the following:
* set CMAKE_CXX_COMPILER to clang++ by providing -DCMAKE_CXX_COMPILER=clang++ to cmake
* get GCC cross compiler - needed because Clang does not ship a CRT
* create a symlink for clang and clang++ in GCC cross compiler bin dir.
* add GCC bin dir to PATH
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-06-13 08:16:37 +02:00
Nicolae Rosia
8f9ca9b45e
Commit 8797a090dc06cd0c9f4cf132b67e4872af1ff8f1 relocated __DF_RPI
...
but missed to move it from *-clang.cmake Toolchain
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-06-13 08:16:37 +02:00
Kabir Mohammed
f266b91cc9
bebop uploader : kill and restart autostarted PX4 daemon
2017-06-13 08:16:37 +02:00
Kabir Mohammed
cd902d32ef
Relocate DF_RPI define
2017-06-13 08:16:37 +02:00
Kabir Mohammed
8b1ca2ea9b
Rename RPi/Bebop toolchain locations to PX4_TOOLCHAIN_DIR
2017-06-13 08:16:37 +02:00
Kabir Mohammed
f123ade6d3
Rename to generic arm toolchain
2017-06-13 08:16:37 +02:00
Daniel Agar
bd60f87283
move param jinja templates into relevant module
2017-06-12 12:18:53 -04:00
Daniel Agar
46101b483b
QuRT follow CMAKE_BUILD_TYPE
2017-06-12 12:18:53 -04:00
Daniel Agar
a04d7989b1
eagle and excelsior fix UART_ESC_BAUD param
2017-06-12 12:18:53 -04:00
Daniel Agar
846435cd97
BlockParam<int> -> BlockParam<int32_t> for qurt
2017-06-12 12:18:53 -04:00
Daniel Agar
4937449890
move parameter unittest into systemcmds
2017-06-12 12:18:53 -04:00
Daniel Agar
f26cd01d16
param gen reorganize and fix DISABLE_PARAMS_MODULE_SCOPING
2017-06-12 12:18:53 -04:00
ChristophTobler
9b5de23553
add ref_timestamp (time when origin was set) to lpe
2017-06-12 09:39:41 +05:30
Lorenz Meier
a1a0dd37dc
Commander: Only report GPS lost errors if armed
2017-06-11 11:19:25 +02:00
Lorenz Meier
a25330762a
Commander: Adjust airspeed checks on prearm condition
...
The previous approach would work with old low-end sensors, but with new high-end sensors we get a lot of false alarms on the bench. Relaxing the check to only apply pre-arm will ensure its now only run when the user intents to take off, at which point the airframe should be with pitot covers off in the field.
2017-06-11 11:19:25 +02:00
Lorenz Meier
d104f984d4
Sensors: print airspeed validator status
2017-06-11 11:19:25 +02:00
Lorenz Meier
77ee8d5fb9
SDP3X: Lowpass the signal significantly less as it is far less noisy
2017-06-11 11:19:25 +02:00
Lorenz Meier
0cd954e382
Start SDP3X with priority over the legacy devices
2017-06-11 11:19:25 +02:00
Lorenz Meier
fd9f6e9415
ROMFS: Rework airspeed start to include SDP3X
2017-06-11 11:19:25 +02:00
Lorenz Meier
a5581c6f25
ROMFS: Fix whitespace in rc.sensors
2017-06-11 11:19:25 +02:00
Lorenz Meier
b93e1de883
ROMFS: Do not abort on error
2017-06-11 11:19:25 +02:00
Lorenz Meier
c6cece52d3
Sensirion SDP3X airspeed / differential pressure sensor driver
2017-06-11 11:19:25 +02:00
Daniel Agar
5ee79648b7
FixedwingPositionControl cleanup comment spacing
2017-06-08 22:04:30 -04:00
Daniel Agar
35864841ba
FixedwingPositionControl remove engine failure thrust sp
...
- this is already done in fw_att_control
2017-06-08 22:04:30 -04:00
Daniel Agar
9511dfa577
FixedwingPositionControl combine TECS resets
2017-06-08 22:04:30 -04:00
Daniel Agar
0e8b0fe013
FixedwingPositionControl clang tidy fixes
2017-06-08 22:04:30 -04:00
Daniel Agar
47ec291340
FixedwingPositionControl add header guard
2017-06-08 22:04:30 -04:00
Daniel Agar
376fdd4206
FixedwingPositionControl unnecessary struct
2017-06-08 22:04:30 -04:00
Daniel Agar
3313ade291
FixedwingPositionControl update copyright and control_task
2017-06-08 22:04:30 -04:00
Daniel Agar
77eaa3ae61
fw_pos_control_l1 rename Landingslope to match case
2017-06-08 22:04:30 -04:00
Daniel Agar
23dd2e537b
fw_pos_control_l1 rename to match class
2017-06-08 22:04:30 -04:00
Daniel Agar
ea448e7fc2
fw_pos_control_l1 extract FixedwingPositionControl header
2017-06-08 22:04:30 -04:00
Daniel Agar
8d5c955af4
remove partial CMD_OVERRIDE_GOTO implementation ( #7356 )
...
- closes #7326
2017-06-08 22:03:50 -04:00
Daniel Agar
3b7e57a5b2
navigator/follow_target remove unused
2017-06-08 22:03:08 -04:00
Daniel Agar
d6e9287f51
mc_att_control comment out unused rates_i_scaled
2017-06-08 22:03:08 -04:00
Daniel Agar
70a485826d
attitude_estimator_q remove unused and small publish cleanup
2017-06-08 22:03:08 -04:00
Daniel Agar
9b08cf686f
mathlib remove Matrix and Vector virtual destructors
2017-06-08 22:03:08 -04:00
Julien Lecoeur
38fff6546d
Fix python 3 compatibility in px_uploader.py
2017-06-08 07:57:00 +02:00
Dennis Mannhart
e0d81b4c5e
mc_pos_control: if triplet not valid in z ignore it
2017-06-07 16:43:36 +02:00
Dennis Mannhart
2a943f4bd0
mc_pos_control: only set current_setpoint to true if triplet valid
2017-06-07 16:43:36 +02:00