Go to Post Win, Lose or Tie, but do it in a way that FIRSTers will be talking about for years to come! - Bill Moore [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 14-01-2017, 12:42
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus of 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 78
AquaMorph is on a distinguished road
GRIP code generating with NetworkTables

I was playing with GRIP and the code generation for this year. Looking at the code it generated it is ignoring publishing the data. When having it use NetworkTable publishing and not the code it output is identical and does not include any imports for publishing to a NetworkTable. Is this a limitation of the code generation in the current version of GRIP or am I doing something wrong? Ideally I would like to be able to run the code on an external computer and use the NetworkTable to pass the information to the roboRIO.
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
  #2   Spotlight this post!  
Unread Yesterday, 18:53
Denchief1 Denchief1 is offline
Registered User
FRC #4398
 
Join Date: Mar 2016
Location: Traverse city
Posts: 5
Denchief1 is an unknown quantity at this point
Re: GRIP code generating with NetworkTables

I am having this same problem and I have installed networktables with gradle already.
Reply With Quote
  #3   Spotlight this post!  
Unread Yesterday, 19:50
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 136
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: GRIP code generating with NetworkTables

GRIP doesn't generate any publishing functions because it has no way of knowing how the generated code will be used. It's up to you to write the code that takes the output GRIP gives you and publishes it the way you want. Take a look at the GRIP code generation repository for some examples.
__________________
WPILib
GRIP, RobotBuilder
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


All times are GMT -5. The time now is 12:34.

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