Quote:
Originally Posted by Aero
I'm using my IDE (IntellJ IDEA)'s deployment function to upload the files over SCP on save.
Here's the script! It's pretty well-commented, so anyone should be able to figure it out & adapt it to their setup pretty quickly.
|
Ah, that kind of auto-reload. You'll probably want to adapt your locations/etc to work with what pyfrc does, or use pyfrc to do the upload for you (just released today). It installs stuff in such a way that the FIRST/NI stuff will autostart it on bootup, and can be controlled by the standard FIRST tools.
Quote:
I'm just using my IDE's remote debugger (again, PyCharm/IntelliJ IDEA).
Works perfectly!
|
Cool.
Quote:
One question; I'm trying to get the Encoder class working, but no matter if I pass it two DigitalChannels or two ints representing the channels, the constructor fails with a "TypeError: 'int' object is not iterable".
Here's the full error log.
https://gist.github.com/aerobit/37ad61b750b8e11b555e
|
That should work. There are unit tests for it even. File a bug on github.