knowgoio / knowgo-vehicle-simulator

An interactive multi-platform Connected Car simulator for generating and streaming realistic vehicle telemetry.
https://knowgoio.github.io/knowgo-vehicle-simulator/docs
MIT License
33 stars 7 forks source link

Re-set the simulator #11

Open omarzia88 opened 2 years ago

omarzia88 commented 2 years ago

Is there any way to reset the simulation using the REST API?

pmundt commented 2 years ago

At present, no, but we could trivially add this, as all of the internal logic already exists for it. What exactly would you like the reset endpoint to do? Delete all of the events and set the vehicle state back to what it was when the vehicle was first created?