Commit Graph

23069 Commits

Author SHA1 Message Date
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 18626661b6 aerofc: Enable I2C bus 2
Now that UART3 is no longer in use we can use this I2C bus.
2017-08-02 11:49:10 +02:00
José Roberto de Souza 79b84a08f5 nuttx-configs: aerofc: Remove GPIO_I2C*_S**_GPIO
Nothing use this define right now so lets remove it.
Several other boards also have this defines that can also
be removed.
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
David Sidrane 6bd4e84636 BACKPORT:stm32_serial consolidate patches.
This patch brings stm32_serial eqivilent to upstream Nuttx
   without the IRQ changes.
2017-08-02 00:45:13 +02:00
David Sidrane 9867ce455d Backport of upstream NuttX MTD FLASH driver: Flash corruption fix
0a85a41 MTD FLASH driver: Clone Sebastien Lorquet's m25px change to at25, is25xp, ramtron, and sst25xx.

 Clone Sebastien Lorquet's m25px change to at25, is25xp, ramtron, and sst25xx.
2017-08-02 00:45:13 +02:00
Vicente Monge e7b7b27ef8 Adding src/lib/micro-CDR to files_to_check_code_style.sh 2017-08-01 22:32:43 +02: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 c05ea542d9 Added requested information about generate_microRTPS_bridge.py
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
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 b31006dd78 Converted os.system calls to python methods
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 fc3d49240e Added missing "%"
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Daniel Agar 1e3fa64eff microRTPS_client printf PRIu64 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 5feaa92bf7 Fixed eagle_default build
Was missing topics to send and receive vis RTPS

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Daniel Agar 30f8e5751d Makefile simplify colorecho for CI 2017-08-01 22:32:43 +02:00
Daniel Agar 3eea8eb301 circleci follow latest OSX documentation 2017-08-01 22:32:43 +02:00
Daniel Agar bfc9ed107e circleci install cmake 2017-08-01 22:32:43 +02:00
Daniel Agar 81d596c15f circleci xcode 8.2 -> 8.3.3 (macOS 10.12 Sierra) 2017-08-01 22:32:43 +02:00
Mark Charlebois fd86ab7f69 Fixed clock_gettime to be portable to OSX
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Daniel Agar 319c1d2046 microRTPS_transport.cxx fix code style 2017-08-01 22:32:43 +02:00
Daniel Agar 17727b5a82 clang-tidy ignore clang-analyzer-unix.API 2017-08-01 22:32:43 +02:00
Daniel Agar 5b1e3b3257 microRTPS readability braces 2017-08-01 22:32:43 +02:00
Daniel Agar 2151890e50 urtps microRTPS_transport.h code style 2017-08-01 22:32:43 +02:00
Daniel Agar 62fc3fb5ab microRTPS_transport use uint8_t for topic_ID 2017-08-01 22:32:43 +02:00
Daniel Agar e6633da832 microRTPS_client printf format fix 2017-08-01 22:32:43 +02:00
Daniel Agar b79e682630 circleci brew install fastrtps 2017-08-01 22:32:43 +02:00
Daniel Agar 1fcca041f3 docker_run.sh update px4-dev-snapdragon to FastRTPS 2017-07-28 tag 2017-08-01 22:32:43 +02:00
Daniel Agar 95a496d121 docker_run.sh update to FastRTPS 2017-07-27 tag 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 2b86dd1fdb Added RTPS/ROS2 maintainer 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
Lorenz Meier 587f4d8f33 jMAVSIm: Explicitely configure to 500 Hz 2017-08-01 19:50:35 +02:00
Lorenz Meier 879356c25b SITL gazebo plugin: Harden dynamics of delta quad 2017-08-01 19:50:35 +02:00
Lorenz Meier d1973a6c7f jMAVSim: Update submodule to use new timestamp API 2017-08-01 19:50:35 +02:00