forked from Archive/PX4-Autopilot
Add minimal Skynode RC13 config to the PAB manifest
This commit is contained in:
parent
d28653b605
commit
0186d687b2
|
@ -16,7 +16,7 @@ param set-default SENS_EN_INA238 0
|
||||||
param set-default SENS_EN_INA228 0
|
param set-default SENS_EN_INA228 0
|
||||||
param set-default SENS_EN_INA226 1
|
param set-default SENS_EN_INA226 1
|
||||||
|
|
||||||
if ver hwbasecmp 008 009 00a 010
|
if ver hwbasecmp 008 009 00a 010 011
|
||||||
then
|
then
|
||||||
# Skynode: use the "custom participant" config for uxrce_dds_client
|
# Skynode: use the "custom participant" config for uxrce_dds_client
|
||||||
param set-default UXRCE_DDS_PTCFG 2
|
param set-default UXRCE_DDS_PTCFG 2
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# board specific MAVLink startup script.
|
# board specific MAVLink startup script.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
if ver hwbasecmp 008 009 00a 010
|
if ver hwbasecmp 008 009 00a 010 011
|
||||||
then
|
then
|
||||||
# Start MAVLink on the UART connected to the mission computer
|
# Start MAVLink on the UART connected to the mission computer
|
||||||
mavlink start -d /dev/ttyS4 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
mavlink start -d /dev/ttyS4 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
||||||
|
|
|
@ -49,7 +49,7 @@ then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ver hwbasecmp 008 009 00a 010
|
if ver hwbasecmp 008 009 00a 010 011
|
||||||
then
|
then
|
||||||
#SKYNODE base fmu board orientation
|
#SKYNODE base fmu board orientation
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ param set-default SENS_EN_INA238 0
|
||||||
param set-default SENS_EN_INA228 0
|
param set-default SENS_EN_INA228 0
|
||||||
param set-default SENS_EN_INA226 0
|
param set-default SENS_EN_INA226 0
|
||||||
|
|
||||||
if ver hwbasecmp 009 010
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
# Skynode: use the "custom participant" config for uxrce_dds_client
|
# Skynode: use the "custom participant" config for uxrce_dds_client
|
||||||
param set-default UXRCE_DDS_PTCFG 2
|
param set-default UXRCE_DDS_PTCFG 2
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# if skynode base board is detected start Mavlink on Telem2
|
# if skynode base board is detected start Mavlink on Telem2
|
||||||
if ver hwbasecmp 009 010
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
mavlink start -d /dev/ttyS4 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
mavlink start -d /dev/ttyS4 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Start Auterion Power Module selector for Skynode boards
|
#Start Auterion Power Module selector for Skynode boards
|
||||||
if ver hwbasecmp 009 010
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
pm_selector_auterion start
|
pm_selector_auterion start
|
||||||
else
|
else
|
||||||
|
@ -93,7 +93,7 @@ else
|
||||||
icm20649 -s -R 6 start
|
icm20649 -s -R 6 start
|
||||||
else
|
else
|
||||||
# Internal SPI BMI088
|
# Internal SPI BMI088
|
||||||
if ver hwbasecmp 009 010
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
bmi088 -A -R 6 -s start
|
bmi088 -A -R 6 -s start
|
||||||
bmi088 -G -R 6 -s start
|
bmi088 -G -R 6 -s start
|
||||||
|
@ -110,7 +110,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Internal SPI bus ICM42688p
|
# Internal SPI bus ICM42688p
|
||||||
if ver hwbasecmp 009 010
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
icm42688p -R 12 -s start
|
icm42688p -R 12 -s start
|
||||||
else
|
else
|
||||||
|
@ -127,7 +127,7 @@ else
|
||||||
# Internal SPI bus ICM-42670-P (hard-mounted)
|
# Internal SPI bus ICM-42670-P (hard-mounted)
|
||||||
icm42670p -R 10 -s start
|
icm42670p -R 10 -s start
|
||||||
else
|
else
|
||||||
if ver hwbasecmp 009 010
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
icm20602 -R 6 -s start
|
icm20602 -R 6 -s start
|
||||||
else
|
else
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# if skynode base board is detected start Mavlink on Telem2
|
# if skynode base board is detected start Mavlink on Telem2
|
||||||
if ver hwbasecmp 009 010
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
mavlink start -d /dev/ttyS5 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
mavlink start -d /dev/ttyS5 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
||||||
|
|
||||||
|
|
|
@ -293,12 +293,6 @@ static const px4_hw_mft_item_t base_configuration_9[] = {
|
||||||
.mandatory = 1,
|
.mandatory = 1,
|
||||||
.connection = px4_hw_con_onboard,
|
.connection = px4_hw_con_onboard,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.id = PX4_MFT_PM2,
|
|
||||||
.present = 1,
|
|
||||||
.mandatory = 1,
|
|
||||||
.connection = px4_hw_con_onboard,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.id = PX4_MFT_ETHERNET,
|
.id = PX4_MFT_ETHERNET,
|
||||||
.present = 1,
|
.present = 1,
|
||||||
|
@ -316,6 +310,52 @@ static const px4_hw_mft_item_t base_configuration_9[] = {
|
||||||
// BASE ID 10 Skynode QS no USB Alaised to ID 9
|
// BASE ID 10 Skynode QS no USB Alaised to ID 9
|
||||||
// BASE ID 16 Auterion Skynode RC10, RC11, RC12, RC13 Alaised to ID 0
|
// BASE ID 16 Auterion Skynode RC10, RC11, RC12, RC13 Alaised to ID 0
|
||||||
|
|
||||||
|
// BASE ID 17 Auterion Skynode RC13 with many parts removed
|
||||||
|
static const px4_hw_mft_item_t base_configuration_17[] = {
|
||||||
|
{
|
||||||
|
.id = PX4_MFT_PX4IO,
|
||||||
|
.present = 0,
|
||||||
|
.mandatory = 0,
|
||||||
|
.connection = px4_hw_con_onboard,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.id = PX4_MFT_USB,
|
||||||
|
.present = 1,
|
||||||
|
.mandatory = 1,
|
||||||
|
.connection = px4_hw_con_unknown,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.id = PX4_MFT_CAN2,
|
||||||
|
.present = 0,
|
||||||
|
.mandatory = 0,
|
||||||
|
.connection = px4_hw_con_onboard,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.id = PX4_MFT_CAN3,
|
||||||
|
.present = 0,
|
||||||
|
.mandatory = 0,
|
||||||
|
.connection = px4_hw_con_unknown,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.id = PX4_MFT_PM2,
|
||||||
|
.present = 0,
|
||||||
|
.mandatory = 0,
|
||||||
|
.connection = px4_hw_con_onboard,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.id = PX4_MFT_ETHERNET,
|
||||||
|
.present = 1,
|
||||||
|
.mandatory = 1,
|
||||||
|
.connection = px4_hw_con_connector,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.id = PX4_MFT_T100_ETH,
|
||||||
|
.present = 1,
|
||||||
|
.mandatory = 1,
|
||||||
|
.connection = px4_hw_con_onboard,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
static px4_hw_mft_list_entry_t mft_lists[] = {
|
static px4_hw_mft_list_entry_t mft_lists[] = {
|
||||||
// ver_rev
|
// ver_rev
|
||||||
|
@ -329,6 +369,7 @@ static px4_hw_mft_list_entry_t mft_lists[] = {
|
||||||
{HW_BASE_ID(9), base_configuration_9, arraySize(base_configuration_9)}, // Auterion Skynode ver 9
|
{HW_BASE_ID(9), base_configuration_9, arraySize(base_configuration_9)}, // Auterion Skynode ver 9
|
||||||
{HW_BASE_ID(10), base_configuration_9, arraySize(base_configuration_9)}, // Auterion Skynode ver 10
|
{HW_BASE_ID(10), base_configuration_9, arraySize(base_configuration_9)}, // Auterion Skynode ver 10
|
||||||
{HW_BASE_ID(16), base_configuration_0, arraySize(base_configuration_0)}, // Auterion Skynode ver 16
|
{HW_BASE_ID(16), base_configuration_0, arraySize(base_configuration_0)}, // Auterion Skynode ver 16
|
||||||
|
{HW_BASE_ID(17), base_configuration_17, arraySize(base_configuration_17)}, // Auterion Skynode ver 17
|
||||||
};
|
};
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue