mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
DriverFramework purge
The bulk of this change was tightly coupled and needed to be deleted in one pass. Some of the smaller changes were things that broke as a result of the initial purge and subsequently fixed by further eradicating unnecessary platform differences. Finally, I deleted any dead code I came across in the related files I touched while going through everything.
- DriverFramework (src/lib/DriverFramework submodule) completely removed
- added dspal submodule in qurt platform (was brought in via DriverFramework)
- all df wrapper drivers removed
- all boards using df wrapper drivers updated to use in tree equivalents
- unused empty arch/board.h on posix and qurt removed
- unused IOCTLs removed (pub block, priv, etc)
- Integrator delete methods only used from df wrapper drivers
- commander: sensor calibration use "NuttX version" everywhere for now
- sensors: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
- battery_status: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
- cdev cleanup conflicting typedefs and names with actual OS (pollevent_t, etc)
- load_mon and top remove from linux boards (unused)
- delete unused PX4_MAIN_FUNCTION
- delete unused getreg32 macro
- delete unused SIOCDEVPRIVATE define
- named each platform tasks consistently
- posix list_devices and list_topics removed (list_files now shows all virtual files)
This commit is contained in:
@@ -16,15 +16,9 @@ param set MC_ROLLRATE_I 0.0
|
||||
param set MC_ROLLRATE_D 0.001
|
||||
param set ATT_W_MAG 0.00
|
||||
param set SENS_BOARD_ROT 0
|
||||
param set RC_RECEIVER_TYPE 1
|
||||
param set UART_ESC_MODEL 2
|
||||
param set UART_ESC_BAUD 250000
|
||||
param set UART_ESC_MOTOR1 4
|
||||
param set UART_ESC_MOTOR2 2
|
||||
param set UART_ESC_MOTOR3 1
|
||||
param set UART_ESC_MOTOR4 3
|
||||
|
||||
sleep 1
|
||||
df_mpu9250_wrapper start
|
||||
mpu9250 start
|
||||
bmp280 start
|
||||
gps start -d /dev/tty-4
|
||||
rc_update start
|
||||
@@ -38,7 +32,5 @@ mc_rate_control start
|
||||
uart_esc start -D /dev/tty-2
|
||||
spektrum_rc start -d /dev/tty-1
|
||||
sleep 1
|
||||
list_devices
|
||||
list_files
|
||||
list_tasks
|
||||
list_topics
|
||||
|
||||
Reference in New Issue
Block a user