21477 Commits

Author SHA1 Message Date
José Roberto de Souza
aa8fa2ae05 drivers: AeroFC: Add more leds
Also change the initial state of the leds to off.
2017-02-17 09:13:33 +01:00
José Roberto de Souza
83a387a553 drivers: Led: Do not initialize twice 2017-02-17 09:13:33 +01:00
Lorenz Meier
d66d7a4932 Navigator: Fix code style 2017-02-17 09:13:13 +01:00
Lorenz Meier
798a7ed8cd Commander: Fall back to GPS enabled modes once GPS becomes available 2017-02-17 09:13:13 +01:00
Lorenz Meier
070a73ad63 Commander: Switch into right mode in various corner conditions
* If you move in LAND, AUTO or HOLD the sticks the system will give control back to the pilot
  * If you do not connect any RC the system will default to HOLD and will allow you tablet control
  * If you gain position lock for the first time the system will re-evaluate the mode switch (so if you dropped down to alt hold it will now go into position)
  * If the system breaches the Geofence it will now always drop back to POSCTRL if the sticks are moved
2017-02-17 09:13:13 +01:00
Lorenz Meier
c8fb21e73e Navigator: Enforce a minimum altitude for RTL 2017-02-17 09:13:13 +01:00
Paul Riseborough
72633ad4c8 events: update documentation for polyfit algorithm 2017-02-16 22:17:47 +01:00
Lorenz Meier
7bd8514697 PWM out sim: Do not obey hardware lockdown flag 2017-02-16 12:34:51 +01:00
Kabir Mohammed
ea5caf258f mavlink : fix vision debug stream attitude update 2017-02-16 09:53:15 +01:00
Lucas De Marchi
47411b052c aerofc: test 115200 and 460800 baud rates
We still want to be able to program the flight stack if the user changes
the baudrate of that UART.
2017-02-16 09:35:23 +01:00
Lucas De Marchi
f9795ccbab px_uploader: support multiple baud rates
We may need to change the baud rate from one version to the other.
Allowing the script to try multiple baud rates makes the transition a
little bit less painful.

