39916 Commits

Author SHA1 Message Date
Ramon Roche
3de4e46cdc
github: debug variables in run scope 2022-02-09 10:24:34 -08:00
Ramon Roche
85ab62dd67
github: try to fix env variables 2022-02-09 09:23:50 -08:00
Ramon Roche
b26ba88d40
github: try removing newline again 2022-02-08 21:56:21 -08:00
Ramon Roche
5132ffc0e0
github: remove whitespace from env variable 2022-02-08 21:49:49 -08:00
Ramon Roche
195082ccd1
github: docker run fix environemnt variables 2022-02-08 20:03:33 -08:00
Ramon Roche
f0f82b6994
github: import tagged image 2022-02-08 15:45:59 -08:00
Ramon Roche
e0dc8166dd
github: import with tag name 2022-02-08 11:36:34 -08:00
Ramon Roche
c181aefff7
github: debug docker build 2022-02-03 11:06:39 -08:00
Ramon Roche
963e5f5df9
github: install only required pip dep 2022-02-03 10:14:11 -08:00
Ramon Roche
991b288afb
github: fix docker builder run path 2022-02-03 09:16:43 -08:00
Ramon Roche
f3bfad4e8a
github: bump runner to python 3.9 2022-02-03 08:59:12 -08:00
Ramon Roche
0d319f7a2f
github: run non interactive 2022-02-03 08:17:37 -08:00
Ramon Roche
c09f7af718
github: fix container name 2022-02-02 22:24:51 -08:00
Ramon Roche
a2fc0f7924
container: docker import file path 2022-02-02 21:49:40 -08:00
Ramon Roche
ae0ba7cd98
container: build with no sim tools
we are removing the gazebo sim tools from this image for now
as we are trying to slim down the image
2022-02-02 10:38:45 -08:00
Ramon Roche
083a043776
github: docker import from previous job 2022-02-02 08:20:13 -08:00
Ramon Roche
854d529c81
github: generate target list 2022-02-01 21:49:52 -08:00
Ramon Roche
419c849a8e
github: remove replaced actions
workflows were replaced by a single nuttx build
2022-02-01 20:56:04 -08:00
Ramon Roche
c19ed79237
container: add gnu c compiler for the arm64 arch 2022-02-01 20:40:49 -08:00
Ramon Roche
104ea0c53a
github: build nuttx with docker 2022-02-01 20:30:58 -08:00
Ramon Roche
fc8cdb0b6f
tools: docker runner accepts tags 2022-02-01 20:30:58 -08:00
Ramon Roche
64276b0c8d
github: docker build and push to registry
build docker images on:
* every pull request
* push to master
* stable release published

pushes to registry if:
* is not a pull request
* is master branch
  * tag as 'latest'
* is the result of release
  * tag with release name
2022-02-01 20:30:57 -08:00
Ramon Roche
939186fa7d
github: build docker on pr workflow 2022-02-01 20:30:57 -08:00
Ramon Roche
fc7e422821
container: general purpose multiarch docker
* new docker container using ubuntu focal (20.04)
* adds nuttx building for any supported target
* adds initial support for gazebo simulation via X11
* updates docker_run.sh script to initialize container
* NEEDS: updated ubuntu.sh script

How to run:
```
./Tools/docker_run.sh make all_variants_px4_fmu-v5x
```
2022-02-01 20:30:57 -08:00
Ramon Roche
92deb37f64
setup: robustify install script and update deps
* increased support for running within a container
* optionally install OpenJDK 14
* optionally install RTPS
* adds better output messages
2022-02-01 20:30:57 -08:00
Ramon Roche
c6a019a9d3
ci: build every target on a single step
Switching to use an all_variants approach to reduce the number of jobs
we are creating per workflow since are starting to get throttled by
GitHub, and we have limited resources.

TODO: Build artifact uploadeds to S3, and GH Releases
2022-02-01 20:30:57 -08:00
David Sidrane
3358712b92 UAVCAN Node Correct C to Kelvin conversion 2022-02-01 21:49:29 -05:00
David Sidrane
ec441fdba6 gnss-m9n-f4:Add serial_passthru 2022-02-01 21:49:29 -05:00
David Sidrane
3fecf8a23c Added ability to launch passthru on u-center traffic 2022-02-01 21:49:29 -05:00
David Sidrane
48c32f7795 Added serial passthru
This addes the command serial_passthru which will pass data from one
   device to another. This can be used to use u-center connected to USB
   with a GPS on a serial port.

   Usage: serial_passthru [arguments...]
      -e <val>    External device path
                  values: <file:dev>
      -d <val>    Internal device path
                  values: <file:dev>
      [-b <val>]  Baudrate
                  default: 115200
      [-t]        Track the External devices baudrate on internal device

    With the -t option baudrate changes made on the PC connected to the USB
    will be set to the intrenal device.
