Commit Graph

19434 Commits

Author SHA1 Message Date
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
Lorenz Meier 723d3c121a Find and use Python 2 (#5442)
This will make the build works in distros that have Python 3 as default
and will not break anything in distros that have Python 2 as default.
2016-09-03 12:33:48 +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 ced33e982b update mavlink submodules 2016-09-01 13:37:42 +02: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
stmoon d219b8cf46 fix the bug for double space 2016-09-01 08:44:16 +02:00
Nate Weibley 22d286b9ce Fix version generation for release builds, #5308 (#5422) 2016-08-31 22:03:00 +02:00
Lorenz Meier 1d99f83b34 Add config for LPE and plane 2016-08-31 09:17:01 +02:00
James Goppert 9d861f021c Use git tag in cpack package. 2016-08-29 22:17:40 -04:00
James Goppert f6d7fef7c2 Added more gains for dji matrice. 2016-08-29 22:05:59 -04:00
James Goppert 8707cbc315 Fix version. 2016-08-29 22:05:48 -04: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
Andreas Daniel Antener 02029882db SITL CI: gracefully fail tests early (#5405) 2016-08-28 21:56:31 +02: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 1a716e1a0d Update MAVLink 2.0 headers 2016-08-28 10:08:15 +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
James Goppert dbc5e90993 Change to sitl to allow no board rotation for gazebo. (#5400)
* Change to sitl to allow no board rotation for gazebo.

* Fix typo in typhoon launch file and create config for lpe.

* Exit early on test failures
2016-08-27 20:03:54 -04:00
Mark Whitehorn bad6f0032c change board rotation to zero (#5392) 2016-08-27 22:56:08 +02:00
Lorenz Meier 25182108f9 Ensure NuttX build depends on defconfig v1.5.0 2016-08-27 12:56:31 +02:00
Lorenz Meier 5ef6d7952f MAVLink app: Enforce code style 2016-08-26 23:43:49 +02: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
Lorenz Meier a1627fad9a Slack: Only report Travis CI failures 2016-08-26 12:11:48 +02:00
Luís Rodrigues cda4338095 Configuration parameter for TeraRanger One (#5359) 2016-08-26 12:03:18 +02:00
Lorenz Meier 3d7906647e Test Travis fix for OS X v1.4.4rc1 2016-08-26 11:16:00 +02:00
mazahner 73014acf97 Only Compile and create dependencies for the Messages specified in msg/CMakeLists.txt
this lets a user select what msgs should be compiled for his project
Care must be taken though, to compile all orb_topcis that are required by the Rest of the Code.
Otherwise many compile errors will occur.

This commits adds by default the ./msg include path to reference to other msgs.
if an exisiting msg is used in another msg.
2016-08-25 22:30:13 +02:00
David Sidrane add2aa0680 Update Nuttx Submodule to included Proper MAC El Capitan USB fix ==master (#5385) v1.4.3 2016-08-25 21:59:59 +02:00
Lorenz Meier 1dfe51b11b Travis CI: OS X needs to build at least onene Firmware target 2016-08-25 21:48:30 +02:00