Go to Post FIRST gives everyone lots of practice in getting used to late nights. - waialua359 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 03-01-2017, 22:34
mikhalev mikhalev is offline
Registered User
FRC #2122
 
Join Date: Dec 2014
Location: Boise
Posts: 1
mikhalev will become famous soon enough
Re: Why the sudden burst of code postings?

Team Tators has some code/CAD to post also.

Our CAD postings are up here. The only thing we have up there currently is a roboRIO mount and port protector.

Our offseason robot code is up here. This is the first time we as a team have used Java for a robot, actually. Some interesting things about what we did:
  • We used gradle + a custom script called build.sh to build and deploy code to the robot. Since we used gradle, we could also use external libraries easily, even between team members computers.
  • We split up the robot code into 4 parts.:
    Desktop, which does not depend on WPILib at all and opens a GUI simulation of the robot.
    Rio, which actually runs on the roboRio and contains all of the WPILib-specific code.
    Core, which contains all code common to both rio and desktop.
    And config, which contains YAML files which can be modified to easily change the behavior of the robot.
  • We have code for interfacing with an ADXRS453 gyro here. This differs from WPILib's implementation in that it measures the delay of each run of the Notifier, providing for more accurate rate integration.
  • We have our auton modes written in our config files, which allows for quick and easy tweaks without having to reupload code.

We are also releasing our vision code for the same robot here. This is mostly written in Kotlin, and uses OpenCV and NetworkTables to process images from a Raspberry Pi Camera and send angle values back to the roboRIO for targetting.

That's basically it.
Reply With Quote
 


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 19:29.

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