8148 Commits

Author SHA1 Message Date
Leon
faebdeedcf vmount: add mount and ROI implementation
MavLink spec implementation

implemented vehicle_roi topic

rename old gimbal to rc_gimbal

little changes

corrected RC Gimbal group

Starting ROI implementation in commander

implementation done, needs to be tested

uhm..

add todo

Change to float32 for x,y and z

remove mission topic again, not needed

change roi coordinates to lat, lon and alt

adjust to float64

starting mount implementation

correcting small mistakes, compiles now

add todos

further progress

implementing parameters

adjust default parameters

started implementation of mavlink

fix typo

change to lat, lon and alt

fix typo :D

change to double (to represent float64)

add global_position_

add mount topic

commander mount implementation done

cleanup

almost finished

little fix

codestyle fixes

leave pitch at 0 degrees

added pitch calculation

codestyle changes

Undo vehicle_mount, react to updated parameters, parsing of CMD_DO_MOUNT_* in mount.cpp

start implementing mode override

forgot a semikolon.

add debug

Finish implementation of mount override and manual control.

fix codestyle

correct cleanup

rename to vmount

works now

fix rebase error

fix polling

refactoring and custom airframe for gimbal

couple changes

remove warnx

almost done

finally

What is going on?

change back to actuator_controls_2

working

bump parameter version number and some clarification

fix submodules
2016-09-06 11:33:18 +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
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
8c49372e7a Better error reporting for sdlog2 2016-09-04 18:47:41 +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
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
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 2a90f7e9c002ee80177b436f2fd0e5d196f3ea95.
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
Luís Rodrigues
cda4338095 Configuration parameter for TeraRanger One (#5359) 2016-08-26 12:03:18 +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
Beat Küng
aefd217fc0 uorb subscription: remove _interval & use orb_get_interval() instead 2016-08-24 21:24:35 +02:00
Beat Küng
e2afb0be6b px4_log.h: remove hrt_absolute_time() declaration (it does not belong here) 2016-08-24 21:24:35 +02:00
Beat Küng
d404359888 local_position_estimator_main: warnx -> PX4_{WARN,INFO,DEBUG} 2016-08-24 21:24:35 +02:00
Beat Küng
1fffd731b1 print_load_posix under DARWIN: remove unused variable basic_info (#5364) 2016-08-23 09:09:55 +02:00
Bart Slinger
7f04e3c759 Helicopter aiframe and basic PID control (#5339)
* Helicopter aiframe and basic PID control

* codestyle

* Blade 130x gains working but not optimal

* Changed behaviour of feedforward for all multicopter
2016-08-19 22:20:59 +02:00
Gus Grubba
821d7062df Support for new log file extension. (#5355) 2016-08-19 22:16:46 +02:00
Lorenz Meier
192cde408a Remove unnecessary C++11 usage in UAVCAN 2016-08-18 21:44:15 +02:00
James Goppert
818840b576 Path cleanup, low impact changes (#5340)
* Low impact changes from path_cleanup branch.

This is a step towards minimizing the diff with path_cleanup branch.

* Update ecl.

* Revert matrix update.

* Revert ecl and matrix.

* Update sitl gazebo.

* Revert sitl_gazebo and matrix changes.
2016-08-18 15:37:23 -04:00
Pavel Kirienko
24e90e3c90 UAVCAN servers: fixed member initialization; removed dead stuff 2016-08-18 17:14:53 +02:00
Pavel Kirienko
d12be196a2 Fixed #5153 2016-08-18 17:14:53 +02:00
Pavel Kirienko
2784c3c5f0 Improved uavcan activity indication 2016-08-18 17:14:53 +02:00
Pavel Kirienko
64d7946cdc Fixed beep duration 2016-08-18 17:14:53 +02:00
Pavel Kirienko
36efc8c83e Fixed beeping 2016-08-18 17:14:53 +02:00
Pavel Kirienko
61ffc6c432 Fixed implementation of the ESC auto-enumeration feature 2016-08-18 17:14:53 +02:00
Pavel Kirienko
2fad9a6397 ESC status: printing temperature in Celsius 2016-08-18 17:14:53 +02:00
Pavel Kirienko
42031ab572 Better beeping during ESC enumeration 2016-08-18 17:14:53 +02:00