View Single Post
  #3   Spotlight this post!  
Unread 30-11-2016, 22:10
FRC Fanatic's Avatar
FRC Fanatic FRC Fanatic is offline
Registered User
no team
 
Join Date: May 2016
Location: United States
Posts: 7
FRC Fanatic is on a distinguished road
Re: Pneumatics Piston not working in python

Quote:
Originally Posted by virtuald View Post
There are a few syntax/import issues with your code, and your teleopPeriodic function is at the wrong indentation level so it will never be called. However, the individual lines of code that set the solenoid values seem correct.

Have you tried running the code using the pyfrc simulator? That will allow you to easily test the code and see the output of any error messages. It will show solenoids turning on/off.
well about the indentation. this is actually a copy paste of the code from a word document. so the indentation would be off. but it is correct in eclipse. aright, i actually forgot about the simulator. thank you!
Reply With Quote