Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable LiveWindow support? #3

Closed
mattyork opened this issue Feb 17, 2014 · 6 comments
Closed

Enable LiveWindow support? #3

mattyork opened this issue Feb 17, 2014 · 6 comments

Comments

@mattyork
Copy link

It's commented out right now

https://github.com/robotpy/pynetworktables/blob/master/sip/module.sip#L55-L57

@virtuald
Copy link
Member

Where do you want to use LiveWindow from? A client (SmartDashboard) or from a server (a simulated robot). The LiveWindow classes in WPILib appear to only support running on the robot, not receiving LiveWindow data from the robot.

If you want to receive LiveWindow data from the robot, I believe you could just get the 'LiveWindow' table, and watch for new values there.

@mattyork
Copy link
Author

I want to use LiveWindow from pyfrc robot.py netsim.

@virtuald
Copy link
Member

Ok, I just pushed some commits with LiveWindow support. It doesn't really do anything useful, however, as nothing will get added to the LiveWindow by default.

Keep in mind that pyfrc doesn't have a complete implementation of WPILib, so if you want to actually use the LiveWindow functionality, then you will have to change all of the classes to add themselves to the LiveWindow, otherwise it won't do anything (as they don't currently do this).

Let me know if this meets your needs.

@mattyork
Copy link
Author

Thank you, good sir! I'll try this out asap

@virtuald
Copy link
Member

Did it work for what you needed? Thanks.

@mattyork
Copy link
Author

Yes it did. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants