4.10 RobotC Graphical Sample Program "Avoid Obstacles" problems

Hello,
I wanted to move on from RC control robots to Auto Pgms, and I’m off to a bad start. Downloaded new RobotC 4.10 Brain is also updated from Vex update and motors and sensors and so forth to 1.10. And the firmware from robot c downloaded as well. I have redone everything a few times as well.

I took the claw assemble off so its set up for sensors right now using ping sensor port 7 and motors 1 and 6.
I went into to motor and sensor setup removed the motors for arm and gripper and made sure that port 7 is the distance sensor.

When robot runs it detects wall stops 1 sec latter goes into reverse but never stops after the second and never does the turn. Then while hooked up it gives you a error. see picture below.

thank you in advance if some one could try this out and see if its robotc issue or my robot, or me.

5eb8c00e66eb8773662caac0edcc3b41.PNG

7612c413e572ccaece1dd70cf5169f50.PNG

The message indicates that either:

  1. Something is still in the motors and sensor setup - that refers to a motor that is NOT connected OR…
  2. Your code has left-over references to the motors that you removed related to the arm and claw.

When the code hits a non-existent target object - it will give the message that you attached.

By the way, I only see the screen-capture of the message, and not your code. Do you want to attach the code as well?

Steve just uploaded picture of code and I do press apply removing the clawmotors and so forth.