|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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.
|
|
#2
|
|||
|
|||
|
Re: GRIP code generating with NetworkTables
I am having this same problem and I have installed networktables with gradle already.
|
|
#3
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|