Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Recorder to be Session and SessionsFactory #10

Closed
wroscoe opened this issue Dec 30, 2016 · 0 comments
Closed

Refactor Recorder to be Session and SessionsFactory #10

wroscoe opened this issue Dec 30, 2016 · 0 comments

Comments

@wroscoe
Copy link
Collaborator

wroscoe commented Dec 30, 2016

One of the most common and laborious tasks of building a self driving car is saving and accessing data for different trial sessions. Currently this is accessed through the FileRecorder. This is not a clear way to represent the access of the data.

A much cleaner way would be to use Session objects with uses cases like:

sfactory = SessionFactory('~/sessions')
session = sfactory.new('port')
for i in records:
    session.record(r[img], r[angle])

X, Y = sesssion.array()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant