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

reduce interrupts from odometry #35

Closed
autega opened this issue May 22, 2015 · 3 comments
Closed

reduce interrupts from odometry #35

autega opened this issue May 22, 2015 · 3 comments

Comments

@autega
Copy link
Contributor

autega commented May 22, 2015

using only one encoder channel as default
so set
twoWayOdometrySensorUse = 0

in mower.cpp as default

@autega autega added this to the 1.0-Azurit milestone May 22, 2015
@greymfm
Copy link
Member

greymfm commented May 25, 2015

Number of total interrupts can further be reduced by choosing (old) 9.6 kHz ADC sample rate in adc.cpp again:

//sampleRate = SRATE_38462;
sampleRate = SRATE_9615;

We should use 9.6 Khz until we have futher optimized the code/changed to Due.

@autega
Copy link
Contributor Author

autega commented May 25, 2015

are there any disadvantages in regard of perimeter tracking etc?

@autega
Copy link
Contributor Author

autega commented May 31, 2015

done with 1af7590

@autega autega closed this as completed May 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants