Commit Graph

35735 Commits

Author SHA1 Message Date
wangpeng
cdb95e5690 添加pacecat_lds50c驱动,未完成 2022-05-04 09:54:57 +08:00
wangpeng
e932546096 添加了4101新的机型,aux1和aux2输出rp云台的两路信号 2022-05-02 10:34:07 +08:00
wangpeng
e84b53d4ee 对地使用tfmini 2022-03-16 11:38:53 +08:00
wangpeng
f3751ba89e 将纳雷雷达朝下安装时,只使用中间扇区的高度值。 2022-03-07 10:27:05 +08:00
wangpeng
630494791b 添加了一些FlightTaskManualAltitude的注释 2022-03-06 23:24:26 +08:00
wangpeng
09a0edc5c3 修改一个小bug,nanoradar_mr72设置orientation的
时候,up、down单独考虑
2022-03-06 17:15:30 +08:00
wangpeng
ae2c2f55da 调整了纳雷雷达安装方向,将其传感器3段输出取最小值变为单点输出 2022-02-27 23:10:10 +08:00
wangpeng
bc3eae7a64 纳雷雷达驱动完成.低空2m以下不使用雷达数据.雷达数据的滤波写了但有问题,需要修改,见src/drivers/distance_sensor/nanoradar_mr72/nanoradar_mr72.cpp
修改一点数据错误
2022-01-19 09:16:09 +08:00
wangpeng
b68243380e 添加纳雷-nanoradar-MR72毫米波雷达驱动 2021-12-08 09:09:30 +08:00
wangpeng
30c7c5afb9 防撞功能在position模式下只有当MPC_POS_MODE=0才发挥作用,也就是FlightTaskManualPosition 2021-11-22 14:19:02 +08:00
wangpeng
b1d194c539 试飞避障依然不成功 2021-11-17 13:49:56 +08:00
wangpeng
cbd8990660 添加ulanding patch 驱动,第一次编译成功 2021-10-26 15:20:54 +08:00
Daniel Agar
2e8918da66 boards: cubepilot_cubeorange only start ADSB mavlink if console not present
- cubepilot_cubeorange_test has the console enabled (used for test rack and bench debugging)
2021-09-06 11:57:42 -04:00
Daniel Agar
5def17b1af Jenkins: hardware remove boards that aren't present 2021-09-06 10:28:52 -04:00
Daniel Agar
1daf0654ff boards: px4_fmu-v5_opitmized disable unused modules to save flash 2021-09-06 10:28:17 -04:00
Daniel Agar
6e3a2314cb boards: px4_fmu-v2_default disable systemcmds/top to save flash 2021-09-06 10:26:49 -04:00
Sander Swart
6121b287f1 Removed TEL3 from cube orange default.cmake as it is used for the built in ADS-B receiver 2021-09-06 10:24:43 -04:00
Sander Swart
c0980bd273 Added new line at the end of the file as per code style 2021-09-06 10:24:38 -04:00
Sander Swart
42d14e6072 Enable Cube Orange built in ADS-B receiver by default 2021-09-06 10:24:34 -04:00
Daniel Agar
ba0b512f0d boards: Holybro H7 boards clear MPU early in board init
- needed if the bootloader configures the memory protection unit (MPU)
2021-08-31 18:01:06 -04:00
Daniel Agar
7476a2953e boards: CUAV H7 boards clear MPU early in board init
- needed if the bootloader configures the memory protection unit (MPU)
2021-08-31 17:59:34 -04:00
Lorenz Meier
15e6ca9e1e MRO: Set up MPU after boot to app
This is needed in case the bootloader configured the MPU, which could interfere with the app as the bootloader memory map / configuration is different.
2021-08-31 17:57:23 -04:00
Daniel Agar
b9e7063237 boards: cube orange fully clear any existing MPU configuration as soon as possible 2021-08-31 17:56:23 -04:00
Daniel Agar
0a6045367f px4io_serial: ensure TX DMA is stopped if exiting early on stream error
- otherwise the next retry can happen quickly enough that dma setup
hangs waiting for the stream
2021-08-31 17:56:00 -04:00
Daniel Agar
3f88a6d0bf boards: cubeorange/cubeyellow use amber LED for armed state 2021-08-29 21:31:21 -04:00
Jukka Laitinen
d1c09ec358 Fix memory corruption when work queue is being deleted
When the last WorkItem is deleted, it is removed from a work queue and the
queue is being stopped. But, the queue itself might get deleted in the middle,
in a higher priority thread than where the WorkItem deletion was performed from

If the WorkQueue::Detach accesses the member variables after this, there is memory
corruption

This happens in particular when launching i2c or spi devices in
I2CSPIDriverBase::module_start:

- The "initializer" is deleted when the instance is not found and the iterator
  while loop continues.
