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

1005 fix recording yet again #1009

Merged
merged 3 commits into from
Apr 21, 2022
Merged

1005 fix recording yet again #1009

merged 3 commits into from
Apr 21, 2022

Conversation

Ezward
Copy link
Contributor

@Ezward Ezward commented Apr 10, 2022

Fixes issue #1005 I tested this extensively with xbox controller.

  • while I was at it I changed logging to use a logger rather than print statements.

- needed to set latch when auto-record-on-throttle changed state
- needed to set latch when toggling manual recording state
- needed to apply latched state in run_threaded
- also use real logging rather then print statements.
@Ezward Ezward requested a review from DocGarbanzo April 10, 2022 04:45
Copy link
Contributor

@DocGarbanzo DocGarbanzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DocGarbanzo DocGarbanzo merged commit bfb4f03 into main Apr 21, 2022
DocGarbanzo pushed a commit that referenced this pull request Apr 21, 2022
* fix JoystickController so it correctly latches recording state
- needed to set latch when auto-record-on-throttle changed state
- needed to set latch when toggling manual recording state
- needed to apply latched state in run_threaded

* Update logging in controller to be less verbose
- also use real logging rather then print statements.

* version=4.3.6.3

(cherry picked from commit bfb4f03)
DocGarbanzo added a commit to DocGarbanzo/donkeycar that referenced this pull request Apr 22, 2022
* fix JoystickController so it correctly latches recording state
- needed to set latch when auto-record-on-throttle changed state
- needed to set latch when toggling manual recording state
- needed to apply latched state in run_threaded

* Update logging in controller to be less verbose
- also use real logging rather then print statements.

* version=4.3.6.3

(cherry picked from commit bfb4f03)
@BrianHenryIE
Copy link
Contributor

Seems to be working for me with PS4 controller. (just a quick test with the car on my desk, but the .jpgs are in the folder, whereas before they were not :)

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

Successfully merging this pull request may close these issues.

3 participants