2022-02-01 21:49:29 -05:00
David Sidrane
0c8a5b3da1 matek-gnss-m9n-f4:Enable IO compensation 2022-02-01 21:49:29 -05:00
David Sidrane
2761112466 NuttX with CDCACM/OTGID backports
disable otg id
   cdcacm:support c_cflag in the termios structure
   and speed
2022-02-01 21:49:29 -05:00
David Sidrane
cb06f82f0f gnss-m9n-f4:Board support clean up
SD is on SPI3 - correct pin mapping
   Fix DMA Mapping for all SPI and RX DMA on U[S]ART RX
   Fix Memory MAP SRAM size
   Removed unused GPIO
   Used proper I2C definitions
   Ensure Watchdog is configured for debugging
   Fixed FLASH param definitions
   Removed unedded SPI init

matek_gnss-m9n-f4:Correct Board ID and Size

Build order SJF

Added Support for F40x
2022-02-01 21:49:29 -05:00
dirksavage88
d92244b664 Initial Matek m9nf4 can node support
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Added uavcan board identity

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Added usb.c, LED rework may be needed

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

PX4 dates added to all files

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Matek M9NF4 CAN Node initial board support

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Changed GPS to ttyS3 in board sensors, led board on/off definitions

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Added app descriptor section to canbootloader linker script

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Changed board naming convention to match vendor

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Changed canbootloader and nsh menuconfig

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Test defconfig changes, IRQ hardfault in bootloader

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

Working canbootloader, App firmware stil WIP

Working App firmware: changed romfsroot to 'cannode', TODO: verify GPS & IMU config

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

TODO: Debug GPS no sats/low sats issue, no magnetometer on some boards

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
2022-02-01 21:49:29 -05:00
Daniel Agar
f3e2a197ad
move vehicle at rest detection ekf2 -> land_detector
- move vehicle at reset detection ekf2 -> land_detector
 - ekf_unit: reduce init period
   - Fake fusion is when at rest is quite strong and makes the variance reduce rapidly. Reduce the amount of time we wait before checking if the variances are still large enough.
 - ekf_unit: reduce minimum vel/pos variance required after init
   - Fake pos fusion has a low observation noise, making the vel/pos variances reduce quickly.

Co-authored-by:: bresch <brescianimathieu@gmail.com>
2022-02-01 17:50:19 -05:00
Daniel Agar
e387f302f9 mavlink: streams/COMMAND_LONG don't send internal vehicle_commands 2022-02-01 09:15:10 -05:00
Jukka Laitinen
f8a090e85e Remove HYGROMETERS from fmu-v5 stackcheck build and rename to COMMON_HYGROMETERS
The stackcheck build flash space overflows after adding hygrometers.

Also follow the naming convention of other similar config flags, and rename the
config.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-02-01 08:56:25 -05:00
Beat Küng
a4206ba553 logger: log excluded optional topics
Can be displayed with:
ulog_info <file> -m excluded_optional_topics
2022-02-01 08:40:02 +01:00
Roman Dvořák
2b1229786e Multi instance SHT3x driver support 2022-01-31 21:38:26 -05:00
Roman Dvořák
ed475ca324 SHT3x driver
SHT3x driver, clean code
changes leading to merge TFHT with CUAV hygrometer
Delete humidity_temperature.msg
Update CMakeLists.txt
rename 'atmosphefir_quantities' to 'hygrometers'
fix logging
removed cmake files
fix PR issues
2022-01-31 21:38:26 -05:00
mcsauder
e554f0174d Format whitespace and group checkall() methods together in geofence class. 2022-01-31 21:01:03 -05:00
Matthias Grob
ae0bb8371d Commander: message planned battery action with warning together 2022-01-31 20:27:06 -05:00
Matthias Grob
973116c7a4 commander_params: clarify failsafe delay procedure description 2022-01-31 20:27:06 -05:00
Matthias Grob
cd560da57c Commander: correct battery failsafe message severity level 2022-01-31 20:27:06 -05:00
Matthias Grob
405852b5c8 Commander: only disallow RC override during battery failsafe delay 2022-01-31 20:27:06 -05:00
Matthias Grob
5ec21835a4 Commander: ensure low battery failsafe flying unatended without GPS 2022-01-31 20:27:06 -05:00
Matthias Grob
1911ec0085 Commander: fix user messageing for low battery failsafe delay 2022-01-31 20:27:06 -05:00
Matthias Grob
52a9040c62 BatterySimulator: recharge battery upon disarming 2022-01-31 20:27:06 -05:00
Matthias Grob
955aad0dfb Commander: consistent hysteresis initialization 2022-01-31 20:27:06 -05:00
Matthias Grob
d10f9030ad Commander: add delay before executing low battery failsafe action 2022-01-31 20:27:06 -05:00