22742 Commits

Author SHA1 Message Date
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
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
David Sidrane
22d0ea15de px4fmu-v3:Add ICM20608 aliased to the PX4_SPIDEV_ACCEL_MAG to the v3 build
The Pixkhawk mini was not chip selecting the ICM20608 as it did
   not define PX4_SPIDEV_ICM_20608. This allow the fmu V2 rc code
   to init the ICM20608.
2017-07-11 09:49:22 +02:00
David Sidrane
195468bf06 px4fmuv4pro:Init GPIO_VDD_3V3_SENSORS_EN off at reset
Insure a 0.0 voltage initial condition on VDD_3V3_SENSORS
  By starting the GPIO_VDD_3V3_SENSORS_EN, low and deferring
  the GPIO init of the slave selects and drdy signals until
  board_app_initialize. We get ~ 180 ms of power off time
  with 0.00 voltage applied to the sensors.
2017-07-11 08:34:26 +02:00
Lorenz Meier
6a3e27fe18 PWM command: Be less verbose 2017-07-11 08:15:44 +02:00
Sander Smeets
48be61160d Float value correction v1.6.4 2017-07-10 21:15:08 +02:00
Sander Smeets
70178266f0 VTOL pusher assist: return vehicle to level position 2017-07-10 21:15:08 +02:00
bresch
81c46b6f92 VTOL Standard - Disable pusher-for-pitch strategy in manual control 2017-07-10 21:13:28 +02:00
Anup Parikh
1cff86025e Fix issue #7525
Add missing `.py` extension to Tools/px4 to fix #7525
2017-07-10 18:48:27 +02:00
Lorenz Meier
57a2ea0cd1 Navigator: Do not change target position if user is only changing altitude
This is important for multicopters for drift-free altitude changes and important for fixed wing to keep the current loiter center.
2017-07-10 18:36:03 +02:00
Lorenz Meier
c89bd5c8fd HMC5883: Fix range setup 2017-07-10 08:32:19 +02:00