Mark Charlebois
2446dfec16
Fixups after merge from master
...
MuORB was missing the orb_exists() function added to uORB.cpp
gyro_calibration.cpp still had some merge conflicts that had not been resolved.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-28 12:28:10 -07:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
2a46e0f0b6
Merge pull request #2100 from PX4/fix_log_message_ID
...
fixed message ID
2015-04-28 16:38:20 +02:00
Roman Bapst
c3111ecadf
added option for esc calibration
2015-04-28 15:15:46 +02:00
Roman Bapst
dd0ed9b446
added esc calibration option
2015-04-28 15:15:46 +02:00
Roman Bapst
be03f98d64
added esc calibration routines
2015-04-28 15:15:46 +02:00
Roman Bapst
9eac4b995f
fixed message ID
2015-04-28 12:15:42 +02:00
Mark Charlebois
c832f4c55c
Small fixes for debug macros
...
Fixed print format for __LINE__ to %d
Fixed if/else that breaks with the debug macro expansion. The if/else
needs to use braces to allow macro expansion.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 22:28:39 -07:00
Mark Charlebois
0bf690d36a
Used new debug macros for sim.cpp
...
sim.cpp was causing the posix shell to have continuous debug output.
Used debug macros to suppress output
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 22:15:18 -07:00
Mark Charlebois
09718fa324
Revamped debug macros
...
Created px4_debug,h to define:
PX4_DBG
PX4_INFO
PX4_WARN
PX4_ERR
These enable OS specific mappings to be made, filtering, etc.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 21:58:54 -07:00
Mark Charlebois
6ab25ae890
QuRT: workaround for __sync_bool_compare_and_swap
...
The Hexagon compiler version does not support __sync_bool_compare_and_swap.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 16:51:33 -07:00
Mark Charlebois
58595e2e78
QuRT: fixed hard coded path in toolchain_hexagon.mk
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 16:21:30 -07:00
Mark Charlebois
a284a7b6d9
POSIX: added separators between commands run from shell
...
Output a separator and the command called to make the ouput easier
to read.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 14:03:23 -07:00
Mark Charlebois
58a33dd26a
Added simulated tone_alarm and enabled led for POSIX
...
Added simulated tone_alarm class and enabled led class for posix build.
The simulator implements the led_init, led_on, led_off, led_toggle calls.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 14:00:06 -07:00
Mark Charlebois
7fa33d0d2b
posix: workqueue uses TICK scaling from px4_defines.h
...
px4_defines.h defines USEC2TICK(x) and TICKS_PER_USEC.
These are now used and allow tick scaling.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 13:48:54 -07:00
Roman Bapst
bd1c3363df
added new vtol mav types
2015-04-27 22:22:52 +02:00
Roman Bapst
06352bee62
set mav type for firefly6
2015-04-27 22:22:52 +02:00
Mark Charlebois
3c957e57e7
Posix: fixed time scaling for work queues
...
In work queues, delay is in ticks. Needed to check elapsed time
in ticks not in milliseconds.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 13:17:28 -07:00
Mark Charlebois
7390f50b67
Posix: cleanup of bad file rename
...
Deleted obsolete file and fixed renaming of wqueue_start_posix.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 12:21:00 -07:00
Mark Charlebois
17233faaa0
Removed topic_listener.cpp from gitignore
...
The generated file is not created in the Build tree and is
automatically ignored
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 09:54:47 -07:00
Mark Charlebois
5b91f172e3
topic_listener: moved generated file to Build dir
...
Moved the generated topic_listener.cpp to the Build tree so it is
cleaned when make clean is called.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 09:52:28 -07:00
Lorenz Meier
668e634bc2
Merge pull request #2095 from UAVenture/firefly_airspeed
...
Ensure that the airspeed preflight check logs to the console.
2015-04-27 15:36:06 +02:00
Simon Wilks
ef63babb71
Make sure circuit breakers are ready before the first preflight check call.
2015-04-27 13:30:37 +02:00
Simon Wilks
868b9b33ed
Make sure we log the airspeed check to the console as well.
2015-04-27 13:30:37 +02:00
Lorenz Meier
1420a0c74c
Sensors: Be less verbose
2015-04-27 09:07:53 +02:00
Lorenz Meier
16b033982c
Dataman: Be more compact in boot output
2015-04-27 09:07:53 +02:00
Lorenz Meier
3f8c81433e
commander: Provide more useful mission feedback
2015-04-27 09:07:53 +02:00
Lorenz Meier
d326106980
RGB led: Let user know we just did not find one
2015-04-27 09:07:53 +02:00
Lorenz Meier
ebaac07ab2
PX4 flow driver: Let user know we just did not find one
2015-04-27 09:07:53 +02:00
Lorenz Meier
3835b7a6ec
HMC5883: Let user know we just did not find one
2015-04-27 09:07:53 +02:00
Lorenz Meier
3c76006541
Board drivers: Only print if init fails
2015-04-27 09:07:52 +02:00
Lorenz Meier
346798b129
blinkm: Let user know that we just did not find one and this is not an error
2015-04-27 09:07:52 +02:00
Lorenz Meier
1a527ba9b4
ROMFS: Be less verbose on boot
2015-04-27 09:07:52 +02:00
Lorenz Meier
6755c0de01
param cmd: Show used and normal list indices
2015-04-27 09:04:07 +02:00
Lorenz Meier
965e7cce03
mavlink app: Robustify param handling
2015-04-27 09:03:49 +02:00
Lorenz Meier
ed12d9c733
systemlib: Fix param used counting
2015-04-27 09:03:35 +02:00
Mark Charlebois
8e589adb24
topic_listener: added missing build deps
...
The posix build would complain that toipc_listener.cpp did not exist
and there was no rule to create it.
The required rule was added to src/systemcmds/topic_listener/module.mk
The script generate_listener.py is run from the Build tree and needs to
access $(PX4_BASE)/msgs so $(PX4_BASE) is now passed as an argument to
generate_listener.py
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-26 20:02:58 -07:00
mcharleb
3cabfda4c1
Merge pull request #2 from tumbili/topic_listener
...
Topic listener
2015-04-26 19:06:24 -07:00
Lorenz Meier
8e4c78cd2d
Load all GCS-required params
2015-04-27 00:21:25 +02:00
Simon Wilks
5c9c058adf
Add missing variable initialisation.
2015-04-26 23:37:27 +02:00
Lorenz Meier
b739ad1a80
Remove reference to completely unused parameter
2015-04-26 23:36:16 +02:00
tumbili
3af6e9d76e
added autogenerated code for topic listener tool
2015-04-26 22:17:16 +02:00
Lorenz Meier
a57030c836
commander: Do not lock down the system once HIL has kickeed in
2015-04-26 18:27:48 +02:00
Lorenz Meier
b07964660e
commander: prune old code, do not run preflight checks when nothing relevant in the system is changing.
2015-04-26 17:39:00 +02:00
Lorenz Meier
362672ece8
commander: Fix calibration feedback so that QGC picks up all error conditions
2015-04-26 17:33:45 +02:00
Don Gagne
a7f88d97b8
Sensor cal rework
...
- cancel support
- versioned cal messages
- better still detection
- better messaging
2015-04-26 14:34:19 +02:00
Lorenz Meier
ecbff2885c
FMUv1 config: Recuperate unused interrupt stack space
2015-04-26 14:33:57 +02:00
Lorenz Meier
b7409635b7
Mission feasibility checker: Do not use static where its not needed.
2015-04-26 14:33:57 +02:00
Lorenz Meier
f1ff61ec4f
sensors app: Move a static member to being a class member
2015-04-26 14:33:57 +02:00
Lorenz Meier
1d283bf3c1
MAVLink app: Fix usage of static struct, make streams list const
2015-04-26 14:33:57 +02:00