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

Add option to stop control on system time jump #191

Merged
merged 16 commits into from
Apr 2, 2024

Conversation

at-wat
Copy link
Member

@at-wat at-wat commented Mar 28, 2024

Example behavior:

$ ./ypspur-coordinator -p ../test/vehicle.param --without-device --exit-on-time-jump; echo $?
++++++++++++++++++++++++++++++++++++++++++++++++++
YamabicoProject-Spur
 Ver. 1.21.0 (fb455fb)
++++++++++++++++++++++++++++++++++++++++++++++++++
Device Information
 Port    : n/a (--without-device mode)
YP-Spur coordinator started.
Command analyzer started.
Trajectory control loop started.

Make system time jumped by date -s command

Detected system time jump: 4.49620s
Trajectory control loop stopped.
Connection to /dev/ttyUSB0 was closed.
Command analyzer stopped.
1

@at-wat
Copy link
Member Author

at-wat commented Mar 29, 2024

Tested with an actual motor driver

@at-wat at-wat requested a review from Taka-Kazu March 29, 2024 07:08
@at-wat
Copy link
Member Author

at-wat commented Apr 2, 2024

@Taka-Kazu please take a look

@at-wat at-wat merged commit 28f08dd into master Apr 2, 2024
7 checks passed
@at-wat at-wat deleted the add-option-to-exit-on-time-jump branch April 2, 2024 06:22
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.

2 participants