- The workqueue is deleted in the middle of "initializer" deletion when the
  WorkQueueRunner returns.

This prevents deletion of the WorkQueue before the Detach has been finished,
in the specific case that the ::Detach triggers the deletion

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-29 21:31:12 -04:00
Daniel Agar
ca744626cd boards: io-v2 increase idle thread stack 280 -> 316 bytes 2021-08-26 23:57:10 -04:00
Daniel Agar
ea577f15b9 px4iofirmware: never directly touch mixer from isr 2021-08-26 23:57:10 -04:00
Daniel Agar
d9f3c820ab sensors: always start baro/GPS/mag aggregators if SYS_HAS_* set
- add new SYS_HAS_GPS parameter
2021-08-23 14:14:27 -04:00
David Sidrane
8e57a62c9d rgbled_ncp5623c:Add comand line mapping of PWM to color 2021-08-21 11:52:15 -04:00
David Sidrane
b961f6a1e1 rgbled_ncp5623c:Needs 2 retries 2021-08-21 11:52:15 -04:00
David Sidrane
09140c01bf rgbled_ncp5623c:Can change address, return actual 2021-08-21 11:52:15 -04:00
David Sidrane
822ae46235 rgbled_ncp5623c:Document support for ncp5623[c|b] parts 2021-08-21 11:52:15 -04:00
David Sidrane
f70381dfdd i2c_spi_buses:Support devices that may change address 2021-08-21 11:52:15 -04:00
David Sidrane
84066f574d vcm1193l:Bug Fix set default address 2021-08-21 11:52:15 -04:00
David Sidrane
c8426da50d px4_fmu-v5x:Newer HW Start BARRO on bus 2 2021-08-21 11:52:15 -04:00
David Sidrane
6bab917a3d px4_fmu-v6x:Use HB 10pin GPS rotation 2021-08-21 11:52:15 -04:00
David Sidrane
531301e176 px4_fmu-v5x:Use HB 10pin GPS rotation 2021-08-21 11:52:15 -04:00
David Sidrane
04f4157828 rcS:Scope netman to all 5X and 6X 2021-08-21 11:52:15 -04:00
Daniel Agar
c5f82ed838 ekf2: fix sensor_combined last_generation 2021-08-12 10:03:25 -04:00
Daniel Agar
99501b4c38 flight_mode_manager: ManualAcceleration support weathervane yaw handler
- fixes https://github.com/PX4/PX4-Autopilot/issues/17911
2021-08-12 10:02:13 -04:00
Daniel Agar
9e4a04f58a mavlink: receiver fix HIL_STATE_QUATERNION map projection init
- fixes https://github.com/PX4/PX4-Autopilot/issues/17977
2021-08-02 09:59:41 -04:00
Daniel Agar
1682fd5671 boards: px4_fmu-v2 disable load_mon module to save flash 2021-08-01 13:51:11 -04:00
bresch
a8572f0fdd ECL: update to include latest bugfixes
- fix yaw spin on ground after large mag field change
- change covariance prediction for better stability
- fix yaw alignment in air for mag-less mode
- improve tilt alignment for non-static applications
- add momentum drag model
2021-08-01 12:54:15 -04:00
Daniel Agar
a299a3bbd0 sensors: populate sensors_status_imu healthy flags even in multi-EKF mode 2021-08-01 12:54:08 -04:00
Julian Oes
349dd63072 mavlink: fix offboard velocity input
This reverts the behavior for offboard velocity setpoint.

Back in v1.11, the velocity input in NED_BODY was assumed to be in the
world frame but rotated by yaw to the vehicle frame. With the current
state the frame is completely fixed to the body. While this might be
technically correct, it doesn't seem much intuitive for multicopters
and breaks the MAVSDK offboard velocity API.

So as an example, with a velocity setpoint of 5 m/s forward, the drone
would in
- v1.11: fly forward with 5 m/s
- v1.12: start to fly forward by pitching down but then descend rapidly
  as the forward velocity would translate to a setpoint in Z into the
  ground as it is pitched down.

This commit restores the behavior to what we had previously.
2021-07-22 22:09:56 -04:00
David Sidrane
6b51c6390a Revert "nxp_fmuk66-v3:DMA Poll not needed"
This reverts commit 962f02220a.
2021-07-22 22:08:18 -04:00
David Sidrane
4f7909ee8e Revert "nxp_fmuk66-e:DMA Poll not needed"
This reverts commit 39d684958d.
2021-07-22 22:08:11 -04:00
David Sidrane
cbb48f9af3 NuttX with Kinetis SerialPoll back in 2021-07-22 22:08:04 -04:00
Daniel Agar
9524e8ec03 drivers/px4io: mirror PWM_MAIN_OUT support 2021-07-05 21:23:04 -04:00