Europe/Berlin

Sven Lobbes

OBD2CC++PythonEmbedded SystemsOperating SystemsRobotics
Sven Lobbes portrait
Sven Lobbes

Computer Science Student at TU Berlin
IT Engineer Working Student

Selected work

Starred Projects

OBD2 ELM327 C Library

OBD2 ELM327 C Library

Library for translating an vehicle OBD2 CAN-Bus

OBD2CCAN-BusELM327ECU
Monte-Carlo Localization

Monte-Carlo Localization

Particle visualization, raycasting, confidence scoring, and automated pose output in RViz.

MCLRVizRaycastingProbabilistic
OBD Synapse Diagnose Software

OBD Synapse Diagnose Software

Monitoring, Logging, Alerts, sauberes UI und solide Architektur für echte Workflows.

OBD-IITelemetryProduct
Code taste

Featured Code Snippets

GitHub Portfolio

obd2-elm327-c
c
int bytes[128], count = 0;
char *tmp = strdup(clean);
if (!tmp) return -1;

for (char *tok = strtok(tmp, " "); tok; tok = strtok(NULL, " ")) {
    if (!*tok) continue;
    size_t len = strlen(tok);
    if (len < 2) continue;
    if (len == 2) {
        bytes[count++] = (int)strtol(tok, NULL, 16);
    } else {
        for (size_t k = 0; k + 1 < len && count < 128; k += 2) {
            char pair[3] = { tok[k], tok[k+1], 0 };
            bytes[count++] = (int)strtol(pair, NULL, 16);
        }
    }
    if (count >= 128) break;
}
free(tmp);
DiffDrive: rotate + correct
cpp
void rotateTo(double targetYaw){
  while(std::abs(angleDiff(yaw(), targetYaw)) > 0.02){
    cmd(0.0, clamp(angleDiff(yaw(),targetYaw)*1.2,-0.6,0.6));
  }
  cmd(0,0);
}
Live signal

GitHub Integration

Recent Repos
View profile
Scroll down to load GitHub data…
Recent Activity
Scroll down to load GitHub activity…
Business

Ventures

Let’s talk

Contact

For Requests, Projects, Cooperations or Consulting.

Email
sven.lobbes@gmail.com