Quote:
Originally Posted by robotdna
Alright, so using putty:
Every time we use "lmotor2 = wpilib.Talon(1)" we get a segmentation fault. When we replace Talon with Joystick or Timer, the code runs correctly.
We also get this error using "TalonSRX" and "Jaguar".
|
Yes, as I stated previously, if you create these objects before the robot code is properly initialized, you will get a segmentation fault.
Please upgrade to RobotPy 2015.0.3 (just released a few minutes ago), and it will allow you to create the objects whenever you would like without segmentation faults.