ChristophTobler
667517a9b6
Merge pull request #301 from PX4/pr-fix_hagl_valid
...
return hagl valid false if update was rejected
2017-07-13 17:28:53 +02:00
Beat Küng
eeb1895922
i2c_posix: fix simulate variable cannot be assigned on QuRT
2017-07-13 16:53:28 +02:00
Beat Küng
46a7287178
linux_pwm_out: add support for ESC calibration
2017-07-13 16:53:28 +02:00
Beat Küng
bf11362dae
i2c_posix: fix use of wrong device path
...
previously, get_devname() was used as the I2C device path, but on NuttX,
get_devname() is the device file which the driver creates. This patch
changes it, so the sematics are the same as on NuttX: both now use _bus
to decide to which I2C bus device to talk to.
I did not see any other use-cases than the led on ocpoc.
2017-07-13 16:53:28 +02:00
Beat Küng
fc4affbb5f
ocpoc_mmap_pwm_out: remove this driver, it's in linux_pwm_out now
2017-07-13 16:53:28 +02:00
Beat Küng
d17a7b46e8
linux_pwm_out: add ocpoc_mmap mode
2017-07-13 16:53:28 +02:00
Beat Küng
8527c8276f
drivers: rename rpi_pwm_out to linux_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
5cbee15309
ocpoc_adc: make xadc_fd a local variable instead of a class member
2017-07-13 16:53:28 +02:00
Beat Küng
2cf88156a9
cmake: remove -Os from COMPILE_FLAGS in px4_add_module()
...
This is already added to the global list, and we already removed this
flag previously, but some of them sneaked back in.
2017-07-13 16:53:28 +02:00
Beat Küng
d3f76262da
RPI px4_no_shield.config: add documentation for connected HW
2017-07-13 16:53:28 +02:00
Beat Küng
243ae00e4e
rpi_pca9685_pwm_out: remove this driver, it's now in rpi_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
51dc988914
rpi_pwm_out: fix mixing output handling (use correct number of outputs)
2017-07-13 16:53:28 +02:00
Beat Küng
b6942115e1
rpi_pwm_out: add support for PCA9685 output
2017-07-13 16:53:28 +02:00
Beat Küng
723f67b39a
refactor navio_sysfs_pwm_out: rename to rpi_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
8ccbc068c2
RPI PCA9685: code cleanup
2017-07-13 16:53:28 +02:00
Beat Küng
d898b555d3
rpi_rc_in: code cleanup
2017-07-13 16:53:28 +02:00
Beat Küng
785b997a2e
posix_rpi_cross_no_shield.cmake: move -D__DF_RPI_SINGLE from commons to this file
2017-07-13 16:53:28 +02:00
crossa
4bde004474
1. Add parameter name in head file
...
2. Remove printf in the cpp
2017-07-13 16:53:28 +02:00
crossa
917d520378
Check _rcinput_pub is null.
2017-07-13 16:53:28 +02:00
crossa
ef587c9593
Add -D__DF_RPI_SINGLE in posix_rpi_common.cmake
...
Add -D__DF_RPI in posix_rpi_common.cmake
Add rpi_rc_in and rpi_pca9685_pwm_out driver in posix_rpi_common.cmake
Rename posix_rpi_cross_without_navio_or_pxfmini to posix_rpi_cross_no_shield.cmake
2017-07-13 16:53:28 +02:00
crossa
0340f96ad0
Rename px4_rpi.config to px4_no_shield.config
2017-07-13 16:53:28 +02:00
crossa
d37280e99b
REMOVE DEBUG INGO
2017-07-13 16:53:28 +02:00
crossa
18298f861d
Remove duplicated configs
2017-07-13 16:53:28 +02:00
crossa
b4032f6290
Remove duplicated config
2017-07-13 16:53:28 +02:00
crossa
6a9aa60ad7
Add rpi_pca9685_pwm_out command
2017-07-13 16:53:28 +02:00
crossa
ed319ce5d5
1. Add comment written in English
...
2. Rewrite and rebase pca9685 driver
3. Try to fix issue when push the stick of channel 3 to the maxmum position, 0uswill be output to channel 1, should be maxmum pwm signal
4. Fix the code style
2017-07-13 16:53:28 +02:00
crossa
78b853431d
change gps command
2017-07-13 16:53:28 +02:00
crossa
ea2a3acbd8
This driver has been tested and finished first flight
...
Now I've fixed style of the code
2017-07-13 16:53:28 +02:00
zhangfan
8a691d9bfb
Add CMake file for raspberry pi without shield
2017-07-13 16:53:28 +02:00
crossa
c89351c453
Add PWM output driver with raspberry pi+pca9685 module
2017-07-13 16:53:28 +02:00
crossa
6ee6165592
PX4 RASPBERRY PI CONFIG
2017-07-13 16:53:28 +02:00
crossa
4839e5cd19
Fix code style
2017-07-13 16:53:28 +02:00
crossa
7b108eb879
Reading the pwm signal from shared image.
...
Both 8 channels PPM encoder and 8 channels revicer are required.
Before launch px4, ppmdeocde programe should be launched.
To download ppmdecode programe,
visit https://github.com/crossa/raspberry-pi-px4firmware .
Pxfmini and navio are not popular autopilot hardware in china,
I can handly to purchase it.
So that I use raspberry pi to build autopilot separately.
This dirver help us to decode ppm single to pwm and pushlish it
2017-07-13 16:53:28 +02:00
José Roberto de Souza
ac7127ff0f
systemcmds: dataman: Check for errors in tasks
2017-07-13 15:21:26 +02:00
José Roberto de Souza
2f2e3a7e7c
modules: dataman: ram_flash: No need to write/erase data that do not need to persist
...
Just update in RAM is enough.
2017-07-13 15:21:26 +02:00
José Roberto de Souza
10f54e718e
modules: dataman: Optimize memory usage
...
Use the size of each item type instead of the biggest one.
In AeroFC that runs is constrained mode it was using 7860 bytes
and now it uses 6930 bytes almost 1KB less.
2017-07-13 15:21:26 +02:00
ChristophTobler
d2945abd85
return hagl valid false if update was rejected
2017-07-13 14:17:48 +02:00
Paul Riseborough
d69cc3d7c8
Merge pull request #293 from PX4/pr-fixExtVisionFallback
...
EKF: Allow fallback to non-aiding mode if external vision fusion is lost
2017-07-13 20:45:24 +09:00
Paul Riseborough
9ee35e38df
EKF: Don't fallback when optical flow is lost if external vision data is being used
2017-07-13 20:21:41 +09:00
Paul Riseborough
1bb576c197
EKF: Allow fallback to non-aiding mode if external vision is lost.
2017-07-13 20:21:41 +09:00
Paul Riseborough
7a17f74910
Merge pull request #297 from ursa-drone/vispos_fix
...
Fixed vision position fusion bug
2017-07-12 22:15:54 +09:00
Ramón Hernán Roche Quintana
f160743df4
Join us on Slack README badge
v1.6.5
2017-07-12 07:19:20 +02:00
ChristophTobler
add78a4b04
stream distance sensor at 10Hz for SITL-EKF testing
2017-07-11 13:59:12 +02:00
Lorenz Meier
dbc7d805f2
Navigator: Fix pause mode to not continue to next waypoint if already set
2017-07-11 13:23:12 +02:00
Henry Zhang
8f391a6eae
MindPX: update NuttX config
2017-07-11 09:52:51 +02:00
Henry Zhang
145c05acc7
Add support for the mpu6k to the MindPXv2
2017-07-11 09:52:51 +02:00
José Roberto de Souza
9a05c5f137
mavlink: Send command long when component id is broadcast
...
Check for the broadcast systemd id to block forward of broadcast
commands.
2017-07-11 09:52:22 +02:00
David Sidrane
fc30f2906f
mpu9250:Use a cpu speed independant _reset_wait generations.
...
This change first pushes out the _reset_wait by 100 Ms.
which is about 3 time longer then the code take to execute.
Then it does the reset of the accel, gyro and mag and
the ends the wait by setting _reset_wait to now+10 us.
2017-07-11 09:51:31 +02:00
David Sidrane
3f0d26c949
mpu6000:Support different clock freq per IC type
2017-07-11 09:51:31 +02:00
David Sidrane
3c42c8f7fa
mpu9520:Use maximum clock rate
...
The MPU9250 and MPU6500 buth support 1 Mhz and 20 Mhz. Buy upping the clocc we will get the maximum clock rate the driver
supports that is <= 20 Mhz. This will boost the FMUv4Pro SPI speed to 11.25 Mhz (it was half that)
2017-07-11 09:51:31 +02:00