Skip to content

Commit

Permalink
ASGARD HWDEF : add wip commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hendjoshsr71 committed May 21, 2024
1 parent f018edc commit 7452300
Show file tree
Hide file tree
Showing 20 changed files with 87 additions and 0 deletions.
24 changes: 24 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/Asgard_QAVR2/defaults.parm
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# H6_HL Electric

# Flight Controller
# Matek H743 Slim V3


# All vehicles
#@include ../Asgardian_Designs/all_vehicles_defaults.parm

# Airframe
#@include ../Asgardian_Designs/Frames/H6/H6_HL.parm

# Energy Source
#@include ../Asgardian_Designs/Energy_Source/Batteries/FILL_IN_LATER.parm

# ESC
#@include ../Asgardian_Designs/ESCs/TMotor_F55A_ProII.parm

# Electric Motor
#@include ../Asgardian_Designs/Motors/Lumineer_popo_2306_unknown_KV.parm

# Vehicle Specific

#
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TMotor Alpha 60A ESCs
MOT_PWM_MAX 1940
MOT_PWM_MIN 1100

MOT_SPIN_ARM 0.06
MOT_SPIN_MAX 1
MOT_SPIN_MIN 0.08
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# DRONECAN Battery Monitoring for when using fully electric mode.
# Two batteries in parallel

# Battery 1 (DRONECAN) Voltage & Current
BATT_MONITOR 8
BATT_CAPACITY 15800
BATT_LOW_MAH 1600
BATT_LOW_VOLT 43.75

# Failsafe LOW Action is RTL
BATT_FS_LOW_ACT 2

# Battery 2 (DRONECAN)
BATT2_MONITOR 8
BATT2_CAPACITY 15800
BATT2_LOW_MAH 1600
BATT2_LOW_VOLT 43.75

# Failsafe LOW Action is RTL
BATT2_FS_LOW_ACT 2
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Power Monitor Voltage & Current


# Failsafe LOW Action is RTL
#BATT_FS_LOW_ACT 2

# add note later why use resting estimate for voltage fialsafe when you have accurate current cpacity used monitoring
# need to set the failsafe for BATT_(low/critical)_MAH
# BATT_FS_VOLTSRC 0

BATT_MONITOR 4

# These must be set by technicians on bring up using the Mauch Sensor parameters for each individual sensor
# BATT_CURR_MULT 0
# BATT_VOLT_MULT 0

BATT_LOW_VOLT 47.5
BATT_CAPACITY 0
BATT_LOW_MAH 0
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
17 changes: 17 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/Asgardian_Designs/RID/RID.parm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# RemoteID / OpenDroneID Parameters

# TURN OFF READONLY AS THIS IS FOR DEVELOPMENT
DID_ENABLE 1
DID_OPTIONS 1
DID_MAVPORT -1
DID_CANDRIVER 1
AHRS_EKF_TYPE 3


# enforce OpenDroneID on DroneCAN. Note that we need to lock down key parameters
# to ensure the integrity of the RemoteID system
# DID_ENABLE 1 @READONLY
# DID_OPTIONS 1 @READONLY
# DID_MAVPORT -1 @READONLY
# DID_CANDRIVER 1 @READONLY
# AHRS_EKF_TYPE 3 @READONLY
Empty file.
Empty file.
Empty file.

0 comments on commit 7452300

Please sign in to comment.