Tanja Baumann
b5ebdb8e41
add system command to get and set system time
...
* add system_time command for all boards
2020-09-26 13:09:01 -04:00
PX4 BuildBot
b5df4f76cc
Update submodule nuttx to latest Sat Sep 26 15:30:26 UTC 2020
...
- nuttx in PX4/Firmware (59f5b841a6646a7ae514ae1139ba18c3f787ceb3): a8b7ca869e
- nuttx current upstream: 0fe69f6cc0
- Changes: a8b7ca869e...0fe69f6cc0
0fe69f6cc0 2020-09-25 David Sidrane - [BACKPORT] stm32f7:serial Bug Fix: Ensure next buffer is processed
2020-09-26 09:47:03 -07:00
Jacob Dahl
a24488328f
Move GPS blending from ekf2 to sensors module
...
- new sensors work item that subscribes to N x sensor_gps and publishes vehicle_gps_position
- blending is now configurable with SENS_GPS_MASK and SENS_GPS_TAU
Co-authored-by: Jacob Crabill <jacob@volans-i.com>
Co-authored-by: Jacob Dahl <dahl.jakejacob@gmail.com>
2020-09-25 23:28:31 -04:00
Daniel Agar
e792c46f20
mavlink: increase stack 2650 -> 2848 bytes ( #15821 )
2020-09-25 21:42:02 -04:00
Daniel Agar
f37d0a85e2
Jenkins: remove remaining SITL tests (MC_avoidance/MC_safe_landing)
...
- MC_avoidance and MC_safe_landing are currently failing intermittently and will be migrated to Github Actions
2020-09-25 12:28:26 -04:00
Daniel Agar
861e06dfd7
mavlink: handle receiving GENERATOR_STATUS
...
- only published (ORB_ID(generator_status)) and logged for now
2020-09-25 11:36:58 -04:00
Daniel Agar
c57a48682e
Tools: ecl analysis handle estimator_innovations/estimator_innovation_variances size inconsistencies
2020-09-25 10:35:01 -04:00
Daniel Agar
2ccf664e95
commander: disarm from safety relax land detector timeout
...
- ensure land detector is updated before safety is checked
2020-09-25 09:41:53 -04:00
jaeyoung
1dbd7df83b
Switch VERBOSE to VERBOSE_SIM
...
This changes the environment variable `VERBOSE` to `VERBOSE_SIM`, to explicitly state that it configures the verbose output of the simulation
2020-09-25 10:42:35 +02:00
Daniel Agar
60252dde08
Jenkins: SITL tests disable ninja build to reduce build parallelism
...
- test slaves have limited memory
2020-09-24 15:56:57 -04:00
Daniel Agar
bbdc57a662
cmake: remove sitl_gazebo build -j2
...
- allow ninja build to automatically determine parallelism
2020-09-24 15:56:57 -04:00
Matthias Grob
bcbc761bf6
Revert "Change defaults for MPC_LAND_ALT"
...
This reverts commit 59bd3e9f6e72db5d1751fc11fe6dccaf1c69b05e.
2020-09-24 19:18:58 +02:00
Daniel Agar
0dc8bb9c86
uORB: increase ORB_MULTI_MAX_INSTANCES 4 -> 10
...
- put more realistic bounds on maximum number of battery instances, gps, etc
2020-09-24 11:01:28 -04:00
Daniel Agar
f04f0c89ca
boards: CUAV Nora/X7pro fix BOARD_DSHOT_MOTOR_ASSIGNMENT
...
- BOARD_DSHOT_MOTOR_ASSIGNMENT isn't needed if there's no remapping
2020-09-24 10:53:54 -04:00
Daniel Agar
762d925d20
boards: cubepilot orange/yellow fix BOARD_DSHOT_MOTOR_ASSIGNMENT
2020-09-24 10:53:54 -04:00
Matthias Grob
5d47a4c9e0
Commander: fix rc override threshold scaling ( #15807 )
...
Improve parameter description for threshold
and lower the threshold a bit.
2020-09-24 14:52:19 +02:00
Daniel Agar
0a607bdc67
boards: CUAV CAN_GPS v1.2 cannode (stm32f412) with UAVCAN bootloader
2020-09-23 14:30:54 -04:00
Daniel Agar
8579b5dd26
uORB: Subscription add copy/move constructor and assignment
2020-09-23 10:04:54 -04:00
Matthias Grob
bf248746ce
mavlink_messages: cast rotation types for assert
2020-09-23 09:08:23 -04:00
Daniel Agar
d5295ef4e1
mavlink: add static asserts to keep MAV_SENSOR_ROTATION in sync with PX4 ROTATION
2020-09-22 11:10:31 -04:00
Daniel Agar
00e955cc3e
rotations: sync rotation enum, SENS_BOARD_ROT, CAL_MAGx_ROT with MAV_SENSOR_ORIENTATION
2020-09-22 11:10:31 -04:00
Daniel Agar
8b26b84fd1
Jenkins: hardware disable holybro durandal bootloader update
...
- this is currently bricking the board
2020-09-21 22:51:11 -04:00
Daniel Agar
43903dcb79
Jenkins: temporarily disable catkin build on ROS workspace
2020-09-21 22:48:33 -04:00
Daniel Agar
d676e65294
logger: log_writer_file increase stack 1170 -> 1472 bytes ( #15765 )
2020-09-21 22:17:31 -04:00
Yashom Dighe
5daca6c2c4
IntrusiveSortedList.hpp: let operator* return a reference
...
So that clang 12 does not complain:
loop variable 'child' is always a copy because the range of type 'List<ModuleParams *>' does not return a reference
Co-authored-by: Yashom Dighe <yashom7@gmail.com>
2020-09-21 16:55:04 -04:00
Daniel Agar
e4a408bc55
cmake nuttx build modify copied nuttx repo .git to point to actual git dir
...
- this fixes builds that contain a px4io and use the Makefile generator rather than Ninja
2020-09-21 12:39:29 -04:00
Daniel Agar
4d97772756
vscode: SITL debug add gazebo world select
2020-09-21 11:56:25 -04:00
Daniel Agar
2728af4264
boards: cubeorange and cubeyellow disable serial console (used for ADSB on new carrier boards)
...
- add console builds (cubepilot_cubeorange_console) for hardware test rack and developers
2020-09-21 11:53:49 -04:00
bresch
1141cfa7c6
ekf2_main: reduce update mag bias minimum learning time to 30s
...
120 seconds of learning time in 3D fusion mode was too long for most normal flights. The learned bias is usually really good after a shorter period and was not used to update the parameters. 30s seems to be a good compromise.
2020-09-21 15:54:24 +02:00
Beat Küng
5ac0c7c799
List.hpp: let operator* return a reference
...
So that clang 12 does not complain:
loop variable 'child' is always a copy because the range of type 'List<ModuleParams *>' does not return a reference
2020-09-21 09:23:21 -04:00
Daniel Agar
09af5e0637
commander: mag calibration use expected WMM sphere radius to reject samples if GPS is available
2020-09-20 12:22:56 -04:00
bazooka joe
727b0cf530
moved posix airframe files to folder, same as in regullar init.d folder
...
and add some debugging info when succeeded/fail to find air-frame file
2020-09-19 21:31:39 -04:00
Daniel Agar
940dc9cca0
cmake NuttX build fix path to git dir
...
- this relative path was incorrect for the px4io when using the Makefile generator and built for inclusion within another build (eg px4_fmu-v5_default)
2020-09-18 21:18:36 -04:00
Daniel Agar
abbd335e4e
uavcannode: use correct PYTHON_EXECUTABLE and support stm32h7
...
- sync CMakeLists.txt with drivers/uavcan
2020-09-18 13:03:07 -04:00
Daniel Agar
d61fd0e4ca
update all px4-dev-base and px4-dev-nuttx container usage uniformly
2020-09-18 13:03:07 -04:00
Daniel Agar
41a2fe5bdf
gitmodules update NuttX branches
2020-09-18 12:10:34 -04:00
Beat Küng
5fdff6a0e4
i2c drivers: add '-k' flag for keep_running directly to BusCLIArguments
2020-09-18 09:45:06 -04:00
Beat Küng
1bf030e8ba
lps33hw: refactor and add -k flag to keep running even if no sensor found
2020-09-18 09:45:06 -04:00
jaeyoung
24adf36097
Add jsbsim multirotor targets to cmake
2020-09-18 10:25:52 +02:00
Beat Küng
f106e6b266
param: add 'param show-for-airframe' command
...
- simplifies creation of an airframe config
- could be done from QGC, but it only knows if a param is non-default from
metadata, which can be incorrect/missing information
- for the list of exceptions we could look at '@category', but we don't have
that info in the build
- there might be some more exceptions to be added
2020-09-18 09:03:29 +02:00
JaeyoungLim
458420f9cb
Add jsbsim bridge to enable jsbsim for px4 SITL on jsbsim ( #15748 )
...
* Add jsbsim bridge to enable jsbsim for px4 SITL/HIL on jsbsim
This is a PX4 HIL/SITL integration into JSBSim. JSBSim is an open source flight dynamics model (http://jsbsim.sourceforge.net/ )
Currently there are three models available which is the rascal, quadrotor_x, hexarotor_x integrated into the bridge.
The simulation can be run with the firmware with the following command for example
```
make px4_sitl jsbsim_rascal
```
The visualization is done flightgear and is done by the bridge sending UDP packets to flightgear. To disable the visualization `HEADLESS=1` when running the make command.
The simulation can be configured through the configuration files under the `config` directory through a xml file. Senor configurations, The xml file name should match the name of the model.
* Update Tools/sitl_run.sh
Co-authored-by: Beat Küng <beat-kueng@gmx.net>
Co-authored-by: Beat Küng <beat-kueng@gmx.net>
2020-09-17 20:32:42 +02:00
David Sidrane
c5f479dac7
uvify_core: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
240dfaa515
spracing_h7extreme: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
c7642288db
px4_fmu-v6x: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
1a51a84130
px4_fmu-v6x: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
b83fdfda37
px4_fmu-v5x: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
733c1b747b
px4_fmu-v5x: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
075690af9d
px4_fmu-v5: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
8e3ba3b0b3
px4_fmu-v5: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
d2e7542e39
px4_fmu-v5: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00