Florian Achermann
77bd43ead3
Fix compilation error
2021-07-27 10:46:12 +02:00
Daniel Agar
a65a591638
adis16448: add additional delay after transfer in case of back to back transcations
...
- add verified register read method
2021-07-27 10:07:23 +02:00
Jaeyoung-Lim
4a590c5fd6
Specify orientaiton of ADIS16448 IMU for EZG from autostart script
...
Specify orientaiton of ADIS16448 IMU for EZG from autostart script
2021-07-06 16:31:39 +02:00
JaeyoungLim
0f4eaec6c1
Merge pull request #17 from ethz-asl/feature/add_hall_effect_sensor
...
[WIP!!!] Feature/add hall effect sensor
2021-06-24 13:27:02 +02:00
Jaeyoung-Lim
389a096ace
Add SENSOR_AIRFLOW_ANGLES mavlink stream to config mode
2021-06-24 13:15:21 +02:00
Jaeyoung-Lim
81b860c37e
Add SENSOR_AIRFLOW_ANGLES mavlink stream
2021-06-24 13:10:09 +02:00
Jaeyoung-Lim
7fcad68c9d
Remove probe override for si7210 driver
...
This commit removes the probe override for the si7210 driver, which seems to help with improving reliability of driver startup
2021-06-24 10:22:10 +02:00
Jaeyoung-Lim
66ad2fd586
Address review comments
...
Remove crc
2021-06-21 10:34:22 +02:00
Florian Achermann
4f87cb0b76
Fix format
2021-06-21 08:47:45 +02:00
Florian Achermann
69aaa9bad2
Fix getting the aoa and slip hall id
2021-06-21 08:47:45 +02:00
Florian Achermann
111321082f
Add hall_poll to the main loop in the sensors module
2021-06-21 08:47:45 +02:00
Florian Achermann
736514dc98
Implement handling the hall measurements in the sensors module
2021-06-21 08:47:45 +02:00
Florian Achermann
e9772b10ac
Implement the SENSOR_AIRFLOW_ANGLES mavlink stream
2021-06-21 08:47:45 +02:00
Florian Achermann
514cb8e4fa
Switch to the ASLUAV dialect
2021-06-21 08:47:45 +02:00
Florian Achermann
ba72e93ffb
Fill in the instance of the hall sensor msg with the i2c address
2021-06-21 08:47:45 +02:00
Daniel Agar
54cc96f66a
drivers ADIS16448 misc fixes
...
- increase SPI stall time slightly
- tolerate mag self test failure (could be due to local magnetic field)
- register configuration compatible with older ADIS16448AMLZ
- don't publish duplicate accel/gyro
- only allocate CRC perf counter if using CRC
2021-05-27 12:19:27 +02:00
Jaeyoung-Lim
e62a569f63
Port si7210 drivers to new driver framework
...
This commit ports the si7210 hall sensor to the new driver framework
2021-05-07 11:17:08 +02:00
Amir Melzer
b3ce86f45f
update the sensors list with the hall sensor dev
2021-04-14 16:15:21 +02:00
Amir Melzer
2e73460ad0
add hall sensor drv
2021-04-14 16:14:03 +02:00
Amir Melzer
a5c61eeb4f
add si7210 driver files
2021-04-14 16:12:50 +02:00
Amir Melzer
f4551faa6b
add si7210 make file
2021-04-14 16:07:18 +02:00
Daniel Agar
c6a0161047
commander: COM_PREARM_MODE disable by default
2021-04-03 20:15:05 +02:00
Jaeyoung-Lim
01083cecfc
Enable adis16448 with parameter
...
This commit adds enabling adis16448 with a parameter
2021-04-03 13:58:25 -04:00
Nidhish Raj
01d8c3da3d
vtol_att_control: occasional tailsitter forward transition failure issue solved
...
Tailsitter VTOLs very occasionally gets stuck with zero roll and pitch angle in multicopter mode after
a forward transition command is issued.
This very rare behavior is triggered by the following events:
1> a forward transition is triggered either in auto or manual mode.
2> in the vtol_att_control main loop, if multicopter and fixed wing attitude setpoints are not updated, transition state is not updated
3> the commander changes the vehicle status to transition mode.
4> multicopter pos controller initiated Transition flight task. This results in zero roll and pitch setpoint due to zero acceleration setpoint
5> now vtol_att_control executes and updates the transition state. Specifically, _q_trans_start and _q_trans_sp are set with zero roll and pitch sp
6> tilt is evaluated to be NaN, despite _q_trans_sp being normalized. This happens for 25% of all yaw angles when using float datatype. This can be
verified using the matrix library
7> once tilt is evaluated to be NaN, _q_trans_sp is never updated again and is stuck in this state for ever.
This has been fixed by constraining the cos(tilt) within +1 to -1 range
Further, _q_trans_start and _q_trans_sp are immedietly initialized after a transition event is triggered.
2021-04-03 19:19:48 +02:00
Daniel Agar
b30f3917d3
sensors/vehicle_imu: periodically send mavlink critical message if clipping
2021-04-03 10:32:16 -04:00
Daniel Agar
588883f663
uavcan: quiet server output
...
- remove verbose UAVCAN command bridge prefix
- disable many normal PX4_INFO messages entirely (kept as PX4_DEBUG)
- properly exit when arming (silently)
2021-04-03 10:07:50 -04:00
PX4 BuildBot
9a02141d0d
Update submodule ecl to latest Fri Apr 2 12:39:10 UTC 2021
...
- ecl in PX4/Firmware (744cd1182e183b62a0ab4b2f3e4e3c4aa6f5c15f): https://github.com/PX4/PX4-ECL/commit/6f2dec726adeedcb53aad9a77a8fcdfc8f7b3054
- ecl current upstream: https://github.com/PX4/PX4-ECL/commit/5d34d7a24ef72b826c320a3259ee0ec68b1936df
- Changes: https://github.com/PX4/PX4-ECL/compare/6f2dec726adeedcb53aad9a77a8fcdfc8f7b3054...5d34d7a24ef72b826c320a3259ee0ec68b1936df
5d34d7a 2021-03-31 Eike - Height source vision: Fallback to rangefinder if available (#994 )
da06f25 2021-03-28 PX4BuildBot - [AUTO COMMIT] update change indication
85fcf93 2021-03-28 PX4 BuildBot - Update geo_lookup WMM to latest Sun Mar 28 11:48:06 UTC 2021
2021-04-02 11:46:19 -04:00
Lorenz Meier
1ec8ce58c7
Commander: Increase auto-disarm timeout to 25 seconds after arming
2021-04-02 09:37:40 +02:00
Lorenz Meier
82f319a84a
Commander: Add support for pairing via commandline
2021-04-01 09:56:09 -04:00
Daniel Agar
9171a84324
IMU_DGYRO_CUTOFF increase default 10 -> 20 Hz
2021-04-01 08:30:09 -04:00
Jaeyoung-Lim
19c4fdd7c5
Add support for 3D body thrust setpoint for offboard attitude control
...
This adds support for filling up the 3D thrust setpoint using SET_ATTITUDE_TARGET message
Update mavlink submodule
2021-04-01 13:58:04 +02:00
Nico van Duijn
8d3335906a
v5x: use low bandwidth mavlink mode
...
This changes the default mavlink message set from onboard to
onboard_low_bandwidth, which drastically reduces the bandwidth required to get a
usable connection.
2021-04-01 07:28:43 +02:00
Daniel Agar
846695f986
ekf2: replace vehicle_imu lost error message with perf count
2021-03-31 22:07:32 -04:00
Daniel Agar
00f86eb895
drivers/uavcan: silence redundant exit message
2021-03-31 22:01:35 -04:00
Chris Lovett
292a66ce41
Add support for simulators running on a different host than the PX4 instance
2021-03-31 20:56:38 -04:00
RomanBapst
b66ae5f2d4
tecs: use raw inertial acceleration for true airspeed complementary filter
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2021-03-31 20:12:40 -04:00
Beat Küng
9dd6bef7f9
autostart scripts: remove SYS_PARAM_VER
...
With the airframe defaults there's no use for that anymore
2021-03-31 20:12:05 -04:00
Beat Küng
aec63eacbe
mavlink_receiver: avoid spamming 'unsupported component id'
2021-03-31 20:10:15 -04:00
Matthias Grob
5f4802a239
SlewRate: add back dummy file for mac build
2021-03-31 15:50:16 +02:00
Matthias Grob
8fec39ad39
MulticopterPositionControl: readd takeoff ramp fix
...
added in #14821 and accidentally removed in #14665
2021-03-31 15:21:42 +02:00
TSC21
7abce87ae4
commander: add COM_OBC_LOSS_T for setting onboard computer loss time-out
2021-03-31 13:25:01 +02:00
Matthias Grob
c06b5a1de9
MulticopterPositionControl: improve tilt limit readability and scope
...
according to @bresch's review comment.
2021-03-31 10:03:08 +02:00
Matthias Grob
94469d84ae
MulticopterPositionControl: fix twitch on tilt limit relaxation
2021-03-31 10:03:08 +02:00
Matthias Grob
34a5948692
Adapt SlewRate includes to convention
2021-03-31 10:03:08 +02:00
Matthias Grob
c16b937221
Takeoff: switch internally to use a ramp progress
2021-03-31 10:03:08 +02:00
Matthias Grob
8ca76feaba
Takeoff: remove updateRamp() early return
2021-03-31 10:03:08 +02:00
Matthias Grob
b7600f4e4d
Commander: check_posvel_validity use return value
2021-03-30 22:33:01 -04:00
Matthias Grob
29e1e0905c
Commander: switch main_state functions to pass by reference
2021-03-30 22:33:01 -04:00
Matthias Grob
531de5c588
Commander: switch all state_machine_helper functions to pass by reference
2021-03-30 22:33:01 -04:00
Matthias Grob
d97fba67e5
Commander: switch helper functions to pass by reference
2021-03-30 22:33:01 -04:00