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.

https://firsttechchallenge.blogspot....orum-blog.html

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

IMU help needed

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

  • IMU help needed

    We are just beginning to attempt to use the IMU. We created a new opMode using the sample "SensorIMU". we ran it and init cause a "fatal error".
    It said "imuAsBNO055IMU is not defined". Any suggestions?

  • #2
    Two possibilities come to mind:
    (1) You haven't created a config file yet. You'll need to use the Configure Robot menu item on your Robot Controller phone. Use New and then Scan. If it finds your REV it will automatically create a sensor called "imu" under Expansion Hub Portal 1, Expansion Hub 2, I2C Bus 0. Check to see that it has done so. Add your motors, etc. to the config file. See https://youtu.be/VHyKE3B170k for more information.
    (2) You have a config file with the needed information but it is not currently active. Use Configure Robot, Activate to activate a config file that includes the imu.
    ...Bruce

    Comment


    • #3
      We made a new config file and the program worked as advertised. The config file we were using had a color/range sensor in I2C bus 0.
      Thank you, Bruce. You have made our team very happy with your videos and advice.

      Comment

      Working...
      X