Matthias Grob
2416d0fc63
mc_pos_control: remove unused function declarations
2019-11-04 15:07:06 -05:00
Daniel Agar
7f930f875e
Jenkins store SITL unit test results
2019-11-04 14:04:40 -05:00
Julian Kent
9f46483951
Fix GCC-4.8 bug
2019-11-04 11:11:30 -05:00
Julian Kent
b8b7527d05
Fix off-track tracking in AutoLineSmoothVel ( #13321 )
...
* Use position instead of last setpoint
This calculates the target velocities better taking into account disturbances along
the flight route. Previously entry angles and more were calculated assuming the flight path
originates directly from the direction of the previous waypoint. This corrects this assumption
to instead make the direction come from the vehicle location.
* Allow to specify a final speed given a braking distance.
This is to allow planning to not stop at a waypoint, but instead
to reach the waypoint while maintaining a certain velocity
* Updated src/lib/matrix
* Account for speed at target when determining constraints
* Separate constraints into x/y components
* Use setpoint position, not vehicle position
* Fix whitespace, add documentation
2019-11-04 11:57:12 +01:00
Daniel Agar
07825faeff
Update submodule mavlink v2.0 to latest Mon Nov 4 00:39:49 UTC 2019 ( #13340 )
...
- mavlink v2.0 in PX4/Firmware (64daa96d11 ): https://github.com/mavlink/c_library_v2/commit/086f176b677b719c1f5b4267a10553ffc5c3a974
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/7c0ec61677d378320c2ee33a2e8db842d6fb4bc2
- Changes: https://github.com/mavlink/c_library_v2/compare/086f176b677b719c1f5b4267a10553ffc5c3a974...7c0ec61677d378320c2ee33a2e8db842d6fb4bc2
2019-11-03 20:27:19 -05:00
Daniel Agar
64daa96d11
Jenkins hardware move to nested stages
2019-11-03 16:31:43 -05:00
Jacob Dahl
005f530eed
Removed lidar lite reset after intialization
2019-11-03 20:07:27 +01:00
Daniel Agar
40850f58ee
boards cleanup old nsh_archinitialize
2019-11-03 12:09:48 -05:00
Daniel Agar
ee003370c4
UVify Core board sync with px4/fmu-v4
...
* A few minor changes to keep the UVify Core board in sync with fmu-v4. This will be important when transitioning to the new IMU drivers using SPI DMA (#13103 ).
2019-11-03 11:51:54 -05:00
Daniel Agar
69bec3ee62
defines.h delete obsolete PRIu64, PRId64, and offsetof
2019-11-03 11:50:15 -05:00
Daniel Agar
7bf9700426
NuttX: math.h drop extra math defines carried in PX4 defines.h
2019-11-03 10:30:00 -05:00
TSC21
7eb9118673
Jenkins: update container tags; use px4-dev-base-bionic
2019-11-03 10:29:15 -05:00
Jaeyoung-Lim
1951e416b1
Enable rover attitude setpoint
2019-11-03 09:54:22 -05:00
FlavioTonelli
7984c0c910
px4_work_queue: stack size rounded to page size on posix
2019-11-03 09:04:04 -05:00
Julian Oes
a08abccdd5
mpu9250: fix mag spikes on fmu-v4pro
...
This should fix spikes in the mag data on MPU9250 found inside Drotek
Pixhawk 3Pro.
The problem turned out to be that we are not checking the DRDY bit
before reading the data. We presumably threw away most of the stale data
by doing a duplicate check, however, sometimes we might have run into a
race where the mag data was already being updated in the chip while
still being read.
2019-11-02 12:49:30 -04:00
Daniel Agar
3e189889ef
FlightTasks: shift DEFINE_PARAMETERS to end of access modifiers
...
- DEFINE_PARAMETERS includes a private access modifier, so we need to
keep these at the end to prevent issues when extending a flight task
2019-11-02 12:41:45 -04:00
CAI Dongcai
c804dea914
sitl script: Do NOT kill px4 if debug in IDE
2019-11-02 12:40:36 -04:00
Daniel Agar
7a82df3872
UVify Core and Draco-R updates
...
* Draco-R sensor orientation correction
* LL40LS sensor is not stable during I2C probing. More trials have been implemented.
* px4flow execution has been removed as rc script already running it
* GPS LED script repaired
* Off ICM20608 due to some bug?
* Removed i2c speed adjustment due to SMBUS.
* ms5611 test2 does not exist
* Baud rate has changed.
* Draco-R airframe parameters are updated.
* IFO and Draco parameters are updated
* Draco-R sensor orientation corrected
* Draco-R DSHOT supports
2019-11-02 11:39:41 -04:00
Daniel Agar
a475d71ca9
astyle shift module documentation to bottom of files
...
- Astyle chokes on the module description strings, so for now we can keep them near the bottom of each file.
2019-11-02 10:58:47 -04:00
PX4 BuildBot
f0ac270174
Update submodule ecl to latest Sat Nov 2 13:49:23 UTC 2019
...
- ecl in PX4/Firmware (4658aaf8a0ff90662843558dbc8ea68adcc7284d): https://github.com/PX4/ecl/commit/9b4b24ee71902c6a4289170e8fb1ca3306c1d9c4
- ecl current upstream: https://github.com/PX4/ecl/commit/d76b7042251b6f4f230a34dd38818f7af1bb991d
- Changes: https://github.com/PX4/ecl/compare/9b4b24ee71902c6a4289170e8fb1ca3306c1d9c4...d76b7042251b6f4f230a34dd38818f7af1bb991d
d76b704 2019-11-01 kamilritz - Only inlcude gtest if standalone build
7c1e38d 2019-10-18 kamilritz - Make it build with Firmware
d79199c 2019-10-17 kamilritz - Remove swig and python test related things
d88e242 2019-10-17 kamilritz - pytest are replaced in gtests
71be26e 2019-10-17 kamilritz - Port RingBuffer Test to GTests
cac5f3f 2019-10-17 kamilritz - GTest and Coverage cleanup and Basic EKF GTest
fcea13e 2019-10-14 Martina Rivizzigno - add gtest, temp disable swig
2019-11-02 10:48:45 -04:00
Matthias Grob
cc06009932
pre-commit: fix indentation style
2019-11-02 09:49:46 -04:00
Matthias Grob
5c0692e59e
pre-commit: add error messages for style issues
2019-11-02 09:49:46 -04:00
Matthias Grob
933ff8d480
Remove duplicate EOF trailing newlines
...
because they can screw up git when merging branches.
2019-11-02 09:49:46 -04:00
Julian Oes
5491f9b8f9
px_uploader.py: increase estimated erase time
...
The 9 seconds to erase a board probably still come from the FMU-v1 and
Pixhawks with only 1 MB flash. By now, many targets have 2 MB flash and
take a bit longer to erase. Therefore, we can increase the estimated
time a bit and don't need to resort to the timeout notice.
2019-11-02 09:47:54 -04:00
kamilritz
d76b704225
Only inlcude gtest if standalone build
2019-11-02 09:46:18 -04:00
Travis Bottalico
d657a4ee83
modalai-fc-v1- rotate default orientation 180° yaw
2019-11-02 11:37:30 +00:00
katzfey
ff9744b0d3
Fixed typo for extra_args when HEADLESS mode chosen.
2019-11-02 11:35:53 +00:00
Julian Kent
445f58d484
Fix weird C preprocessor conflicts ( #101 )
2019-11-01 14:23:35 +01:00
Julian Oes
87415d36a2
commander: check center throttle for POSCTL/ALTCTL
...
When flying POSCTL and ALTCTL the throttle stick is usually spring
loaded and therefore centered. Therefore, it makes more sense to check
for above center instead of above low.
2019-11-01 10:36:30 +01:00
Julian Oes
283a57054a
commander: add missing manual modes
...
We prevent arming when in a "manual" mode with throttle high. However,
POSCTL and ALTCTL were missing.
2019-11-01 10:36:30 +01:00
Julian Oes
300bc0a332
commander: fully support MAVLink force arming
...
When a magic number is added as param2 for the MAVLink ARM_DISARM
command not just disarming but also arming should be enforced.
2019-11-01 10:36:30 +01:00
Julian Oes
51ba80f33b
commander: improve msg when trying to arm in air
2019-11-01 10:36:30 +01:00
CUAVcaijie
77a896a0dd
UAVCAN: Fixed CAN battery status
...
* Set battery.voltage_filtered_v and battery.current_filtered_a value
* Fixed battery.remaining error when full_charge_capacity_wh is zero
2019-10-31 22:35:04 -04:00
Daniel Agar
e39e73cea1
delete auav esc35-v1 board
2019-10-31 22:34:05 -04:00
Daniel Agar
129299e25d
Update submodule GPSDrivers to latest Fri Nov 1 00:38:09 UTC 2019 ( #13338 )
...
- GPSDrivers in PX4/Firmware (939b83ad492abe795f5eb9f0c4e4387aaee193a5): https://github.com/PX4/GpsDrivers/commit/69e38ecc846df03f0bb71aa136bcc830dd3316a9
- GPSDrivers current upstream: https://github.com/PX4/GpsDrivers/commit/011959b4dabc6edbc1b22f5e0fa42a62d137e993
- Changes: https://github.com/PX4/GpsDrivers/compare/69e38ecc846df03f0bb71aa136bcc830dd3316a9...011959b4dabc6edbc1b22f5e0fa42a62d137e993
011959b 2019-10-27 Daniel Agar - clang-tidy: fix hicpp-member-init
2019-10-31 21:29:27 -04:00
PX4 BuildBot
6647a9a762
Update submodule jMAVSim to latest Thu Oct 31 12:39:44 UTC 2019
...
- jMAVSim in PX4/Firmware (a6a8877463 ): https://github.com/PX4/jMAVSim/commit/3bd51e67e022ce59644d33ebdf6570c2ea88ddb6
- jMAVSim current upstream: https://github.com/PX4/jMAVSim/commit/eeb23ef68e0491332d3169deaa42c4babc0395b7
- Changes: https://github.com/PX4/jMAVSim/compare/3bd51e67e022ce59644d33ebdf6570c2ea88ddb6...eeb23ef68e0491332d3169deaa42c4babc0395b7
eeb23ef 2019-10-30 bresch - magnetometer: update inclination/declination/local mag field strength of default starting locations. Set magnetometer scale factor to 1 (instead of 2) Set local mag field using DEFAULT_MAG_FIELD instead of an estimated one using inclination/declination and a norm of 1
2019-10-31 14:53:45 -04:00
flbernier
79a814199c
Add rm3100 start for fmu-v5x
2019-10-31 12:09:44 -04:00
flbernier
568a349d60
Add rm3100 start for fmu-v5
2019-10-31 12:09:44 -04:00
flbernier
6f5f9a787e
Add rm3100 start for fmu-v4
2019-10-31 12:09:44 -04:00
flbernier
7a356e1e91
Add rm3100 start for fmu-v3
2019-10-31 12:09:44 -04:00
David Sidrane
a3e2777208
NuttX/nuttx with SDIO fixes ( #13311 )
...
* NuttX/nuttx with SDIO fixes
2019-10-31 16:55:16 +01:00
xdwgood
854220dccd
mc_pos_control.cpp:Fix forced update parameters
2019-10-31 10:15:25 -04:00
Julian Oes
a6a8877463
simulator: don't reset battery when disarmed
...
Before this change, the battery percentage is reset to 100% as soon as
the drone is disarmed again. In my opinion it is more realistic if the
batteries don't magically fill up again but stay low.
2019-10-30 15:45:44 -04:00
Jacob Dahl
66b3a4269b
updated maintainer on 4250_teal
2019-10-30 15:31:04 +00:00
Beat Küng
1dd6b6a505
stm32f3: add libs and stubs for F3 build (thiemar_s2740vc-v1)
2019-10-30 11:48:47 +01:00
Beat Küng
3b7c1b4ff1
src/drivers/boards: move to platforms/nuttx/src/px4/common
2019-10-30 11:48:47 +01:00
Beat Küng
be7ed5e388
src/drivers/boards/common/{stm32,kinetis}: move under platforms/nuttx/src/px4
2019-10-30 11:48:47 +01:00
Beat Küng
58e161347b
board_mcu_version: move to platforms/nuttx/src/px4
2019-10-30 11:48:47 +01:00
Beat Küng
e7519c9fa0
board_identity: move to platforms/nuttx/src
...
And fix a potential alignment issue in board_get_mfguid and
board_get_px4_guid.
2019-10-30 11:48:47 +01:00
Beat Küng
b30171ba8d
board_common.h: move under platforms/common
...
Also move board_determine_hw_info and board_gpio_init under platforms/nuttx
2019-10-30 11:48:47 +01:00