Commit Graph

12412 Commits

Author SHA1 Message Date
Ban Siesta d473b8bddd Merge branch 'fix_ringbuffer' into lidarlite_merge 2015-05-24 10:18:07 +01:00
Ban Siesta 362fc205b3 drivers: various whitespace 2015-05-24 10:05:42 +01:00
Ban Siesta 21dfd0243d drivers: use new ringbuffer namespace everywhere 2015-05-24 10:04:38 +01:00
Ban Siesta aac276872b ringbuffer: use a namespace for ringbuffer to avoid 'multiple definitions in vtable' bug 2015-05-24 10:02:08 +01:00
Ban Siesta b9ce447cc9 ringbuffer: whitespace 2015-05-24 10:01:28 +01:00
Ban Siesta 9eb7409f46 makefiles: getting rid of gpio_tool again, this was a leftover from debugging 2015-05-24 09:53:21 +01:00
Ban Siesta e67f681935 ll40ls: astyle 2015-05-24 09:44:10 +01:00
Ban Siesta 3efaeabd5b pwm_input: astyle 2015-05-24 09:42:34 +01:00
Ban Siesta bd48ef0386 Merge remote-tracking branch 'px4/pr/2196' into lidar_tests 2015-05-24 09:40:03 +01:00
Ban Siesta 19156ec763 Merge remote-tracking branch 'px4/pr/1949' into lidar_tests 2015-05-24 09:39:58 +01:00
Lorenz Meier b9dc72f4cc Merge pull request #2217 from PX4/FF_fix
fixed rates feedforward
2015-05-23 13:18:59 +02:00
Lorenz Meier 8fd00f4d6d Merged release_v1.0.0 into master 2015-05-23 11:07:10 +02:00
Lorenz Meier ccac324f5b mavlink: Fix GIT string transmission 2015-05-23 11:04:19 +02:00
Lorenz Meier 0d134aac53 systemlib: Use build directory for git version 2015-05-23 10:18:20 +02:00
Lorenz Meier 6d7e063148 Added GIT version which recompiles on each build 2015-05-23 09:59:46 +02:00
Roman Bapst 0eeaa83b3d send autopilot version message on startup and on request 2015-05-23 09:59:46 +02:00
Roman Bapst 4dd343e2de added field for autopilot capabilities 2015-05-23 09:59:46 +02:00
Lorenz Meier 38535b4d2f Merged release_v1.0.0 into master 2015-05-23 09:57:17 +02:00
Lorenz Meier 071d22a49a commander: Update ESC calibration to match QGC 2015-05-23 09:54:55 +02:00
Don Gagne 7f5a5e085c Add "calibrate esc" command 2015-05-22 22:27:43 +02:00
Lorenz Meier 0bd0f7dae5 Merge pull request #2216 from DonLakeFlyer/CalESC
ESC Calibration
2015-05-22 22:27:11 +02:00
Lorenz Meier d385a7f483 Ignore battery voltage only when below 2.5V, as we could be still running at that voltage 2015-05-22 21:47:18 +02:00
Lorenz Meier d530cbcda2 Ignore battery voltage only when below 2.5V, as we could be still running at that voltage 2015-05-22 21:46:58 +02:00
Roman 16df7e1656 fixed rates feedforward: plant for feedforward is given by derivative operator 2015-05-22 21:12:18 +02:00
Don Gagne fe357a9a66 Separate timeouts for battery and high pwm 2015-05-22 11:24:07 -07:00
Don Gagne 25e7a1a49e ESC calibration re-work
- Uses standard QGC cal mavlink messaging
- Timeout if no battery connect
- Better error handling and cleanup
2015-05-22 09:29:59 -07:00
Don Gagne a6af1fc0fa Add "calibrate esc" command 2015-05-22 09:28:52 -07:00
Lorenz Meier 9cf1b4ba7a Merge branch 'release_v1.0.0' 2015-05-22 07:24:57 +02:00
Lorenz Meier 283baff956 Merge pull request #2212 from mcharleb/multi-os-support
Fix double build when using new make target syntax
2015-05-22 07:06:51 +02:00
Mark Charlebois 6ae6c29879 QuRT: Changed PX4_DEBUG output from verbose to omit
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 15:45:13 -07:00
Mark Charlebois f1f562a94d POSIX: Fixed orb_advertise failure
There were an insufficient number of devmap entries allocated and
when they ran out, new orb_advertise requests would fail.

