openxc / openxc-vehicle-simulator

BSD 3-Clause "New" or "Revised" License
63 stars 44 forks source link

export data #41

Closed essramos closed 6 years ago

essramos commented 6 years ago

is there any way to export the data aside from it being displayed on the UI and android device?

emarsman commented 6 years ago

Yes, OpenXC has trace files that are logs of data. Examples: http://openxcplatform.com/resources/traces.html. You can turn this on in Enabler->Settings->Recordings.

So you could connect to Enabler and then record there. This isn't supported directly in the python in the simulator. But you can make your own log by sticking it in here: https://github.com/openxc/openxc-vehicle-simulator/blob/master/enabler_connection.py#L18.

Regards, Eric

essramos commented 6 years ago

thanks! is it possible to connect to enabler without using anddroid phone?

emarsman commented 6 years ago

Enabler is the OpenXC app that runs on Android devices so there really isn't another way. You could try Android emulators, but I'm not sure how well they will manage the network connections compared to a real device.