Daniel Agar
3daf37433e
delete unused IOCTL GYROIOCSSAMPLERATE
6 years ago
Daniel Agar
60c14fe8f1
delete unused IOCTL GYROIOCGSAMPLERATE
6 years ago
Daniel Agar
0d67050089
delete unused IOCTL GYROIOCTYPE
6 years ago
Daniel Agar
ef65e5267a
delete unused IOCTL GYROIOCGRANGE
6 years ago
Daniel Agar
068dcb37df
delete unused IOCTL GYROIOCSRANGE
6 years ago
Daniel Agar
aaf0b6fb5c
delete unused IOCTL GYROIOCGSCALE
6 years ago
Daniel Agar
f21f1a1357
delete drv_accel.h ACCELx_DEVICE_PATH
6 years ago
Daniel Agar
2a83a40491
delete accel_report (alias for sensor_accel_s)
6 years ago
Daniel Agar
22c9fb7290
delete unused IOCTL ACCELIOCGEXTERNAL
6 years ago
Daniel Agar
e759e0e1a5
delete unused IOCTLs ACCELIOCSSAMPLERATE and ACCEL_SAMPLERATE_DEFAULT
6 years ago
Daniel Agar
eddbd3fc4b
delete unused IOCTL ACCELIOCTYPE
6 years ago
Daniel Agar
77abcab46f
delete unused IOCTL ACCELIOCGRANGE
6 years ago
Daniel Agar
5d3d120705
delete unused IOCTL ACCELIOCSRANGE
6 years ago
Daniel Agar
b0c3e12139
delete unused IOCTL ACCELIOCGSCALE
6 years ago
Daniel Agar
8ad59160c9
delete unused IOCTL ACCELIOCGSAMPLERATE
6 years ago
Daniel Agar
f59f0d4b2d
delete unused IOCTL SENSOR_POLLRATE_EXTERNAL
6 years ago
Dennis Mannhart
3b92d49b64
replace + with &&
6 years ago
Dennis Mannhart
6a0a9c92fb
PositionControl:
...
- set integral states and setpoint of reference state to 0
- set thrust to NAN if it will be computed from position and velocity control
6 years ago
Martina
44aa33be09
obstacle_distance: update distances description according to latest obstacle_distance mavlink message
6 years ago
Daniel Agar
e3388ec1d6
px4fmu-v2_default disable pwm_input
6 years ago
Daniel Agar
1376e9a39e
px4fmu-v2_default disable ms5525
6 years ago
Nuno Marques
bba59ca067
RTPS topics: temporarly reduce the number of topics being used to send and receive ( #10800 )
6 years ago
Jake Dahl
387d6ffbc1
This work should be complete. Waiting for Alex to validate config settings
6 years ago
Jake Dahl
e6f9caccf4
removed batt_smbus from uorb_graph create.py
6 years ago
Jake Dahl
27c6432757
added unseal() and seal() around write_flash() for enabling/disabling cell undervoltage, we found out today this wasn't being written because that address is in protected flash
6 years ago
Jake Dahl
5dbb34c841
added other bus options to the documentation
6 years ago
Jake Dahl
bd807f4db2
took care of minor clang-tidy complaints
6 years ago
Jake Dahl
69b59b9d63
commented out something causing trouble with CI, it is in an unused function but I'd like to keep the comment there as a reference for future development effort
6 years ago
Jake Dahl
6ba78858e3
changed variable name
6 years ago
Jake Dahl
7fb73ae2c0
made init() a public function in posix I2C
6 years ago
Jake Dahl
7c3f1d448a
trimmed includes, house keeping
6 years ago
Jake Dahl
2e732b9c0b
removed unneeded file, some more clean up
6 years ago
Jake Dahl
f8b9217750
batt_smbus rework
6 years ago
Jake Dahl
d71fc31d8b
added an SMBus base class
6 years ago
hdiethelm
33422700de
lis3mdl: fix handling when multiple sensors are available ( #10753 )
...
* lis3mdl: Report calibration successful when starting with -C option
* lis3mdl: Use PX4_OK, PX4_ERROR for return value / orb_unadvertise
* Fixes #10740
6 years ago
Thunder
662c206ceb
fix ControlMath.cpp mathematical derivation error ( #10796 )
6 years ago
Julian Oes
428c2f72bd
mavlink: always acknowledge a param write
...
This change has two effects:
1. We always acknowledge a param write no matter if the value was
actually changed or not. This is according to the spec:
https://mavlink.io/en/services/parameter.html#write-parameters
2. This fixes the bug where int32 parameters were not actually acked
because the memory of the param value was casted directly to float
and then compared. In the case of a int32 parameter set from 0 to 1
it would mean that the cast to float of the memory representation
was still 0 and therefore it was assumed to be "no change" and the
ack was omitted.
6 years ago
Jake Dahl
118e5d9607
set feedforward to zero, was set inappropriately
6 years ago
Jake Dahl
b01849ce56
fixed a problem where the heater was getting stuck on. This was due to the next on time being calculated as a negative time, thus causing it to not get rescheduled in the work_queue. Also removed some includes in the header file
6 years ago
Beat Küng
52fc56a61f
gps: explicitly set SPI bus speed to 1MHz
...
Required on RPi, the default seems to be too high.
6 years ago
Beat Küng
bec43b0b28
mc_att_control: run rate controller first and increase fmu prio by one
...
The rate controller is now run directly after a gyro publication, and
as soon as it publishes the actuator controls, the output driver (fmu/...)
runs.
Test on a Pixracer:
Reduces fmu control latency from 219us to 134us.
If we run the rate controller last (same order as before, just increase
the prio), the latency is 201us.
CPU load is unchanged.
The drawback is that the attitude to rate setpoint generation is delayed
by one cycle (4ms), but it will be reduced to 1ms as soon as we run at
1kHz.
6 years ago
Beat Küng
95cc6a06f3
mc_att_control: separate attitude controller from rate controller update
...
This will allow to run the rate controller faster than the attitude
controller.
6 years ago
Beat Küng
fc997dd0d5
mc_att_control: reduce minimum required dt
...
2ms is not enough to run at 1kHz
6 years ago
Beat Küng
d552c2a362
refactor mc_att_control: move publications into separate methods
...
improves readability & reduces duplicated code
6 years ago
David Sidrane
71f809a20c
px4_micro_hal:Add STM32 stm32_gpiosetevent
6 years ago
Hamish Willee
44f650fdc9
Add additional info to FW_LND_USETER ( #10777 )
6 years ago
Daniel Agar
cf4b19d153
delete unused FMU_pass mixer
6 years ago
Lukas Woodtli
a7d297ed57
Fix division by zero and cast of to big floats to int
6 years ago
Lukas Woodtli
6caf0d114d
Fix division by zero and cast of too big floats to int
6 years ago
Mara Bos
96a33d1afc
Enable __attribute__((format)) on px4 logging functions.
...
This makes the compiler warn about invalid format strings.
6 years ago