Shop OBEX P1 Docs P2 Docs Learn Events
CMUcam function change — Parallax Forums

CMUcam function change

PhillipPhillip Posts: 9
edited 2008-05-05 04:50 in Robotics
Does anyone know how to change functions of the CMUcam without using the pushbuttons or can it be done? I would like to be able to have the track color function run at certain times. Thanks in·advance.

Comments

  • LarryLarry Posts: 212
    edited 2008-05-05 04:50
    I assume you have the boebot version and a bs2, but even if you don't, all the camera versions have the same basic commands.

    If you are using the bs2, you probably have the camera in poll mode if you followed the examples, so the camera will be idle anyway.

    If not, to set the CMUcam into idle mode send the command string \r (Carriage return, ascii decimal 13)

    When you want to track the same color again, just send TC
    to track a different color, read the details of sending a color packet to the camera under the TC command explanation.

    I'd suggest you get the entire CMUcan manual at

    www.seattlerobotics.com/CMUcamManualv15A.pdf

    Then read it. ALL the commands. There's a suggested exercise of copying the auto servo tracking function by sending commands to the camera. If you can duplicate that, you're a long way towards mastering the device,
Sign In or Register to comment.