Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   GUI WPILib Test Harness Released (http://www.chiefdelphi.com/forums/showthread.php?t=75811)

brian3795 01-03-2011 22:58

Re: GUI WPILib Test Harness Released
 
Quote:

Originally Posted by virtuald (Post 1033111)
If you guys want to do work on it, join the FIRSTForge project and I'll give you SVN access.

Don't know how much time I'll have, but I'm game. Sent a project join request...

virtuald 02-03-2011 00:53

Re: GUI WPILib Test Harness Released
 
Quote:

Originally Posted by jwakeman (Post 1033212)
One question for you though. I can see how you can drive outputs and see the solenoid light for example. But if I declared a digital input for example how would I drive the value of that input? Is there some way to drive the digital input high/low from outside of the robot code under test? Or is that a TODO?

Hmm. I feel like I implemented it... it might be that if you declare it as an input, then it will behave as an input when you click it. That sounds like something I would do :)

virtuald 02-03-2011 00:58

Re: GUI WPILib Test Harness Released
 
Quote:

Originally Posted by brian3795 (Post 1033428)
Don't know how much time I'll have, but I'm game. Sent a project join request...

It does not currently show any project join requests. :-/

Robby Unruh 02-03-2011 08:39

Re: GUI WPILib Test Harness Released
 
Does this only work for C++?
It would be awesome if you'd provide Java/LabVIEW support. :)

jwakeman 02-03-2011 09:08

Re: GUI WPILib Test Harness Released
 
Quote:

It does not currently show any project join requests. :-/

I just sent my join request.

virtuald 02-03-2011 09:51

Re: GUI WPILib Test Harness Released
 
Project memberships accepted.

No Java/LabVIEW support. I think LabVIEW already supports some kind of test environment where you can test your code outside of the robot, though I've never used LabVIEW myself.

I suspect that doing this same kind of project for Java would be pretty easy if someone wanted to tackle it, but it won't be me since my Java skills are non-existent :)

dcarr 04-07-2011 15:26

Re: GUI WPILib Test Harness Released
 
Is there going to be an update to the test harness? I'm working with Python while some other team members are doing Java and I'd like to be able to test it on my PC. Your google code link appears to not work.

virtuald 05-07-2011 10:49

Re: GUI WPILib Test Harness Released
 
Quote:

Originally Posted by Friarbots (Post 1067821)
Is there going to be an update to the test harness? I'm working with Python while some other team members are doing Java and I'd like to be able to test it on my PC. Your google code link appears to not work.

At some point, when it becomes useful to me again, I will update it. However, since the test harness is C++, and we're not using C++, I don't anticipate this happening in the near future. If I create a python test harness, then I anticipate it will be released as a separate project as a component of RobotPy.

It's at FIRST Forge now, I updated the link on my website: http://firstforge.wpi.edu/sf/project...b_test_harness

If you're using python, you might be interested in looking at our 2011 code to see how we did testing. Python makes it significantly easier to do testing. Also see this thread.


All times are GMT -5. The time now is 13:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi