GithubHelp home page GithubHelp logo

Comments (4)

jkenney2 avatar jkenney2 commented on August 24, 2024

@nreynolds2003

I suspect the issue is that you are trying to run an opmode that is not compatible with the robot configuration you have selected. The only robot configuration that has a motor called "left_motor" is the Two-wheeled bot. So if you try to run an op mode meant for that robot, but have some other robot configuration selected (e.g., Mecanum bot), an exception will be thrown. Unfortunately, as you point out, the system doesn't do very well at pointing you to exactly where in the op mode the exception arose. I should look at making that better.

To find out what hardware objects are available in each robot config, just run the app and select a robot config, but don't run an op mode. The telemetry area will then show you all of the hardware configuration entries for that bot.

Let me know if you continue to have problems with this.

from virtual_robot.

nreynolds2003 avatar nreynolds2003 commented on August 24, 2024

from virtual_robot.

jkenney2 avatar jkenney2 commented on August 24, 2024

@nreynolds2003
Just added code to print a stack trace when exceptions are thrown by op mode code, with clickable links to take you to the source of exception.

from virtual_robot.

nreynolds2003 avatar nreynolds2003 commented on August 24, 2024

from virtual_robot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.