Results 1 to 3 of 3

Thread: Java Framework and FRC Dashboard

  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Default Java Framework and FRC Dashboard

    Does the stock FRC Dashboard (comes with you install the drivers stations) work with Java Framework?

    I am able to push both simple and iterative Java code to the robot and the robot behaves accordingly. When we ran Labview code the FRC dashboard application worked, but with Java code it does not. Are they compatible?

    Regards
    Bill
    Team1257

  2. #2
    Join Date
    Jan 2011
    Location
    Idaho
    Posts
    70

    Default Re: Java Framework and FRC Dashboard

    I would expect they should be, but we have not gone far enough to try that yet. We have a student that has written a pretty advanced dashboard, so our goal is to try and see if we can get java data to flow to it, as well as C++. That is this weeks effort. We will post and let you know how it goes.

    But, if you were to look, there should be some base data structures that the labview code is expecting in the user section out of the box you will want to make sure the java code is sending. The battery level and other base data is in a fixed structure part of the messages to the drivers station. The user payload area is where we found all the dashboard data was loaded.

    It may mean digging into the labview code a little bit on the dashboard side to see what it is expecting.
    Head Mentor
    FIRST Team 4106
    Bots of Prey
    http://www.botsofprey.org
    Canyon County 4-H, Idaho

  3. #3
    Join Date
    Jan 2011
    Posts
    2

    Default Re: Java Framework and FRC Dashboard

    FYI:

    Java Framework does have all the hooks. There is a Dashboard class and an example how to use it found in FRCJava sample code. I just tried it out and it works like a charm.

    -Bill
    Team1257

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •