|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Python virtual speed controllers!
I'm pretty sure this code was NOT intended to be run on a robot, and is meant to be a simulation run on a computer.
|
|
#2
|
||||
|
||||
|
Re: Python virtual speed controllers!
Quote:
Code:
try:
import wpilib as wpi
except:
import testing as wpi
Also refer to inputs.py, it has the same thing that switches the input device from a joystick to predetermined values. |
|
#3
|
||||
|
||||
|
Re: Python virtual speed controllers!
Ok, now I've confused myself, Looking at what you said, then looking at the code, and what the OP said, I have no clue what its meant to do, and how its meant to be used. Can the OP clarify this?
|
|
#4
|
||||
|
||||
|
Re: Python virtual speed controllers!
sorry,
I didn't realize it was py3 on the robot, i will fix the prints. What you can do with this is using the cmd framework I have set up, you can essentially have your laptop run any code the robot would (when this is done, of course) and get a result you can use a whiteboard to draw out. This code will also (hopefully) run on robotPy. Can I please have feedback on things such as my coding style? It would help a lot. Sorry for the confusion. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Speed Controllers | Liu_yiang | General Forum | 11 | 07-02-2009 20:12 |
| Speed controllers.... | Denman | Technical Discussion | 14 | 07-10-2004 15:19 |
| speed controllers | archiver | 2000 | 5 | 24-06-2002 00:19 |
| Speed Controllers | archiver | 2000 | 1 | 23-06-2002 23:01 |
| Speed Controllers... | Tom Schindler | Technical Discussion | 4 | 13-12-2001 17:26 |