kopia lustrzana https://github.com/IzzyBrand/spaceplane
10 wiersze
579 B
Python
10 wiersze
579 B
Python
PORT = '/dev/ttyACM0' # whic port the pixhawk is on
|
|
BURN_PIN = 27 # pin with burn relay
|
|
BURN_ALTITUDE = 85 # altitude at which to burn
|
|
BURN_TIME_ABOVE = 5 # time above burn alt before ignite
|
|
BURN_TIME_BELOW = 3 # time below burn alt after ignite
|
|
TARGET_LAT = 42.3455724 # desired landing latitude
|
|
TARGET_LON = -71.2100037 # desired landing longitude
|
|
TARGET_ALT = 0 # meters above sea level
|
|
LOOP_DELAY = 0.5 # time in seconds to delay within loops
|
|
MIN_SATS = 5 # minimum number of satellites before vehicle takes off |