This also fixes a bug in which it would go the next port before trying
to identify the board after asking it to reboot.
2017-02-16 09:35:23 +01:00
Lucas De Marchi
6121119631 ROMFS: allow to use 460800 baudrate for onboard mode 2017-02-16 09:35:23 +01:00
Siddharth Bharat Purohit
ab465744f1 temp_cal: add math explanation for polynomil fit algo 2017-02-16 09:34:19 +01:00
yaoling
0e34de08fb Update send_event.cpp
do same as command module
2017-02-16 09:33:16 +01:00
Daniel Agar
9bc5da6d2d update matrix and fix test_matrix (#6524) 2017-02-16 00:31:06 -05:00
aivian
7a77e27a79 fixed wing offboard attitude setpoint fix (#6112) 2017-02-15 23:51:50 -05:00
Daniel Agar
a84dc2e3d2 clang-tidy disable cert-msc50-cpp rand() check 2017-02-15 22:29:24 -05:00
Daniel Agar
fd11c3f7b1 clang-tidy disable cert-msc30-c rand() check 2017-02-15 22:29:24 -05:00
Daniel Agar
1bbca3bf1d test_dataman add to SITL with minor updates 2017-02-15 22:29:24 -05:00
Julian Oes
9369262e63 navigator: allow more mission items
Since using more than 256 mission items has been tested and fixed, the
limit can now be raised to more than 256 (but smaller than UINT16_MAX).

Since the whole file is allocated in advance on NuttX, the limit there
is (arbitrarily) set to 2000. For POSIX archs such as SITL, we don't
really need to constrain ourselves any longer.
2017-02-15 22:29:24 -05:00
Julian Oes
8c1e85a65f dataman: don't wrap around at 256
The dataman started overwriting contents after 256 items because the
item index were only uint8_t. This fix allows for more than 256
waypoints.
2017-02-15 22:29:24 -05:00
Lorenz Meier
081c40c6fa Commander: Fix level cal command 2017-02-15 22:16:20 +01:00
Kabir Mohammed
e63747ec2f lpe : changes to allow hybrid GPS-denied navigation 2017-02-15 21:48:33 +01:00
Kabir Mohammed
0f91378eeb lpe : use vision timestamps to compute measurement delay 2017-02-15 21:48:33 +01:00
Kabir Mohammed
85df00d2da lpe : use per-measurement variance for vision 2017-02-15 21:48:33 +01:00
Kabir Mohammed
48e7b94162 mavlink : track time offset faster 2017-02-15 21:48:33 +01:00
Kabir Mohammed
d831c262d0 mavlink : fix code style 2017-02-15 21:48:33 +01:00
Kabir Mohammed
444005f290 logger : Log new vision topics 2017-02-15 21:48:33 +01:00
Kabir Mohammed
3653d64b31 att_ekf : move to new vision topics 2017-02-15 21:48:33 +01:00
Kabir Mohammed
c65b8fffd3 sdlog2 : log new vision topic 2017-02-15 21:48:33 +01:00
Kabir Mohammed
a158d7f124 att_q : move to new vision attitude topic 2017-02-15 21:48:33 +01:00
Kabir Mohammed
bdcc626f29 mavlink : correct stream name for vision message 2017-02-15 21:48:33 +01:00
Kabir Mohammed
f43ee3a0f5 mavlink : use new vision estimate topic and fix stream name 2017-02-15 21:48:33 +01:00
Kabir Mohammed
294663854d inav : move to new vision topic 2017-02-15 21:48:33 +01:00
Kabir Mohammed
7236bafee1 ekf2 : move to new vision topic 2017-02-15 21:48:33 +01:00
Kabir Mohammed
8eaddeee0a lpe : move to new vision topic 2017-02-15 21:48:33 +01:00
Kabir Mohammed
f8775306d3 Remove deprecated vision_position_estimate topic 2017-02-15 21:48:33 +01:00
Kabir Mohammed
b643c94f0a mavlink_receiver : Switch VISION_POSITION_ESTIMATE to new topics 2017-02-15 21:47:51 +01:00
Kabir Mohammed
569251dc2e mavlink_receiver : Add external estimator interface 2017-02-15 21:47:51 +01:00
Sander Smeets
75f6b4eb0c Readme changes 2017-02-15 21:15:27 +01:00
José Roberto de Souza
b7c53342dc ROMFS: AeroFC: Start dataman with RAM backend
AeroFC don't have a SD Card or any other storage device, so changing
dataman backend to work over RAM to be able to load missions.
2017-02-15 21:13:13 +01:00
Roman
8c9f27bb8a land detector (mc): takeoff throttle should be the same for all manual,
altitude controlled modes

Signed-off-by: Roman <bapstroman@gmail.com>
2017-02-15 15:41:44 +01:00
Phillip Kocmoud
ccfecd4ad2 Add support for the ICM-20602 to the Pixracer FMUv4 (#6577)
The current ICM-20608 is nearing EOL.

I have tested on both ICM-20608 and ICM-20602 based Pixracers.
2017-02-14 06:37:04 -10:00
Daniel Agar
8c837e72be fixedwing_control example fix fds init (#6575) 2017-02-13 22:23:16 -05:00
Julian Oes
4ee8c43ea2 mavlink: send attitude quaternion in onboard mode 2017-02-13 21:38:10 +01:00
David Sidrane
7e425c8ff2 Disable bl_upload command on non F4 tartgets
Upstream nuttx needs to have the flash programing support added.
2017-02-13 21:37:38 +01:00
David Sidrane
94450eb43a Use PX4_FLASH_BASE from micro HAL 2017-02-13 21:37:38 +01:00
David Sidrane
a2fa199a26 Define PX4_FLASH_BASE in micro HAL 2017-02-13 21:37:38 +01:00
Lorenz Meier
dfd02d8372 Plane interface: Fix motor scaling in simulator 2017-02-13 21:33:01 +01:00
Lorenz Meier
7f4601a50f Plane: Fix motor scaling 2017-02-13 21:32:46 +01:00