Commit Graph

15363 Commits

Author SHA1 Message Date
Ben Dyer 442c0d47ef Fix off-by-one error in parameter count [resolves PX4/Firmware#3162] 2015-11-20 23:32:54 +11:00
tumbili 5303a63da0 mc_pos_control: code formatting 2015-11-20 13:16:42 +01:00
tumbili ff5db6b1be fixed alt hold bug 2015-11-20 13:10:46 +01:00
Ben Dyer a27a6acb54 Don't call param_opcode unless there are dirty nodes [resolves PX4/Firmware#3160] 2015-11-20 22:29:40 +11:00
Lorenz Meier 9c80375a78 Navigator: Fix header file name typo 2015-11-20 11:36:57 +01:00
Lorenz Meier 703979c892 jMAVSim update: Have GPS after 1 second 2015-11-20 11:33:22 +01:00
Lorenz Meier a242c0ff6d Commander: Add takeoff command handler. Do not check RC config in SITL RC mode 2015-11-20 11:15:17 +01:00
Lorenz Meier e96fd83565 Navigator: Support takeoff command 2015-11-20 11:14:51 +01:00
Lorenz Meier 7d59213a01 Add takeoff commands / flags 2015-11-20 11:14:36 +01:00
Lorenz Meier 4576e515e2 Merge branch 'master' into driver_framework 2015-11-20 09:46:25 +01:00
Lorenz Meier 1f33451690 POSIX: Fix code style 2015-11-20 09:46:05 +01:00
Lorenz Meier 12e09d70a9 Merge branch 'master' into driver_framework 2015-11-20 09:24:13 +01:00
Lorenz Meier 3c8a52a72b POSIX shell: Fix enter handling 2015-11-20 09:23:57 +01:00
Lorenz Meier 4606bc927e Fix SITL / jMAVSim with correct start script 2015-11-20 09:23:39 +01:00
Lorenz Meier 75e962ee7c Merged master into driver_framework 2015-11-20 09:14:37 +01:00
Lorenz Meier c9c5f59bce Update driver framework to include Mac build fixes 2015-11-20 09:05:38 +01:00
Lorenz Meier 71320ac0fe Commander: Add decimal hints 2015-11-20 09:01:15 +01:00
Mark Charlebois ec250ea9d4 Updated to latest DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 20:40:45 -08:00
Mark Charlebois 59b1e6b559 Added qurt stub for pthread_cont_init
Updated to latest DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 20:15:14 -08:00
Mark Charlebois 34410e7ce4 Changes for updated DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 19:03:10 -08:00
Lorenz Meier 96b3239ce7 Merge pull request #3225 from PX4/master_commander_stack_size
BUGFIX:Take 2! CLI "commander calibrate acel" resulted in hardfault
2015-11-19 23:27:18 +01:00
David Sidrane d5c89c5392 BUGFIX:Take 2! CLI "commander calibrate acel" resulted in hardfault
Processes: 20 total, 4 running, 16 sleeping
CPU usage: 65.19% tasks, 0.56% sched, 34.24% idle
Uptime: 387.573s total, 135.045s idle

 PID COMMAND                   CPU(ms) CPU(%)  USED/STACK PRIO(BASE) STATE
   0 Idle Task                  135045 34.242     0/    0   0 (  0)  READY
   1 hpwork                       7495  1.693   956/ 1592 192 (192)  w:sig
   2 lpwork                       1576  0.376   572/ 1592  50 ( 50)  w:sig
   3 init                         1655  0.000  1404/ 2496 100 (100)  w:sem
 170 top                             9  0.000  1204/ 1696 100 (100)  RUN
  87 dataman                         1  0.000   652/ 1192  90 ( 90)  w:sem
 105 sensors                     31810  8.090  1644/ 1992 250 (250)  w:sem
 107 gps                          1217  0.000   708/ 1192 220 (220)  w:sem
 109 commander                   49016 17.027  3412/ 3596 215 (215)  w:sig +100 184 head room
 114 mavlink_if0                  2607  0.564  2092/ 2392 100 (100)  READY
 115 mavlink_rcv_if0                27  0.000   804/ 2096 175 (175)  w:sem
 122 sdlog2                        849  0.188  2068/ 2992  70 ( 70)  READY
 125 commander_low_prio           4678  0.000  2740/ 2872  50 ( 50)  w:sem +200 132 head room
 142 attitude_estimator_q        65555 16.933  1956/ 2096 250 (250)  w:sem
 144 position_estimator_inav     23877  6.208  4588/ 4992 250 (250)  w:sem
 148 mc_att_control              31210  7.902  1132/ 1496 250 (250)  w:sem
 150 mc_pos_control               2901  0.658  1044/ 1496 250 (250)  w:sem
 155 navigator                    2219  0.470   828/ 1496 105 (105)  w:sem
 165 mavlink_if1                 21195  5.079  2156/ 2392 100 (100)  w:sig
 167 mavlink_rcv_if1               116  0.000  1236/ 2096 175 (175)  w:sem
2015-11-19 11:44:09 -10:00
Lorenz Meier 7cc6674bad Merge pull request #3221 from PX4/master_macro_wrap
BUGFIX: Multiple  PREFLIGHT FAIL: xxx messages - multiline macros not…
2015-11-19 19:19:14 +01:00
Lorenz Meier c51f414b22 Vehicle status remove unused field 2015-11-19 19:09:42 +01:00
Lorenz Meier 19fc766c7d Merge pull request #3223 from PX4/master_commander_stack_size
BUGFIX:CLI "commander calibrate acel" resulted in hardfault
2015-11-19 19:04:51 +01:00
David Sidrane 2ffccc5c9f BUGFIX:CLI "commander calibrate acel" resulted in hardfault 2015-11-19 07:50:45 -10:00
David Sidrane e326e190cb BUGFIX: Multiple PREFLIGHT FAIL: xxx messages - multiline macros not wrapped in do/while 2015-11-19 07:47:11 -10:00
Mark Charlebois c4438bf50a Fix to move DriverFramework includes to common
Nuttx now gets to link phase. But there are two unresolved symbols:

arm-none-eabi/include/c++/4.7.4/bits/basic_string.h:1128: undefined reference to `std::string::assign(char const*, unsigned int)'
arm-none-eabi/include/c++/4.7.4/bits/stl_list.h:1534: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 09:35:18 -08:00
Lorenz Meier 7a5391a723 Commander: Fix preflight check reporting and simplify logic 2015-11-19 18:28:16 +01:00
Mark Charlebois 0383324a89 Merge pull request #3214 from mcharleb/driver_framework_latest
Driver framework latest
2015-11-19 09:02:03 -08:00
Lorenz Meier f2b988dcaa Fix error reporting logic 2015-11-19 17:48:39 +01:00
Lorenz Meier 173edcef63 Commander: Fix reporting in presence of no telemetry link 2015-11-19 16:33:56 +01:00
Lorenz Meier ca125bccbd Update error message 2015-11-19 16:03:36 +01:00
Lorenz Meier c77c0f927b Gyro cal: be more forgiving in calibration offset 2015-11-19 15:54:57 +01:00
Lorenz Meier 8b70bd2487 Commander: Increase stack for commandline calibration 2015-11-19 15:53:32 +01:00
Lorenz Meier 020844e9e9 Gyro: also output to console 2015-11-19 15:53:08 +01:00
Roman Bapst 08fd4c8eb9 Merge pull request #3216 from PX4/listener
topic_listener: allow listening to actuator control groups
2015-11-19 10:05:31 +01:00
Lorenz Meier ab92ed35a6 Merge pull request #3215 from PX4/sitl_shell
implemented better shell for SITL
2015-11-19 09:31:48 +01:00
Roman a8ab52b444 topic_listener: allow listening to actuator control groups 2015-11-19 09:13:44 +01:00
Roman 5103ba1c23 implemented better shell for SITL 2015-11-19 09:09:51 +01:00
Mark Charlebois 054b5420a6 Code style fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:35:16 -08:00
Mark Charlebois 169a873457 Fix compiler complaint about bogus uninitialized variable
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:33:38 -08:00
Mark Charlebois 7111e9d4c9 Removed -lstdc++ for nuttx build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:18:22 -08:00
Mark Charlebois 52957ab0cc Don't add DriverFramework dir for NuttX
I am unable to get the nuttx build dependencies set up so that
it builds the export dir before it builds df_driver_framework.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:14:48 -08:00
Lorenz Meier bb87dafdff Merge pull request #3206 from mcharleb/driver_framework_latest
Added changes to sensors.cpp for DriverFramework
2015-11-18 22:23:39 +01:00
Mark Charlebois af155b8e59 Fixed SITL build
The SITL build seems to run correctly now

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 13:02:39 -08:00
Mark Charlebois b8c40ecb6b Enabled DriverFramework drivers for SITL build
The code here works only for SITL at the present time.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 11:58:21 -08:00
Roman Bapst b156519468 Merge pull request #3210 from PX4/tailsitter_gazebo
Tailsitter gazebo
2015-11-18 17:39:14 +01:00
tumbili 0fa0654f5a sitl_gazebo cleanup 2015-11-18 16:11:11 +01:00
tumbili 16aa852c53 merged master into sitl_gazebo 2015-11-18 16:11:10 +01:00