Help - Error code says "Rosbotmove has not been declared" (Solved: It was a typo)

Here is my code - the problem is in the part called whichway() in line 26:

void Rosbotmove::whichway() {
  float left = rosbot.get_laser(540);
  float right = rosbot.get_laser(180);
  if (left < right) {
    rosbot.turn("clockwise", 3);
  } else {
    rosbot.turn("counterclockwise", 3);
  }
}

ETA! I was missing the capital letter in RosbotMove! ARGH!

Hi @scharine0508,

I’m glad you managed to find and solve the problem.

In programming, indeed a single Upper or lower case letter makes your program work or not.