14874 Commits

Author SHA1 Message Date
Beat Küng
40c696ff49 navigation.h: add dataman structs for fence & save points 2017-08-04 18:08:51 +02:00
Beat Küng
65e0d63ba6 commander: avoid duplicated publish, cleanup log output for offboard_mission update
- orb_advertise already publishes a struct, no need for orb_publish
- mavlink_log_critical goes to the console too
2017-08-04 18:08:51 +02:00
Beat Küng
7206bf86dc navigator mission: fix printf log levels 2017-08-04 18:08:51 +02:00
Beat Küng
52ca49c682 geofence: remove fence & fence_vertex messages
- this was never read
- it was implemented wrong, leading to memory access violations in
  publishFence (an integer was passed instead of the fence_s struct)
2017-08-04 18:08:51 +02:00
Lorenz Meier
b82975f73d UAV CAN ESC: Use new task header 2017-08-02 21:18:35 +02:00
Lorenz Meier
36b5795625 UAV CAN node main: Use new task header 2017-08-02 21:18:35 +02:00
Lorenz Meier
22d4178ebc UAVCAN: Use new task header 2017-08-02 21:18:35 +02:00
Lorenz Meier
d3aaee65c0 Iridium: Use new task header 2017-08-02 21:18:35 +02:00
Lorenz Meier
144a030676 IO: Use default scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
a2b23bf23a FMU: Use default scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
482a98facb MC pos control: Use default scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
727bb4886d Fixed wing: Use default scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
08e49806c8 Logger: use default scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
60c96d9dd6 Navigator: Use default scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
017a29cba1 Sensors hub: Use default scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
b07dde78e3 Move scheduling priorities into px4_tasks to simplify header usage 2017-08-02 21:18:35 +02:00
Lorenz Meier
b26c771ea6 MC attitude controller: Use default scheduling order 2017-08-02 21:18:35 +02:00
Lorenz Meier
5f12259dfd FW att controller: Use attitude controller scheduling order 2017-08-02 21:18:35 +02:00
Lorenz Meier
cae4694d6a EKF: Use estimator scheduling order 2017-08-02 21:18:35 +02:00
Lorenz Meier
49198af6c7 FMU driver: Use default actuator output scheduling order 2017-08-02 21:18:35 +02:00
Lorenz Meier
494f7e4efb Properly document scheduling priorities 2017-08-02 21:18:35 +02:00
Lorenz Meier
501cec2469 Scheduling priorities: Formatting and sorting according to current system usage
this reflects what the system is currently using.
2017-08-02 21:18:35 +02:00
Lorenz Meier
3ca474f045 Ground rover: Use standard scheduling setup 2017-08-02 21:18:35 +02:00
Lorenz Meier
d8cc38728d Multicopter attitude controller: Run at maximum priority.
This allows for a quicker update from sensors if the estimator runs at the default priority of the estimator class. If there is no direct sensor pass-through then it will wait for an estimator update.
2017-08-02 21:18:35 +02:00
Lorenz Meier
8dd96e960d Fixed wing attitude controller: Run at maximum priority.
This ensures attitude control runs first before any other system component.
2017-08-02 21:18:35 +02:00
Lorenz Meier
c94e54bbab Commander: Handle HITL state in all places consistently 2017-08-02 15:12:25 +02:00
Lorenz Meier
9d49690f17 GPS simulation: Manage delays correctly
The GPS simulation now mimicks the real driver more closely and should provide even GPS delays. The delays themselves are set by the simulator, and default to 120 ms for Gazebo
2017-08-02 13:06:59 +02:00
José Roberto de Souza
7d46858ae4 aerofc: Use the additional I2C
This change plus the new FPGA RTL(version 0xC1 or higher) will make
use of the new I2C bus, this new bus will be shared between aerofc_adc
and ll40ls(if connected) and leaving the old bus just to IST8310.
2017-08-02 11:49:10 +02:00
José Roberto de Souza
66e77c49ae ll40ls: Refactor interface(PWM and I2C) selection and allow probe in more I2C buses 2017-08-02 11:49:10 +02:00
José Roberto de Souza
fb3d60850e aerofc_adc: Add support to use others I2C besides PX4_I2C_BUS_EXPANSION 2017-08-02 11:49:10 +02:00
José Roberto de Souza
ce180af4ca aerofc: Move GPS to UART7
The UART3 also have the I2C bus 2 functions so moving GPS to UART7 to
have one additional I2C.
To keep GPS working is also necessary update the FPGA RTL to version
0xC1 or higher.
2017-08-02 11:49:10 +02:00
Julien Lecoeur
2c0539ae9c Move selected power source to inst 0 only if nb bricks > 1
When trying to move the selected power source to the first publication instance
on systems where there is only one power source, the compiler issued the warning
```
../src/modules/sensors/sensors.cpp:512:54: error: array subscript is outside array bounds [-Werror=array-bounds]
         tmp_h = _battery_pub[_battery_pub_intance0ndx];
```
because it could not verify that _battery_pub_intance0ndx would always be 0.

Wrap the block between `#if BOARD_NUMBER_BRICKS > 1 [...] #endif`
to ensure no out of bound subscript and to remove the warning.

Remove unused _battery_pub_intance0ndx variable when nb bricks = 1
2017-08-01 12:59:40 -10:00
Daniel Agar
9fb5c4f0e9 navigator land abort use reposition (#7574) 2017-08-01 18:59:12 -04:00
Vicente Monge
bcf9930e32 Updating micro CDR submodule 2017-08-01 22:32:43 +02:00
Vicente Monge
7ffdde8938 Back to eProsima micro CDR repo 2017-08-01 22:32:43 +02:00
Vicente Monge
c5e2745a19 Fixes for manual bridge generation
Fix for some forgot .cxx extensions
Fix for 'print' python 2 3 compatibility
Fix for topic ID type change
2017-08-01 22:32:43 +02:00
Mark Charlebois
131496ce79 Reverted change to stack size for mavlink module
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
e933d4667f Fixed code format
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
0f758fc50a Fixed copyright on microRTPS_client_dummy.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
be090c0109 Fix GENERATE_RTPS_BRIDGE logic
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
f3e2648747 Use dummy bridge stub if fastrtpsgen not found
If the build config specifies RTPS topics to import/export and fastrtpsgen is not installed
on the build machine, then a dummy stub is used for the RTPS bridge.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
d24503242e Extracted non-template code from template
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
2ed2403d04 Improved comment language
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
049c769293 Converted cxx to cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
b313bfdaa9 Only run fastrtpsgen if needed
If no RTPS import or export messages defined, then don't call fastrtpsgen

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
187cbbcfe6 Updated src/lib/micro-CDR
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
02e9063089 Remove src/lib/micro-CDR
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois
b19dc0650e Fixed format issues and missing micro-CDR in a config file
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Vicente Monge
c85039e413 Fixing rebase conflicts 2017-08-01 22:32:43 +02:00
Lorenz Meier
d69c53827f HRT sim: Remove outputs that smash simulator stack 2017-08-01 20:25:38 +02:00