Announcement

Collapse

Technology Forum Has Moved!

The FIRST Tech Challenge Technology forum has moved to a new location! Please take a look at our forum blog for links and instructions on how to access the new forum.

The official blog of the FIRST Tech Challenge - a STEM robotics programs for students grades 7-12.


Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
See more
See less

Can't access IR Seeker

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't access IR Seeker

    I have a MR IR Seeker V3 attached to my bot and the seeker is configured in the CDI as Seeker V3 and has the name "seeker". In my code I say this:

    irSeeker = hardwareMap.irSeekerSensor.get("seeker");

    When I run the opmode it fails with the exception: unable to find a hardware device with the name "seeker".

    Note color, optical distance and touch sensors all work fine. I've tinkered quite a bit looking for what I have done wrong and come up empty.

  • #2
    Make sure you are using the newest version of the SDK (2.2, which came out on the 8th). In the changelog, it says "Fixed bug so that IrSeekerSensorV3 device is accessible as IrSeekerSensor in hardwareMap."

    Comment


    • #3
      DOH! My bad.

      Comment

      Working...
      X