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

use rosserial to interface with a microcontroller that controls the servo for the camera #7

Open
3 tasks done
bsubei opened this issue Mar 21, 2015 · 4 comments
Open
3 tasks done
Assignees

Comments

@bsubei
Copy link
Contributor

bsubei commented Mar 21, 2015

  • attempt to use rosserial with Teensy using their Arduino thingie
  • if it doesn't work, try just an Arduino with rosserial
  • publish camera tf based on feedback from servo
  • subscribe to ARUCO topic to find out what status is. If marker not found within a time interval, start sweeping to look for one.
@bsubei bsubei self-assigned this Mar 21, 2015
@bsubei
Copy link
Contributor Author

bsubei commented Apr 11, 2015

Fix one last bug: Timer1 interrupt has inconsistent timing, check if it has to do with rosserial or with the Teensy.

  • run Timer1 on the Teensy without Servo library. If issue goes away, then it's the servo that's the problem.
  • run Timer1 on the Teensy without rosserial. If issue goes away, submit issue to rosserial.

@bsubei
Copy link
Contributor Author

bsubei commented May 12, 2015

turns out Timer1 doesn't work properly on the Teensy 3 (both 3.0 and 3.1). I tried IntervalTimer instead and it works fine.

@bsubei bsubei closed this as completed May 12, 2015
@bsubei bsubei reopened this May 12, 2015
@bsubei
Copy link
Contributor Author

bsubei commented May 12, 2015

first add new feature to start sweeping before it sends lost topic

then clean up node

  • refactor code more neatly (remove stupid while loops inside of loop())
  • add comments
  • update documentation with topic details and everything

@bsubei
Copy link
Contributor Author

bsubei commented May 16, 2015

done... just needs more testing

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

No branches or pull requests

1 participant