Daniel Agar
297e4dd589
Jenkins hardware uORB top print all once
2020-05-07 09:31:15 +02:00
Daniel Agar
7cf8a7ca64
uORB top readd initial clear screen
2020-05-07 09:31:15 +02:00
Daniel Agar
a2d170d850
uORB: top output improvements
...
- sleep slightly longer than 1s to capture 1 Hz topics
- round msg rate calculation
- add topic size to outpu
- by default only print topics with subscribers
- clear previous output (past cursor)
2020-05-07 09:31:15 +02:00
Daniel Agar
41660c3550
commander: update EKF accel & gyro bias arming limits
...
- these should have been rescaled when the ecl/EKF filter update period changed from 8 ms -> 10 ms
2020-05-07 01:21:47 -04:00
PX4 BuildBot
fa64c3862d
Update submodule matrix to latest Thu May 7 00:38:16 UTC 2020
...
- matrix in PX4/Firmware (b14143229d5aa79e060c2bf65a2eb35f36b7a38c): https://github.com/PX4/Matrix/commit/d613055462bcbeacfd188cbd53de56c1dbc7b94d
- matrix current upstream: https://github.com/PX4/Matrix/commit/2bee0d078cb6b0e6205d17145899ccbb15dbe380
- Changes: https://github.com/PX4/Matrix/compare/d613055462bcbeacfd188cbd53de56c1dbc7b94d...2bee0d078cb6b0e6205d17145899ccbb15dbe380
2bee0d0 2020-05-06 Matthias Grob - Quaternion: refactor multiplication to matrix multiplication style
2020-05-06 22:27:07 -04:00
Daniel Agar
7207301e56
simulator: temperature only updated with baro
2020-05-06 15:34:21 -04:00
Daniel Agar
9963bb6c40
parameters: lock shutdown earlier in param_save_default()
...
- this ensures the parameter file is closed properly before shutdown
2020-05-06 13:53:54 -04:00
Daniel Agar
10b289b43c
commander: only report manual control lost if found once
2020-05-06 13:53:54 -04:00
Daniel Agar
7bb256f4b7
commander: skip continuous preflight check if calibrating
2020-05-06 13:53:54 -04:00
Daniel Agar
6705ac3e3b
commander: reject PREFLIGHT_CALIBRATION and PREFLIGHT_STORAGE if armed or shutting down
2020-05-06 13:53:54 -04:00
Daniel Agar
04113b4d57
commander: changes when USB connected
...
- skip avionics rail voltage check when USB connected
- skip forced reboot on USB disconnect if circuit breaker set
- avionics voltage preflight check don't silently fail if system_power unavailble
- explicitly set supply check circuit breaker (CBRK_SUPPLY_CHK)
2020-05-06 13:53:54 -04:00
Daniel Agar
746a8f5cf9
commander: reboot/shutdown usability fixes
...
- always check with state machine before reboot/shutdown
- respect BOARD_HAS_POWER_CONTROL (shutdown from command, low battery, power button)
- px4_shutdown_request add optional delay and always execute from HPWORK
- px4_shutdown_request split out px4_reboot_request
2020-05-06 13:53:54 -04:00
Silvan Fuhrer
45ebbb895a
Airspeed Selector: do not run it within the first 2s after system boot
...
This is to prevent a wrong (false positive) failure detection of the airspeed
shortly after system boot due to delays in driver and/or estimator startup (seen in SITL).
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2020-05-06 12:46:22 -04:00
Daniel Agar
604258ec71
Jenkins: hardware rack show df, mount, sensor_combined, vehicle_imu per board
2020-05-06 10:51:59 -04:00
Beat Küng
8d722ac74b
bmm150: add self-test
2020-05-06 09:37:56 -04:00
Beat Küng
71b942392d
bmm150: cleanup, slightly increase data accuracy
...
- increased REP_XY and REP_Z: improves accuracy a bit, while increasing
measurement time (still allows to go to 50Hz, previous max was 100Hz)
- avoid extra transfer in measure()
- extend regdump output
- general code style cleanup
2020-05-06 09:37:56 -04:00
Beat Küng
1175c08829
bmm150: more explicit data conversion & reduce to 30Hz
...
- 30Hz is the sensors max update rate in continous mode
(though not in forced mode as we are using it)
- 30Hz allows to increase the quality of the measurements
2020-05-06 09:37:56 -04:00
Daniel Agar
b5e25c2218
sensors: checkFailover() remove verbose failure messages
...
- in certain circumstances this additional logging can actually cause
further timeouts and failure
2020-05-06 09:31:09 -04:00
Daniel Agar
29f4fca7bf
sensors: failover don't print remaining disabled sensors
2020-05-06 09:31:09 -04:00
Daniel Agar
692aaada31
sensors: refresh parameters on sensor init
2020-05-06 09:31:09 -04:00
Daniel Agar
cb180427cd
sensors: inconsistency checks explicitly skip disabled
2020-05-06 09:31:09 -04:00
kamilritz
5bd0df422d
Speed up mavsdk sitl tests
2020-05-06 09:25:03 +02:00
kamilritz
af1a445031
Vision test can be speed up
2020-05-06 09:25:03 +02:00
Daniel Agar
2a2d9e9eba
logger: keep typical log path within a single mavlink message
2020-05-06 08:31:40 +02:00
PX4 BuildBot
495dc7f8d0
Update submodule sitl_gazebo to latest Wed May 6 00:44:20 UTC 2020
...
- sitl_gazebo in PX4/Firmware (ca998c1822 ): https://github.com/PX4/sitl_gazebo/commit/d76ac7f9f9813fd52acf0b9f344edbf72d3b4406
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/2736a9134d7fed0cae7b7836d4370f9a4dfef439
- Changes: https://github.com/PX4/sitl_gazebo/compare/d76ac7f9f9813fd52acf0b9f344edbf72d3b4406...2736a9134d7fed0cae7b7836d4370f9a4dfef439
2736a91 2020-05-05 JaeyoungLim - Add aion_robitcs_r1_rover model (#394 )
2020-05-05 23:31:55 -04:00
PX4 BuildBot
ce0e531d45
Update submodule ecl to latest Wed May 6 00:44:34 UTC 2020
...
- ecl in PX4/Firmware (476a51f32c96fe886edb70f7c7e0bf15f7ec67ad): https://github.com/PX4/ecl/commit/cda74868976d0f806d821960e71f58d0b2c40051
- ecl current upstream: https://github.com/PX4/ecl/commit/12835b999e756ef631111c4fdd0ac1c72d68694d
- Changes: https://github.com/PX4/ecl/compare/cda74868976d0f806d821960e71f58d0b2c40051...12835b999e756ef631111c4fdd0ac1c72d68694d
12835b9 2020-05-01 Daniel Agar - cmake update CXX standard 11 -> 14
2020-05-05 23:31:23 -04:00
Daniel Agar
ca998c1822
IMU: parameterize IMU integration time (IMU_INTEG_RATE)
...
- default integration rate now 200 Hz (5000 us interval)
- set update rate for all drivers and simulators using PX4Accelerometer/PX4Gyroscope
2020-05-05 20:34:09 -04:00
Daniel Agar
682aa700bb
px4_work_queue: increase wq:attitude_ctrl stack
2020-05-05 12:53:18 -04:00
JaeyoungLim
b10cbd2892
Fix shibang of r1_rover airframe config
...
The shibang was missing in the previous commit where this file was added
2020-05-05 10:01:26 -04:00
kritz
33dc0fd146
Add vision velocity integration test ( #14818 )
2020-05-05 11:14:30 +02:00
JaeyoungLim
cae28cd59a
Add aion robotics r1 rover sitl target ( #14652 )
...
This adds a sitl target and aiframe configs for the r1_rover, which is a differential rover example for SITL rover. The model is based on the aion robotics r1 rover
2020-05-05 11:07:02 +02:00
Matthias Grob
cdf37ca557
PositionControl: deconflict hover thrust estimator, acceleration control
...
- Avoid constantly adjusting the velocity gains with the HTE
- Make sure the hover thrust integral update doesn't break
even though its unit is acceleration and not unit thrust anymore
We need to convert the velocity gains to not contain/depend on the
hover thrust. In horizontal direction it doesn't make sense to scale
them with the hover thrust and in vertical direction the adjustments are
already done in the acceleration to collective thrust conversion.
2020-05-04 22:17:56 +02:00
Daniel Agar
466b5db36f
uORB::Publication improvements and cleanup ( #14784 )
...
- create common uORB::PublicationBase
- uORB::PublicationQueued types are now type aliases
- ORB_PRIO use enum type everywhere to avoid accidental misuse
- PX4Accelerometer/PX4Gyroscope/etc driver libs explicitly advertise on construction, unadvertise on destruction. This is a workaround for any potential issues that might appear when accel/gyro cdev and uORB indexing doesn't align.
2020-05-04 11:09:30 -04:00
Matthias Grob
8e2c52a31a
mc_pos_control: suppress vertical acceleration feed-forward during takeoff ramp
...
Because the takeoff ramp is a vertical velocity limit ramp for the
nice user experience but the acceleration feed-forward can
add on top of the output and depending on trajectory generation
result in unwanted thrust changes during the ramp.
2020-05-04 16:10:36 +02:00
Beat Küng
bcce75e691
icm20948+mpu9250: add support to configure the high bus speed
2020-05-04 09:49:23 +02:00
rfu
0becd29b46
fix mpu9250: wrong buffer size
2020-05-04 09:49:23 +02:00
rfu
f8db9c4f1b
fix mpu6000: wrong buffer size
2020-05-04 09:49:23 +02:00
rfu
adb032d2e5
drivers: up_udelay -> px4_usleep
2020-05-04 09:49:23 +02:00
rfu
8787780de4
some printf format and conversion fixes
2020-05-04 09:49:23 +02:00
rfu
90c3819df5
fxos8701cq + fxas21002c: add support for I2C
2020-05-04 09:49:23 +02:00
David Jablonski
09180b9d4a
mavlink: increment cmd confirmation field ( #14808 )
2020-05-04 09:21:01 +02:00
kamilritz
960ad0693f
fix format
2020-05-03 18:25:00 +01:00
kamilritz
9137813472
Received quaternion represents body to world
2020-05-03 18:25:00 +01:00
JaeyoungLim
4282832222
Update flightgear bridge ( #14816 )
...
Fix vehicle spawning issue with updating the submodule paths
2020-05-03 17:09:22 +02:00
Daniel Agar
6dfe12d122
Revert "drivers/pwm_out: cleanup for multi-platform use" ( #14812 )
...
This reverts commit 0c8dcf94bc .
2020-05-02 23:42:51 -04:00
JaeyoungLim
cd59f95565
Add additional flap channel in mixer
...
Since sitl gazebo is unable to control to joints from a single channel, an additional mixer is defined
2020-05-01 21:01:33 -04:00
baumanta
545b8118a8
change solo mag rotation to new convention
2020-05-01 21:00:55 -04:00
baumanta
200d905b63
delete ROTATION_YAW_293_PITCH_68_ROLL_90 as usage implies it is the same as ROTATION_ROLL_90_PITCH_68_YAW_293
2020-05-01 21:00:55 -04:00
baumanta
38a6304d53
cleanup unneccessary complicated formulations
2020-05-01 21:00:55 -04:00
baumanta
c758da2391
add test for rotations, add new rotations, fix old rotations
2020-05-01 21:00:55 -04:00