Beat Küng
ccefc640ac
drv_hrt posix: remove unused code and remove locking from hrt_absolute_time
6 years ago
Daniel Agar
92ca26b111
mpu9250 fix code style
6 years ago
Florian Olbrich
fb386580b8
Fixed failure notices on mpu9250 startup by adding back device probing on I2C interface init.
6 years ago
Florian Olbrich
280a60c86f
Fixed unreliable ICM20948 detection.
...
Fixed ICM20948 magnetometer only option.
Specified bus for internal mpu9250 on Pixhawk 2.1 to avoid premature detection of
other device.
6 years ago
Kevin Lopez Alvarez
490eeeb9d9
RM3100: enable I2C ( #11038 )
6 years ago
Jake Dahl
1699c577c3
Fixed an issue with a local variable that should have been a member variable. Increased the P term to reduce rise time. Removed feedforward as it was not neccessary. Removed some custom commands that didn't serve much of a purpose.
6 years ago
AnnaDaiZH
3b3752b753
pmw3901 increase publish rate and max_ground_distance ( #11066 )
...
* increase pmw3901 publish rate and max_ground_distance
* set work queue to high priority
6 years ago
Hamish Willee
541b962654
CameraTrigger: Feedback fixes
6 years ago
Hamish Willee
68148c5fb4
Add camera trigger pwm params
...
Fix math::constrain usage
Fix second constraint
6 years ago
Daniel Agar
2251150875
uavcan include cstdint for fixed width integer types
6 years ago
Daniel Agar
60f2a92e3d
replace <cfloat> with <float.h>
...
- <cfloat> isn't available in the NuttX c++ library
6 years ago
Daniel Agar
caf26c78e3
rgbled_ncp5623c set main stack 1500
6 years ago
Jacob Dahl
a492d1cfdb
MPU9250 driver fix to preserve bus+device plug-and-play capabilities ( #11020 )
6 years ago
Matthias Grob
36248cb12e
PWMSim: publish disarmed value when not armed
6 years ago
Matthias Grob
05e45c2867
PWMSim: refactor only use one output number variable
6 years ago
Matthias Grob
986e6c96b5
PWMSim: refactor unused output loop
6 years ago
Matthias Grob
c22dbe130b
PWMSim: refactor to use math constrain
6 years ago
Julian Oes
d0251581d3
samv7: fix include
6 years ago
Julian Oes
e41518a08b
platforms: clean up various build/linking issues
...
This makes sure lockstep is only built for SITL builds and fixes the
existing builds.
6 years ago
Julian Oes
23264fe579
kinetis: add missing include
6 years ago
Julian Oes
a193e4117c
drv_hrt: update signature of ts_to_abstime
6 years ago
Julian Oes
d75389b2e4
platforms: consolidate latency_buckets
...
These symbols were duplicated all over the place.
6 years ago
Julian Oes
da9029274c
pwm_out_sim: always publish actuators
...
This is required so that the SITL simulator receives a feedback from
PX4.
6 years ago
Julian Oes
3e6e1f5c2b
POSIX: use lockstep_scheduler to fake time
...
This integrates the lockstep_scheduler, so that the system time is set
by the mavlink HIL_SENSOR message.
This means that the speed factor is removed and the speed is entirely
given by the simulator.
6 years ago
Julian Oes
d70b0f1c8c
Replace sleep with px4_sleep
...
This is another step to isolate time from the system.
6 years ago
Julian Oes
3f695870a4
Replace usleep in GpsDrivers
6 years ago
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
6 years ago
Beat Küng
c659d2bcc2
mixer: minor refactoring to reduce header include dependencies
...
- avoid including <px4_defines.h> from the math headers
- avoid driver include <drivers/drv_mixer.h> from the mixer
6 years ago
Beat Küng
19ccab28bb
mixer: use an enum for airmode
6 years ago
bresch
7cc00f41d2
AirModeYaw - Change airmode type from bool to int
6 years ago
dakejahl
311c0941c9
Teal One airframe improvements for full support ( #10860 )
...
* added a parameter for enabled the smart battery
* start tel1 and tel2 at 921600 and max rate
* turned up the max tx rate on mavlink streams for telem1 and telem2
* turned off mavlink stream for tel1 in 4250_teal. This is connected to TX1 FTDI UART and has issues.
* moved check to 4250 board ID to start mpu9250s for Teal airframe into fmuv4 rc.board.
6 years ago
flochir
ab9e9793a0
ICM20948 integration into MPU9250 driver ( #10116 )
...
* Integrated preliminary ICM20948 support into MPU9250 driver.
Fixed temperature conversion for MPU9250/ICM20948.
* Included missing check for PX4_I2C_OBDEV_MPU9250 in main.cpp.
* Added explicit bus for internal MPU9250 on Pixhawk 2.1 to avoid implicit start
of an externally attached device with wrong orientation.
6 years ago
Daniel Agar
8622fa4aac
move pca8574 driver to lights
6 years ago
Daniel Agar
75b2053243
move uavcan from modules to drivers
6 years ago
Daniel Agar
bbab66d974
move vmount to modules (it's not a driver)
6 years ago
Daniel Agar
9d42480f4e
drivers create lights category (directory)
6 years ago
Daniel Agar
f6a4616501
move ocpoc_adc driver to board directory
6 years ago
Daniel Agar
766c33799d
move all navio2 drivers to emlid navio2 board directory
6 years ago
Daniel Agar
2e7c1d3ca6
move bbblue_adc to beaglebone blue board directory
6 years ago
Daniel Agar
a91a26be97
move aerofc_adc to intel aerofc board directory
6 years ago
Daniel Agar
d4e06e517a
delete drv_gpio.h, modules/gpio_led, and fmu GPIO ioctls
6 years ago
David Sidrane
7350808759
drv_led_pwm:Compile for either BOARD_HAS_LED_PWM or BOARD_HAS_UI_LED_PWM
6 years ago
David Sidrane
1d289f77e3
stm32:drv_led_pwm Null entry check
6 years ago
Daniel Agar
02c34763f0
tone_alarm_sim readd to sitl and drop DriverFramework
...
- fixes #10925
6 years ago
David Sidrane
2d052c02fa
board_common:Use new PX4IO FW name on SD card and remove legacy V1 name
6 years ago
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
6 years ago
Daniel Agar
f692ad04d0
boards organization
6 years ago
David Sidrane
b80fa5f2f5
px4fmu-v5:Remove old comment
6 years ago
CUAVcaijie
eb8a3de987
add rgbled_ncp5623c driver ( #10889 )
...
Co-Authored-By: CUAVcaijie <caijie@cuav.net>
6 years ago
Mara Bos
e9fb17c51a
Always use FILE* for standard output.
...
The threads running commands for clients through the Posix daemon used
to write to a char buffer through snprintf (etc.) which was then written
directly to the file descriptor, whereas in the other case printf
(etc.) was used to write to stdout (FILE*). Both versions used some
macro's and repeated code to have the same output.
This change unifies these two cases by using a FILE* in both cases. The
(line) buffering is done by the standard C library's implementation
(just like with stdout), and px4_log.c now uses the same code in all
cases (using fprintf, etc.) for printing (colored) output.
6 years ago