We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
One-liner that turns on green LED on UP board if clock error is below 999ns. Maybe useful for someone. (Related to https://github.com/ethz-asl/ethz_piksi_ros/wiki/Piksi-PPS-Sync)
while true; do var=$(chronyc sources -v | grep PPS0 | sed 's/.*+\/- \(.*\)ns/\1/'); var_low=0; var_high=999; if [ $var -gt $var_low -a $var -lt $var_high ]; then echo 1 > /sys/class/leds/upboard\:green\:/brightness; else echo 0 > /sys/class/leds/upboard\:green\:/brightness; fi; sleep 1; done
The text was updated successfully, but these errors were encountered:
Thank you! I added it to the wiki.
Sorry, something went wrong.
No branches or pull requests
One-liner that turns on green LED on UP board if clock error is below 999ns. Maybe useful for someone. (Related to https://github.com/ethz-asl/ethz_piksi_ros/wiki/Piksi-PPS-Sync)
The text was updated successfully, but these errors were encountered: