P403n1x87 / f1-telemetry

F1 telemetry data collection and visualisation
11 stars 2 forks source link

Data not displaying over a span over a whole lap. Additionally not being outputted to the front end page #6

Open nkhan24 opened 1 year ago

nkhan24 commented 1 year ago

Database FrontEnd CommandPrompt

So the command prompt looks to recognise the inputs from the game but when I take a look at the front end side to check the way the lap was executed via throttle/braking etc... There are no laps displayed to review. Additionally the database does seem to store the CSV file inside after the laps have been complete in InfluxDB. But when I take a look at this, the lap doesn't seem to display the whole span of the lap as shown in the gear inputs picture.

P403n1x87 commented 1 year ago

@nkhan24 can I check with you that you have provided both the InfluxDB org and token to the f1-tel command? Note that the tool handles flashbacks so there is a time window on the lap that is kept in memory and only flushed to the DB when it is past the window. So lap data is likely to miss the last ~10s at every point in time.

nkhan24 commented 1 year ago

@nkhan24 can I check with you that you have provided both the InfluxDB org and token to the f1-tel command? Note that the tool handles flashbacks so there is a time window on the lap that is kept in memory and only flushed to the DB when it is past the window. So lap data is likely to miss the last ~10s at every point in time.

Hey I did provide the org and token to the f1-tel command but its still not storing the laptimes on the front end. I just tried on TT and it does read my car status live along with throttle, brake and steering traces but whatever is being stored in the back end isn't reflecting on the front end nor is it being stored.

P403n1x87 commented 1 year ago

Can I check with you that you see this message in the terminal after you have launched the command?

image

nkhan24 commented 1 year ago

Hello yes I get this message that its connected to InfluxDB

Screenshot 2023-10-29 133049

P403n1x87 commented 1 year ago

The only other thing that I can think of is that perhaps either the org or token is not correct. I don't seem to have any problems collecting data with the latest version of the tool. I'll see what error, if any, would get thrown if I use a wrong parameter

P403n1x87 commented 1 year ago

One thing perhaps to note is that I've been using InflluxDB 2.0.8. If you're using the latest version, which I believe is 3, there is no guarantee that this would work.

nkhan24 commented 1 year ago

One thing perhaps to note is that I've been using InflluxDB 2.0.8. If you're using the latest version, which I believe is 3, there is no guarantee that this would work.

The influxDB version I am using is V2.7.1 So the fact that I am using a later version is the reason why the app isn't liking the element of reading and storing it in the DB even though it gives it the file name and time of recording etc...