6nxcdebug (1) - Debugging It doesnt work What do I do...

This preview shows page 1 - 3 out of 6 pages.

Debugging It doesn’t work…. What do I do???? #@&*
Image of page 1

Subscribe to view the full document.

Debugging Your System Mechanical System (beams, gears, wheels, etc.) Control Logic (the NQC program) Actuators (motors) Sensors (touch, light, etc.) Robot All four subsystems of the mobile robot interact.
Image of page 2
Mechanical Subsystem For Bumpbot 2: For normal straight-line motion, the mechanical lever should keep the touch sensor closed. Does the bumper work smoothly? Does the mechanical lever depress the touch sensor properly?
Image of page 3

You've reached the end of your free preview.

Want to read all 6 pages?

Unformatted text preview: attached to the correct terminal? Check SetSensor( ) function to make sure you are referencing the correct sensor port. In order to view the sensor values, you must have downloaded the program. This is the only way the RCX knows what kind of sensor is attached and will display the correct scaling. If all of the above checks out, it is possible (but not very likely) that the sensor is broken. Motors For Bumpbot 2 Are the actuators attached to the right ports? Is Forward really the forward direction? You can use the manual control to drive the motors forward. If they go in the wrong direction change the polarity. Control Logic More on this later!!!!...
View Full Document

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern