initial minimal PX4_ROS2 platform and px4_ros2_default build (#20689)

- new ROS2 platform in PX4 intended for creating configs that build and run entirely in ROS2
 - PX4_CONFIG defaults to px4_ros2_default if no config specified and in a colcon workspace with ROS_VERSION=2
 - currently doesn't do much other than allow you to build px4 msgs interface package
This commit is contained in:
Daniel Agar
2022-12-08 23:03:44 -05:00
committed by GitHub
parent cfb670fbb3
commit 8114aad983
73 changed files with 4037 additions and 247 deletions
@@ -53,7 +53,7 @@
#include <arch/board/board.h>
#include "flexcan.h"
#include <lib/systemlib/crc.h>
#include <lib/crc/crc.h>
#define CAN_TX_TIMEOUT_MS (200 /(1000/(1000000/CONFIG_USEC_PER_TICK)))
@@ -55,7 +55,7 @@
#include <arch/board/board.h>
#include <lib/systemlib/crc.h>
#include <lib/crc/crc.h>
#define INAK_TIMEOUT 65535
@@ -54,7 +54,7 @@
#include <arch/board/board.h>
#include <lib/systemlib/crc.h>
#include <lib/crc/crc.h>
#define INAK_TIMEOUT 65535
@@ -49,7 +49,7 @@
#include "uavcan.h"
#include "can.h"
#include <lib/systemlib/crc.h>
#include <lib/crc/crc.h>
#define CAN_REQUEST_TIMEOUT 1000
#define ANY_NODE_ID 0
@@ -58,7 +58,7 @@
#include <drivers/bootloaders/boot_app_shared.h>
#include <drivers/bootloaders/boot_alt_app_shared.h>
#include <drivers/drv_watchdog.h>
#include <lib/systemlib/crc.h>
#include <lib/crc/crc.h>
//#define DEBUG_APPLICATION_INPLACE 1 /* Never leave defined */
#define DEBUG_NO_FW_UPDATE 1 /* With DEBUG_APPLICATION_INPLACE