Also added a new logging macro for the Linux build to show the
calling pthread if enabled.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 15:35:11 -07:00
Mark Charlebois 2d22e8325d Fix double build when using new make target syntax
When make is invoked as "make posix posix_default"
it will build the posix_default target twice. The Makefile was
fixed to correct this.

If "make posix" is run, the Makefile still calls "make PX4_TARGET_OS=posix".

If "make posix posix_default" is run, the posix target just exports
PX4_TARGET_OS=posix and then make evaluates the next goal (posix_default).

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 13:45:53 -07:00
Lorenz Meier 323759bb52 commander: Fix error checking and handling of level routine 2015-05-21 22:06:54 +02:00
Lorenz Meier 8c854d94d7 Merge pull request #2209 from mcharleb/multi-os-support
Added ability to set OS specific path for dataman file
2015-05-21 20:10:01 +02:00
Roman Bapst 5a53a4f7bf do not update mission if it has unsupported mission items 2015-05-21 20:09:15 +02:00
Roman Bapst afa8266255 do not update mission if it has unsupported mission items 2015-05-21 20:08:49 +02:00
Lorenz Meier be58ced1b2 Merge pull request #2210 from mcharleb/qurt-test
Sensors: added missing px4_close and removed _exit() call
2015-05-21 19:46:06 +02:00
Mark Charlebois cb5db8ec83 dataman: Fixed file permissions on file creation
In Linux the file was being created with incorrect permissions.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 10:37:15 -07:00
Mark Charlebois 0c3681c896 Sensors: added missing px4_close and removed _exit() call
The QuRT build was broken from the call to exit. While fixing
the code to clean up before returning, I found a missed call
to px4_close.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 10:26:45 -07:00
Mark Charlebois f24d807b66 QuRT: Fixed file descriptions for command_<config>.c
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 10:23:46 -07:00
Mark Charlebois dc1c4a30e1 Makefile multi-target support
NuttX is still the default target and all NuttX configs can still
be built with:

make

Individual NuttX, POSIX, and QuRT configs can now be built more
easily by specifying the target and configs:

make posix posix_default
make qurt qurt_hello
make nuttx aerocore_default

Running make with just the target will make all the configs for
that target:

make nuttx
make qurt
make posix

The help is also target specific:
make nuttx help
make qurt help
make posix help

"make help" will still assume you want help for the NuttX target

Added a new QuRT config called qurt_hello as a sample config to
test buiding in different commands for separate configs.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 10:23:46 -07:00
Mark Charlebois 7da96b3bac POSIX: Fixed uint64_t print in generated topic_listener.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 10:23:46 -07:00
Mark Charlebois 05720b5aef Added ability to set OS specific path for dataman file
dataman can now be started using:

dataman start -f filepath

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 09:24:48 -07:00
Lorenz Meier 9179fcefc9 Calibration state machine fixes, generates less bogus error messages during calibration 2015-05-21 17:25:37 +02:00
Lorenz Meier fb4dc27bc9 commander: Improve user feedback on sensor health, in particular during calibration 2015-05-21 10:27:12 +02:00
Lorenz Meier 9e5978b2b1 Merge pull request #1984 from PX4/eigen3
Eigen 3 Support
2015-05-21 09:12:11 +02:00
Lorenz Meier c8f500d254 Merge pull request #2204 from mcharleb/posix-arm
POSIX: changes to support posix build on ARMv7
2015-05-21 08:39:59 +02:00
Lorenz Meier 278fb8d794 Merge pull request #2205 from mcharleb/qurt-test
Qurt test
2015-05-21 08:19:41 +02:00
Daniel Agar 3bc10d037d test_eigen minor fixes
-disable quaternion tests for now
2015-05-21 00:20:49 -04:00
Lorenz Meier 22cd71d5c3 Eigen3: Enable test 2015-05-20 23:40:41 -04:00