robotpy / pyfrc

python3 library designed to make developing RobotPy-based code easier!
MIT License
50 stars 35 forks source link

simulator not simulating 20 mSec DS packet arrival times #107

Closed dangyogi closed 6 years ago

dangyogi commented 6 years ago

What it does:

When I run an IterativeRobot in the simulator, it runs my periodic functions as fast as possible.

What I expect:

It would not run the periodic functions faster than every 20 mSec.

vanjac commented 6 years ago

I'm having this problem also.... it was working fine in an earlier version of the 2018 simulator.

virtuald commented 6 years ago

I will have a lot of free time in February, so I can look into it then.

virtuald commented 6 years ago

https://github.com/robotpy/robotpy-wpilib/pull/437 and https://github.com/robotpy/pyfrc/pull/111 fix this issue.

Update pyfrc and robotpy-wpilib and you should no longer see this issue.

vanjac commented 6 years ago

Thank you, it works now. It also seems to start up much faster.

virtuald commented 6 years ago

Blame @auscompgeek for the fixes. 👍

auscompgeek commented 6 years ago

Heh, I didn't realise I accidentally fixed this. I forgot this issue was even filed.