Dennis Shtatnov
585147d5b7
Working LPS25H driver
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
1fd3636ab3
Flyable gains for CF2
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
c842b0457f
Syslink for battery, RSSI, and initial radio control
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
b99b886576
CF2 correct motor map and LEDs
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
e91821d2a2
Merge Crazyflie motor driver with FMU
...
Comment corrections
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
e6b98b2ab8
Tweak configs for CF2
...
Fix build error
Capitalization mistake for headers
Non-Mac compiler issue
Baudrate for crazyflie nrf and fix code style
Save space
Cleanup mpu9250 driver
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
5100785f51
MPU9250 I2C mode
...
Fixes for other boards
Functioning sensors
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
9c8e56401b
Working motors and mtd for CF2
2016-09-04 19:12:08 +02:00
Tim Dyer
b65ff53b00
Initial build for Crazyflie 2.0
...
Working crazyflie firmware build
* Console on USART3
* Could not disable building PX4IO firmware, currently commented out
Don't build PX4IO firmware if the board doesn't ask for it
Added crazyflie motor driver
Fixed wrong register
CLK_SEL is in PWR_MGMT_1
Initial I2C/SPI MPU9250 device
* Tested with I2C
* Need to add error checking
* Intermittent crash on stop call
Working ak8963 mag driver
Functional lps25h driver. Work in progress.
Works well enough to probe and allow sensors task to start.
Added serial port test module
HACK! Get sensors module working
Set crazyflie PWM range
Extend baudrate for Crazyflie's NRF radio
Added dummy tone alarm to allow for init
Added autostart script for Crazyflie
2016-09-04 19:12:08 +02:00
Lorenz Meier
c1e681df60
HMC: Fill extended mag report completely
2016-09-04 19:11:46 +02:00
Lorenz Meier
45f740e210
Device: Allow access to device id
2016-09-04 19:11:28 +02:00
Lorenz Meier
31bba3a847
Report mag data
2016-09-04 19:10:57 +02:00
Lorenz Meier
8c49372e7a
Better error reporting for sdlog2
2016-09-04 18:47:41 +02:00
Carlo Wood
cc69dd5665
printf format fixes. ( #5444 )
...
After I got a compiler warning for a printf format in this file
(which I cannot reproduce anymore; for some reason g++ is usually
quite happy with all the errors in this file), I fixed all 'printf'
formats to match the type of their arguments as follows:
uint8_t : %hhu
uint16_t : %hu (or %hx)
uint32_t : %u (or %x)
int16_t : %hd
int and int32_t : %d
long int : %ld
Since this file is C++, what we REALLY should be using is
ostream operator<<'s of course (type safe by design and faster
(compile time type matching, no need for format decoding)).
2016-09-04 14:28:23 +02:00
Miguel Arroyo
f999fbe440
Publishes LPE GPS epv and eph as estimator status. ( #5413 )
...
* Publishes LPE GPS epv and eph as estimator status.
* Adds timestamp
2016-09-03 22:00:51 +02:00
Nicolas de Palezieux
a071ef94db
always update armed flag ( #5434 )
...
otherwise the battery estimator does not compute bat_v_empty_dynamic correctly
2016-09-03 21:59:27 +02:00
Otávio
d03611763a
Use readdir instead of readdir_r ( #5421 )
...
readdir_r is deprecated since glibc version 2.24 and glibc manual
recomends usage of readdir instead of readdir_r.
Replacing readdir_r by readdir will also not be a problem for Nuttx,
because readdir_r is using readdir and filling parameters with the
return information.
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2016-09-03 13:45:40 +02:00
Michael Schäuble
b9b9f17eee
Fix build errors ( #5436 )
...
* Use sorted to fix python3 build error
* Add drv_hrt.h include to Bebop df wrappers
2016-09-03 12:34:27 +02:00
Mark Whitehorn
a054fb1e04
fix altitude setpoint bug ( #5409 )
2016-09-03 12:33:36 +02:00
Lorenz Meier
ea212a8ef5
LPE: Avoid false positives for GPS
2016-09-03 12:30:42 +02:00
Nate Weibley
686fd5b125
Convert geofence distance params to float ( #5435 )
2016-09-02 11:49:53 -04:00
Beat Küng
33fdb072df
uORBMain: disable message logging to the ulog on Snapdragon
2016-09-01 09:59:17 +02:00
Lorenz Meier
48a94e3570
Fixed i2c not running ( #5408 )
2016-09-01 09:19:30 +02:00
Nate Weibley
22d286b9ce
Fix version generation for release builds, #5308 ( #5422 )
2016-08-31 22:03:00 +02:00
Lorenz Meier
5a734de319
Commander: Increase stack space
2016-08-29 23:36:34 +02:00
Lorenz Meier
ece70dc18d
Revert "commander: Running a bit low on space"
...
This reverts commit 2a90f7e9c0 .
2016-08-29 23:35:56 +02:00
Lorenz Meier
2a90f7e9c0
commander: Running a bit low on space
2016-08-29 22:47:07 +02:00
James Goppert
36acb90680
Fix gps noise matrix for LPE.
2016-08-29 16:08:28 -04:00
Lorenz Meier
15e50b26dc
Fix MAVLink subscription
2016-08-28 15:53:42 +02:00
Lorenz Meier
8dc8ae7de8
MAVLink app: Only hold buffers for published topics
2016-08-28 10:49:41 +02:00
Lorenz Meier
d4b588f84a
Fix proto version selection
2016-08-28 10:40:00 +02:00
Lorenz Meier
19c2ae615f
MAVLink: Do no not init fds struct
2016-08-28 10:26:59 +02:00
Lorenz Meier
6f19531ce4
MAVLink: Cleanup of port handling, switch to MAVLink 2 if receiving MAVLink 2. Announce MAVLink 2 capability in autopilot_version message
...
commit
2016-08-28 10:08:15 +02:00
James Goppert
6b08e8ce1f
Improvements to lpe for flow and gps. ( #5401 )
2016-08-27 23:50:24 -04:00
James Goppert
be1417f613
LPE alt init now allows baro only init without GPS w/o changing flag. ( #5398 )
...
Flight test went well, merging.
2016-08-27 21:57:32 -04:00
James Goppert
4499006744
Condition LPE covariance to avoid blowing up in edge cases. ( #5377 )
...
Merging this as it is definitely more robust than what we have now.
2016-08-27 21:18:27 -04:00
Lorenz Meier
720c445f21
MAVLink: Code style
2016-08-26 23:43:33 +02:00
Lorenz Meier
e67a6bdfc2
MAVLink: No need to restore previous port config on exit
2016-08-26 23:38:46 +02:00
Nicolas de Palezieux
ebce93f338
only advertise range topic of px4flow board if it is the primary range device ( #5390 )
...
this allows selecting another range device such as a lidar by starting that app first
2016-08-26 14:28:46 +02:00
Luís Rodrigues
cda4338095
Configuration parameter for TeraRanger One ( #5359 )
2016-08-26 12:03:18 +02:00
Lorenz Meier
f511d49cc2
Improvements to SITL to make paths more flexible. ( #5181 ) ( #5255 )
...
* Path cleanup for SITL.
* Restructured sitl scripts dir.
* Set integration tests to use ekf2 for vtol.
* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00
Beat Küng
61f7470e7e
df wrappers: fix invalid NaN to int16 conversion (set to 0 instead)
...
The result of this conversion is undefined!
2016-08-25 13:14:15 +02:00
Beat Küng
a7ef9b4954
fix navio_gpio: use uintptr_t for pointer type instead of uint32_t
2016-08-25 13:14:15 +02:00
Beat Küng
4b6e6572b9
fix navio_sysfs_pwm_out: use correct type for buflen (required by MultirotorMixer::from_text)
2016-08-25 13:14:15 +02:00
Beat Küng
96384bdc29
df wrappers: add drv_hrt.h include
2016-08-24 21:30:50 +02:00
Beat Küng
eede43a786
px4_log.h: move px4_log_initialize() out of #ifdef
2016-08-24 21:24:35 +02:00
Beat Küng
b8e247a018
muorb: add drv_hrt.h include for hrt_absolute_time
2016-08-24 21:24:35 +02:00
Beat Küng
528ca931af
logger: only add data message to the log if orb_copy succeeds, when adding a new instance
2016-08-24 21:24:35 +02:00
Beat Küng
df53fb0fde
logging: publish a message for PX4_{WARN,ERR} & store them to the ulog file
...
- ulog file message rate limited to 50Hz
- queuing with size 2
- this replaces the mavlink log message in the ulog
(but the mavlink warnings & errors still go to the ulog)
2016-08-24 21:24:35 +02:00
Beat Küng
eae1585e38
logger: store full file name in logger, remove it from log writer
...
- also add log file to the status output
2016-08-24 21:24:35 +02:00