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

Improve ROV communication frequency #12

Open
calebthejett opened this issue Feb 14, 2020 · 3 comments
Open

Improve ROV communication frequency #12

calebthejett opened this issue Feb 14, 2020 · 3 comments

Comments

@calebthejett
Copy link

Currently, the computer talks to the ROV at about 6-8 Hz. Driving would be smoother and small movements would be easier with a higher refresh rate.

JoeF140 added a commit that referenced this issue Feb 21, 2020
Look at previous commit for changes
@Bewgg3
Copy link

Bewgg3 commented Feb 21, 2020

Communication frequency has been improved! However, I would love to see if we could improve it more (minimizing the sleep as much as possible [maybe to 0]). Making communication frequency as fast as possible!

@Bewgg3
Copy link

Bewgg3 commented Mar 3, 2020

Lets try overwriting the clock speed of i2c with Wire.setClock(400000). This should transfer data 4x faster as the default clock rate is 100 khz. Microcontroller documentation needs to be checked to make sure that this is supported.

Reference: https://www.arduino.cc/en/Reference/WireSetClock

@JoeF140
Copy link
Contributor

JoeF140 commented Mar 3, 2020

Before that let's check comm speed with no i2c to make sure that that's the bottleneck

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

3 participants