Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements of the Development Setup #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

raffael0
Copy link

@raffael0 raffael0 commented Dec 30, 2024

With this PR I want to improve the development experience of the LLServer. It does the following:

Added:

  1. a NO_INFLUX compile time flag to disable the influxdb connection. This means that you can run the LLServer without an influxdb
  2. Development instructions/tips in the README
  3. a Python script to emulate the ECUI and send json instructions to the server
  4. a sample config/mapping file and a sample sequence to help debug the LLServer

Fixed:

  1. a bug which crashed the system when the "logs" directory didn't exist (It now creates it)
  2. a bug in the csv log files where the headers are wrong when sensor ranges are only set in the globals/ranges(See the commit

…e from the executable. With this one can test the LLServer without an influxdb running
- Added a new ECUIEmulator.py script with which one can send json commands to the llserver
@raffael0 raffael0 changed the title Development Setup Improvements of the Development Setup Dec 30, 2024
Resolved an issue where sensors defined in `globals/ranges` but not set in any action were still included in the CSV log file header. Since no values were provided for these ranges, data entries were ignored, leading to misaligned CSV rows.

Changed the behavior to ignore sensor ranges set in an action if they are not set in `globals/ranges`
@raffael0 raffael0 force-pushed the feature/local-development branch from 87c1878 to 55af172 Compare December 31, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant