Go to Post What is this word "done" of which you speak? - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-11-2010, 17:05
dirienzo dirienzo is offline
Registered User
AKA: Nick DiRienzo
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Apr 2010
Rookie Year: 2009
Location: USA
Posts: 15
dirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to behold
FRC Java Control System Simulation

Hey all, I don't want to spam the boards with this because one of Team 11's mentors posted about this in another thread. However, I do think the project should have an official thread.

The project is frcjcss, otherwise known as FRC Java Control System Simulation. At the moment, we have Joystick, Victor, Jaguar, and Robot classes. Here's an overview of each:
  • Joystick
    X,Y control using mouse position on a Cartesian coordinate system. You can lock the X,Y values by left-clicking. You can activate the trigger by right-clicking (it acts as if you held the trigger down, not just quickly tapping it, but that can be changed). You can also change the Z-axis by scrolling up to increase the value, and down to decrease the value.
  • Victor
    Basically a frame that has a percent value from -100% to +100%. Has the set and get methods from the FRC class, but does not have pidWrite (yet?).
  • Jaguar
    Same as Victor.
  • Robot
    This emulates the main robot class that is executed by the cRIO. It is basically a Java main method with an infinite loop, which acts as an endless teleop or autonomous mode. This class may be changed to simulate the syntax used in the main robot file.

I just uploaded a source snapshot, which can be found under Downloads. The project is under a GPL at the moment. As of right now, there are only members from Team 11 working on it, but I would like to open it up to other teams. I am not sure how I am going to implement that yet, but feel free to leave a comment here and let me know if you're interested or send me a PM.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-11-2010, 10:46
dirienzo dirienzo is offline
Registered User
AKA: Nick DiRienzo
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Apr 2010
Rookie Year: 2009
Location: USA
Posts: 15
dirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to behold
Re: FRC Java Control System Simulation

Just an update...

We now have a Graph for speed controllers, which draws a line representing the value of the speed controller (-1.0 to +1.0) on the Y-axis and the time on the X-axis. The graph is part of the Victor or Jaguar frame.

I am writing a DigitalSidecar class which will simulate the Digital Sidecar, so only one channel can be occupied at one time.

I need to write documentation as well.

Let me know what you think.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-12-2010, 00:25
bakketti bakketti is offline
Registered User
FRC #0443 (Freelance Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Denver, Co
Posts: 18
bakketti is an unknown quantity at this point
Re: FRC Java Control System Simulation

Looks like a cool project. I think this could be real useful for our team, especially the new programmers. Just downloaded it and will be playing over the holidays.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swerve Software for FRC cRIO Control System in C++ or Java Ken Streeter Programming 2 15-06-2010 17:27
NJ Area Teams - Workshop for New Control system and Java on 12/19 galewind Programming 7 19-12-2009 15:33
new FRC control system? Jwxie Programming 2 30-06-2008 20:34
FRC Competition Control System Triscuit Control System 9 18-02-2008 23:24
FRC Competition Control System Triscuit Technical Discussion 3 17-02-2008 10:56


All times are GMT -5. The time now is 09:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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