Jump to content

Reydel46

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 New Car Smell

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi. I've tried your code and same result. I also tried with another approach (in this case i tried the telemetry data but it's the same) void loop() { int packetSize = Udp.parsePacket(); if(packetSize == 1307){ char packetBuffer[packetSize]; Udp.read(packetBuffer, packetSize); PacketCarTelemetryData* recv_data; recv_data = (struct PacketCarTelemetryData *) &packetBuffer[0]; Serial.println(recv_data->m_carTelemetryData.m_gear); } } If i try to read the header data inside the TelemetryCarPacket, i can read it without problem like you. When i try to read data inside the TelemetryCar struct (in this example "m.gear") it gives me invalid numbers. Anyway i'm still trying to solve this, i'll let you know if i have any news.
  2. It doesn't seem like there's something wrong. Can you attach the .ino so I test it in local?
  3. Hi. Do you receive continuous packages during a race/qualify etc. session?
×