Skip to content

Instantly share code, notes, and snippets.

View fredvol's full-sized avatar
💭
Coding for fun on rainy days !

Fred fredvol

💭
Coding for fun on rainy days !
View GitHub Profile
@fredvol
fredvol / specs_telemetry_packet.md
Last active January 23, 2025 22:32
Telemetry packet specifications

LoRa Transmission Packet Definition

This document describes the specs for Fish telemetry data packets

Packet Structure Definition

The packet structure is described using a dictionary that specifies the size, type, scale, and offset for each field. This dictionary ensures consistency during both encoding and decoding processes.

The fields were taken from the current log DATA from the CLI , with and atificial duplication of the Odrive data to simulate 2 motors.

## TRIAL on packet size
# usefull link : https://evanw.github.io/float-toy/
# %% import
import struct
from datetime import datetime
import time
import numpy as np
import pandas as pd
@fredvol
fredvol / share_stu.py
Created December 7, 2023 13:30
model for aerosandbox
# MODEL FILE FOR QUICK 3D POLAR CALCULATION
# 17/07/2023 - frd
# %%
import json
import os
import re
from typing import List, Union
import aerosandbox as asb
@fredvol
fredvol / bridge_matt.py
Last active July 30, 2022 11:48
problem instance de class python
#%% simplify problem
from typing import List
list_action = ['SPEED' , 'SLOW', 'JUMP', 'UP', 'DOWN']
credit_initial =1 # to limite the expansion
#%%
####################################################################
# wind tunel crappy file
#
# This script only read the data send via usb/serial by an esp32
#
#
# 17/03/2022
# https://crappy.readthedocs.io/en/latest/installation.html
@fredvol
fredvol / crappy_save_cam.py
Created April 7, 2022 15:36
saving frame from crappy based on gui state
#%%
####################################################################
# wind tunel crappy file
#
# This script only read the data send via usb/serial by an esp32
#
#
# 17/03/2022
# https://crappy.readthedocs.io/en/latest/installation.html
@fredvol
fredvol / pma_InspectionBody_manufcaturer.json
Last active November 7, 2024 11:19
Pma_proposal_manufacturer_to_Iinspection_body
{
"_comment": "Template inspection_body to manufactuer",
"manufacturer": "BestGlider",
"model": "Tornado",
"size": "ML",
"standard_version": "PMA 2022",
"serial_number": "TOR_21147_H",
"inspection_date": "2022-03-15 14:25:00",
"visual_inspection": {
"stickers": "OK",