re add log tools readme

This commit is contained in:
interfisch 2025-07-17 17:35:26 +02:00
parent 1b3d85bcb9
commit bf39d67be8

55
logdata/README.md Normal file
View file

@ -0,0 +1,55 @@
# Bobbycar OSD
This processing software can display log information from the bobbycar in realime.
It is used alongside the controller_teensy firmware.
Log information is constantly printed out on one serial interface and can be written either to an sd card or transmitted via rf or bluetooth.
![screenshot](Screenshot.png "Screenshot")
# Copy Logs from Bobbycar
## copyLogsFromBobbycar.py
- empty sdcard folder first
- python copyLogsFromBobbycar.py --delete
- deletes logs from sdcard after transfer
## logfix.py
The bobbycar controller records stats and data in txt files.
A new files with an ascending filename is created on boot.
The txt file contains a table in csv structure with comments for errors and debugging starting with '#'.
logfix.py is used to clean up, fix broken logs and combine them in a valid csv file.
Usage: python3 logfix.py --input LOG_0001.TXT LOG_0002.TXT LOG_0003.TXT --output outputlog
Usage for consecutive files: python3 logfix.py --input LOG_0000.TXT --consecutive --time 120
(Uses Logfiles with consecutive filenames. Creates csv file with timestamp date as filename)
(Add --output to add postfix name to (all) files)
# Archived
## OpenLog
Tutorial for OpenLog Serial SD Card logger: https://learn.sparkfun.com/tutorials/openlog-hookup-guide/configuration-file
Only works reliable on 3v3.
Using 5v restarts occur (prints 12> over serial and everytime a new file is created).
my CONFIG.TXT content:
115200,26,3,0,1,1,0
baud,escape,esc#,mode,verb,echo,ignoreRX
## HC12 433MHz Module
5v or 3v3.
Bridge Set pin to ground and power up to enter setup mode.
Use Arduino IDE to send commands via serial terminal with 9600 Baud.
AT+RX shows current settings.
Use following commands to setup:
AT+B115200
AT+C002
Using channel 2 instead of 1, because 1 receive didnt work with two computers.