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

Show driver error only if the state is changed #122

Merged
merged 2 commits into from
Dec 10, 2019

Conversation

at-wat
Copy link
Member

@at-wat at-wat commented Dec 6, 2019

No description provided.

@at-wat at-wat self-assigned this Dec 6, 2019
@at-wat at-wat changed the title Update driver error output Show driver error only if the state is changed Dec 6, 2019
@at-wat
Copy link
Member Author

at-wat commented Dec 6, 2019

++++++++++++++++++++++++++++++++++++++++++++++++++
YamabicoProject-Spur
 Ver. 1.17.0 (348a57e)
++++++++++++++++++++++++++++++++++++++++++++++++++
Device Information
 Port    : /dev/ttyACM0 
 Vender  : T-frog Prject
 Product : T-frog Motor Driver rev.5
 Firmware: DEBUG_BUILD_VERSION
 Protcol : YPP:11:02
 Serialno: 01300000
++++++++++++++++++++++++++++++++++++++++++++++++++
Info: Baudrate setting is not supported on this device.
Applying parameters.
YP-Spur coordinator started.
Command analyzer started.
Trajectory control loop started.
# <-- Shutdown power supply
Error: The driver of motor_id 0 returned ERROR_LOW_VOLTAGE 
Error: The driver of motor_id 1 returned ERROR_LOW_VOLTAGE 
# <-- Restore power supply
Info: The driver of motor_id 0 got back to normal
Info: The driver of motor_id 1 got back to normal
# <-- Error on hall signal
Error: The driver of motor_id 0 returned ERROR_HALL_SEQ 
# <-- Shutdown power supply
Error: The driver of motor_id 0 returned ERROR_LOW_VOLTAGE ERROR_HALL_SEQ 
Error: The driver of motor_id 1 returned ERROR_LOW_VOLTAGE 
# <-- Restore power supply
Error: The driver of motor_id 0 returned ERROR_HALL_SEQ 
Info: The driver of motor_id 1 got back to normal
# <-- Shutdown power supply
Error: The driver of motor_id 0 returned ERROR_LOW_VOLTAGE ERROR_HALL_SEQ 
Error: The driver of motor_id 1 returned ERROR_LOW_VOLTAGE 
# <-- Restore power supply
Error: The driver of motor_id 0 returned ERROR_HALL_SEQ 
Info: The driver of motor_id 1 got back to normal
^C
Trajectory control loop stopped.
Command analyzer stopped.

@at-wat at-wat requested a review from seiga-k December 9, 2019 04:32
@at-wat
Copy link
Member Author

at-wat commented Dec 9, 2019

@seiga-k please take a look

@at-wat at-wat merged commit 639ade4 into master Dec 10, 2019
@at-wat at-wat deleted the update-driver-error-output branch December 10, 2019 08:03
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.

None yet

2 participants