robotpy / robotpy-websim

OBSOLETE: Experimental robot simulation html interface
6 stars 1 forks source link

cannot import name 'TalonSRXConst' #38

Open danyel117 opened 5 years ago

danyel117 commented 5 years ago

I get an error when I try to run an example. It says "cannot import name 'TalonSRXConst'"

What should I do?

virtuald commented 5 years ago

The version that is on pypi is really old and not usable. The websim has had a ton of work put into it these last few weeks, so you would want to install from the git checkout -- but I'm not 100% sure of the correct way to install it.

I think @amorygalili is preparing an alpha release that will be installable from pypi in the very near future.

In the meantime, the pyfrc simulator is still very usable, and if you're looking for something quick and stable I'd recommend that.

amorygalili commented 5 years ago

I'll work getting a release out sometime today, been a little occupied with kickoff. Figuring out how to use it might be a little tricky since there's currently almost no documentation, but I'd love some feedback if you get around to trying it out!

amorygalili commented 5 years ago

@danyel117 Try it again, it should work if you run pip install robotpy-websim --pre --upgrade