Skip to content

Releases: usfsoar/SOAR_Simulacra

NSL 24-25 Dgital Twin V3

27 Apr 01:04

Choose a tag to compare

Pre-release

Download Simulation Here

Extra Files

c++ header for Arduino
c++ implementation for Arduino
Arduino Example

remember to add the respective config files to be able to use the digital twin conditionally

NSL25_Digital Twin V2.3 (Airbrakes and Payload Work)

06 Apr 09:12

Choose a tag to compare

Digital Twin Capable of supporting both Payload Simulation and Airbrakes Simulation.

Download Here

For ESP32 make sure to check out the .ino and .cpp files below that contain the Digital Twin library and examples of how to use it and integrate it with your final code without any issues.

For the Raspberry Pi Make sure to check out the example_main.py and make sure to download and import in your code the digital_twin.py and config.py files below

NSL25_DigitalTwinV2.1

06 Apr 07:16

Choose a tag to compare

NSL25_DigitalTwinV2.1 Pre-release
Pre-release

Airbrakes now work

NSL 24-25 Dgital Twin V1.2

15 Mar 08:42

Choose a tag to compare

Pre-release

Executable Version of the Digital Twin to test Microcontroller code. Currently only implements payload functionality. Based on the NSL 24-25 payload.

CLICK TO DOWNLOAD

includes noise and outliers for IMU

Instructions

  1. Unzip the zip file on a Windows computer
  2. Run the SOAR_Simulacra.exe
  3. If there are any errors is probably some issue with handling .dll files

Request Codes and Responses

Sensor Data Requests (0x03)

Request Code Purpose Response Code Response Data Format
0x03 0x01 Altitude 0x03 [float] altitude (4 bytes)
0x03 0x02 Temperature 0x03 [float] temperature (4 bytes)
0x03 0x03 Pressure 0x03 [float] pressure (4 bytes)

IMU Data Requests (0x04)

Request Code Purpose Response Code Response Data Format
0x04 0x01 Total Acceleration (ACC) 0x04 [float] x, [float] y, [float] z (12 bytes)
0x04 0x02 Linear Acceleration (ACL) 0x04 [float] x, [float] y, [float] z (12 bytes)
0x04 0x03 Gravity Vector (GRV) 0x04 [float] x, [float] y, [float] z (12 bytes)

Servo Commands (0x05)

Request Code Purpose Response Code Response Data Format
0x05 0x01 Set Servo Position 0x05 [int] servo number (4 bytes), [int] angle (4 bytes)

Debug/Error Handling

  • Any unrecognized request codes are pushed to debugQueue and logged.

NSL 24-25 Dgital Twin V1.1

14 Mar 17:00

Choose a tag to compare

Pre-release

IGNORE RELEASE

NSL 24-25 Dgital Twin V1

14 Mar 16:20

Choose a tag to compare

Pre-release

IGNORE THIS RELEASE

NSL25_Digital Twin V2.4

20 Apr 19:50

Choose a tag to compare

Pre-release

Download Simulation Here

Extra Files

c++ header for Arduino
c++ implementation for Arduino
Arduino Example
python library for Airbrakes here

remember to add the respective config files to be able to use the digital twin conditionally

NSL 24-25 Dgital Twin V2.2

06 Apr 07:41

Choose a tag to compare

Pre-release

Pls work 🥺
Download

NSL25_DigitalTwinV2.0

06 Apr 06:41

Choose a tag to compare

NSL25_DigitalTwinV2.0 Pre-release
Pre-release

Airbrakes Work Now 🎸
Pending to make the flight itself more acurrate to reflect the correct altitude and velocity values post-burnout so will be updated soon