mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +08:00
Crypto updates (#2245)
* Cleaned up GEC code * Added airborne support for pprzlink 1.0 * Update hacl-c * Add proper indexing for pprz messages * Updated airframe config for secure link * Code style changes and updated code style script * Bump rustlink * Compilation fixes
This commit is contained in:
committed by
GitHub
parent
30ab122e91
commit
606cd4eea2
@@ -14,6 +14,10 @@ Aggie Air ARK
|
||||
</module>
|
||||
<configure name="HAS_LUFTBOOT" value="1"/>
|
||||
<configure name="FLASH_MODE" value="DFU"/>
|
||||
<module name="telemetry" type="transparent">
|
||||
<configure name="MODEM_PORT" value="UART3"/>
|
||||
<configure name="MODEM_BAUD" value="B57600"/>
|
||||
</module>
|
||||
</target>
|
||||
|
||||
<!-- NOTE: if you want to use extra_dl module for HITL
|
||||
@@ -24,9 +28,9 @@ Aggie Air ARK
|
||||
<target name="nps" board="pc">
|
||||
<module name="fdm" type="jsbsim"/>
|
||||
<module name="radio_control" type="spektrum"/>
|
||||
<module name="telemetry" type="transparent"/>
|
||||
</target>
|
||||
|
||||
<!-- hitl currently not supported for secure link comms
|
||||
<target name="hitl" board="pc">
|
||||
<module name="fdm" type="jsbsim"/>
|
||||
<module name="imu" type="nps"/>
|
||||
@@ -35,19 +39,14 @@ Aggie Air ARK
|
||||
<configure name="INS_BAUD" value="B921600"/>
|
||||
<configure name="AP_DEV" value="/dev/ttyUSB2"/>
|
||||
<configure name="AP_BAUD" value="B921600"/>
|
||||
<module name="telemetry" type="transparent"/>
|
||||
</target>
|
||||
-->
|
||||
|
||||
<module name="motor_mixing"/>
|
||||
<module name="actuators" type="pwm">
|
||||
<define name="SERVO_HZ" value="160"/>
|
||||
</module>
|
||||
|
||||
<module name="telemetry" type="transparent_gec">
|
||||
<configure name="MODEM_PORT" value="UART3"/>
|
||||
<configure name="MODEM_BAUD" value="B57600"/>
|
||||
</module>
|
||||
|
||||
<module name="stabilization" type="float_euler"/>
|
||||
|
||||
<module name="ins" type="vectornav">
|
||||
@@ -58,7 +57,6 @@ Aggie Air ARK
|
||||
|
||||
<modules>
|
||||
<module name="sys_mon"/>
|
||||
<!--module name="rng"/-->
|
||||
<module name="copilot"/>
|
||||
<module name="extra_dl">
|
||||
<!-- in order to use uart1 without chibios we need to remap the peripheral-->
|
||||
|
||||
@@ -19,17 +19,14 @@
|
||||
<configure name="FLASH_MODE" value="DFU"/>
|
||||
</target>
|
||||
|
||||
<!-- NOTE: if you want to use extra_dl module for HITL
|
||||
you have to set TELEMETRY_FREQUENCY to PERIODIC_FREQUENCY -->
|
||||
<configure name="PERIODIC_FREQUENCY" value="160"/>
|
||||
|
||||
<configure name="TELEMETRY_FREQUENCY" value="160"/>
|
||||
|
||||
<target name="nps" board="pc">
|
||||
<module name="fdm" type="jsbsim"/>
|
||||
<module name="radio_control" type="spektrum"/>
|
||||
<!--configure name="USE_HITL" value="1"/-->
|
||||
<configure name="INS_DEV" value="/dev/ttyUSB1"/>
|
||||
<configure name="INS_BAUD" value="B921600"/>
|
||||
<configure name="AP_DEV" value="/dev/ttyUSB2"/>
|
||||
<configure name="AP_BAUD" value="B921600"/>
|
||||
</target>
|
||||
|
||||
<module name="stabilization" type="int_quat"/>
|
||||
@@ -64,12 +61,12 @@
|
||||
<module name="lidar_lite">
|
||||
<configure name="LIDAR_LITE_I2C_DEV" value="i2c2"/>
|
||||
</module>
|
||||
<!--module name="battery_monitor.xml">
|
||||
<module name="battery_monitor.xml">
|
||||
<define name="BATMON_CURRENT_OFFSET" value="-120"/>
|
||||
<define name="BATMON_CURRENT_SENSITIVITY" value="25.6"/>
|
||||
<define name="BATMON_TEMP_OFFSET" value="250"/>
|
||||
<define name="BATMON_TEMP_SENSITIVITY" value="10"/>
|
||||
</module-->
|
||||
</module>
|
||||
</modules>
|
||||
|
||||
<servos driver="Pwm">
|
||||
|
||||
@@ -62,6 +62,7 @@ AggieAir Atomic Tangerine
|
||||
<module name="nav" type="survey_poly_osam"/>
|
||||
<module name="nav" type="launcher"/>
|
||||
<module name="nav" type="skid_landing"/>
|
||||
|
||||
<module name="sys_mon"/>
|
||||
<module name="copilot"/>
|
||||
<module name="extra_dl">
|
||||
@@ -236,9 +237,9 @@ AggieAir Atomic Tangerine
|
||||
<!-- ORIGINAL GAIN -->
|
||||
<define name="PITCH_DGAIN" value="1.5"/>
|
||||
|
||||
<!-- SIMULATOR GAIN
|
||||
<define name="PITCH_DGAIN" value="151.5"/>
|
||||
-->
|
||||
<!-- SIMULATOR GAIN-->
|
||||
<!--define name="PITCH_DGAIN" value="151.5"/-->
|
||||
|
||||
<define name="ELEVATOR_OF_ROLL" value="1250"/>
|
||||
<define name="ROLL_ATTITUDE_GAIN" value="9000"/>
|
||||
<define name="ROLL_RATE_GAIN" value="1600"/>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
telemetry="telemetry/AGGIEAIR/aggieair_rotorcraft.xml"
|
||||
flight_plan="flight_plans/rotorcraft_basic_geofence.xml"
|
||||
settings="settings/rotorcraft_basic.xml settings/nps.xml"
|
||||
settings_modules="modules/battery_monitor.xml modules/gps.xml modules/stabilization_float_euler.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml"
|
||||
settings_modules="modules/battery_monitor.xml modules/gps.xml modules/stabilization_float_euler.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml modules/imu_common.xml"
|
||||
gui_color="#ffff954c0000"
|
||||
/>
|
||||
<aircraft
|
||||
@@ -18,7 +18,7 @@
|
||||
telemetry="telemetry/AGGIEAIR/aggieair_rotorcraft.xml"
|
||||
flight_plan="flight_plans/rotorcraft_basic_geofence.xml"
|
||||
settings="settings/rotorcraft_basic.xml settings/nps.xml"
|
||||
settings_modules="modules/lidar_lite.xml modules/gps.xml modules/stabilization_int_quat.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml"
|
||||
settings_modules="modules/battery_monitor.xml modules/lidar_lite.xml modules/gps.xml modules/stabilization_int_quat.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml"
|
||||
gui_color="#ffff954c0000"
|
||||
/>
|
||||
<aircraft
|
||||
@@ -40,7 +40,7 @@
|
||||
telemetry="telemetry/AGGIEAIR/aggieair_fixedwing.xml"
|
||||
flight_plan="flight_plans/AGGIEAIR/BasicTuning_Launcher.xml"
|
||||
settings="settings/fixedwing_basic.xml settings/nps.xml"
|
||||
settings_modules="modules/battery_monitor.xml modules/nav_skid_landing.xml modules/nav_survey_poly_osam.xml modules/gps.xml modules/nav_basic_fw.xml modules/guidance_basic_fw.xml modules/stabilization_attitude_fw.xml"
|
||||
settings_modules="modules/battery_monitor.xml modules/nav_skid_landing.xml modules/nav_survey_poly_osam.xml modules/gps.xml modules/nav_basic_fw.xml modules/guidance_basic_fw.xml modules/stabilization_attitude_fw.xml modules/imu_common.xml"
|
||||
gui_color="#00009e93ffff"
|
||||
/>
|
||||
<aircraft
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
<arg flag="-a" constant="@AC_ID"/>
|
||||
<arg flag="-n" constant="@AIRCRAFT"/>
|
||||
<arg flag="-c" />
|
||||
<arg flag="-v" constant="2.0"/>
|
||||
</program>
|
||||
<program name="Link Combiner" command="sw/ground_segment/python/redundant_link/link_combiner.py"/>
|
||||
<program name="GCS" command="sw/ground_segment/cockpit/gcs"/>
|
||||
@@ -129,6 +130,7 @@
|
||||
<arg flag="-a" constant="@AC_ID"/>
|
||||
<arg flag="-n" constant="@AIRCRAFT"/>
|
||||
<arg flag="-c" />
|
||||
<arg flag="-v" constant="2.0"/>
|
||||
</program>
|
||||
<program name="Server">
|
||||
<arg flag="-n"/>
|
||||
@@ -177,6 +179,32 @@
|
||||
</program>
|
||||
</session>
|
||||
|
||||
<session name="Secure HITL USB-serial@57600">
|
||||
<program name="Secure Link">
|
||||
<arg flag="-d" constant="/dev/ttyUSB0"/>
|
||||
<arg flag="-s" constant="57600"/>
|
||||
<arg flag="-a" constant="@AC_ID"/>
|
||||
<arg flag="-n" constant="@AIRCRAFT"/>
|
||||
<arg flag="-c" />
|
||||
<arg flag="-v" constant="2.0"/>
|
||||
</program>
|
||||
<program name="Server">
|
||||
<arg flag="" constant="-no_md5_check"/>
|
||||
</program>
|
||||
<program name="GCS">
|
||||
<arg flag="-layout" constant="AGGIEAIR/vertical.xml"/>
|
||||
</program>
|
||||
<program name="Messages"/>
|
||||
<program name="Simulator">
|
||||
<arg flag="-a" constant="@AIRCRAFT"/>
|
||||
<arg flag="-f" constant="127.0.0.1"/>
|
||||
<arg flag="-b" constant="127.255.255.255"/>
|
||||
<arg flag="--fg_fdm"/>
|
||||
<arg flag="-t" constant="hitl"/>
|
||||
<arg flag="--nodisplay"/>
|
||||
</program>
|
||||
</session>
|
||||
|
||||
<session name="HITL USB-serial@115200">
|
||||
<program name="Data Link">
|
||||
<arg flag="-d" constant="/dev/ttyUSB0"/>
|
||||
|
||||
@@ -11,8 +11,8 @@ AggieAir RP3 Minion
|
||||
<module name="radio_control" type="sbus">
|
||||
<configure name="SBUS_PORT" value="UART5"/>
|
||||
</module>
|
||||
<configure name="HAS_LUFTBOOT" value="0"/>
|
||||
<configure name="FLASH_MODE" value="JTAG"/>
|
||||
<configure name="HAS_LUFTBOOT" value="1"/>
|
||||
<configure name="FLASH_MODE" value="DFU"/>
|
||||
</target>
|
||||
|
||||
<!-- NOTE: if you want to use extra_dl module for HITL
|
||||
@@ -60,8 +60,7 @@ AggieAir RP3 Minion
|
||||
<module name="nav" type="survey_poly_osam"/>
|
||||
<module name="nav" type="launcher"/>
|
||||
<module name="nav" type="skid_landing"/>
|
||||
<module name="rng"/>
|
||||
<module name="haclc"/>
|
||||
|
||||
<module name="sys_mon"/>
|
||||
<module name="copilot"/>
|
||||
<module name="extra_dl">
|
||||
|
||||
Reference in New Issue
Block a user