Go to Post Know that CD is a safe environment to learn to talk with a foot in your mouth. - Andrew Schreiber [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-01-2017, 00:51
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,068
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Thad House View Post
For the ADXRS453, its actually not a FPGA accumulator. Its a HAL level notifier running at 200Hz. It was originally at the Java level, but that took about 50% of the CPU if I recall correctly, so it ended up being built at the HAL level.
Bleh, now that you mention it I remember that it is a HAL accumulator, but the 200Hz bit is news to me; all Java code and documentation suggests that the period requested by spiInitAccumulator will be honored. Stuff like that ought to be documented.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-01-2017, 01:04
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,068
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Jared Russell View Post
Bleh, now that you mention it I remember that it is a HAL accumulator, but the 200Hz bit is news to me; all Java code and documentation suggests that the period requested by spiInitAccumulator will be honored. Stuff like that ought to be documented.
You made me curious too. I thought I had remembered 200Hz, but it does look like we bumped it to 1KHz by default, and it does honor the period requested by spiInitAccumulator.

The documentation and cleanup of WPILib has actually been one of the big goals this summer and offseason. The HAL API was basically rewritten to be typesafe and faster too, along with being closer to what a HAL should be. In addition to some much needed consistency improvements and cleanups.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-01-2017, 08:04
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,712
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Thad House View Post
You made me curious too. I thought I had remembered 200Hz, but it does look like we bumped it to 1KHz by default, and it does honor the period requested by spiInitAccumulator.

The documentation and cleanup of WPILib has actually been one of the big goals this summer and offseason. The HAL API was basically rewritten to be typesafe and faster too, along with being closer to what a HAL should be. In addition to some much needed consistency improvements and cleanups.
Thank god. It's been frustrating that the most used language has also been the worst documented.
Reply With Quote
  #4   Spotlight this post!  
Unread Yesterday, 19:10
HSi HSi is offline
Registered User
FRC #1712 (Dawgma)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Ardmore
Posts: 3
HSi is an unknown quantity at this point
Re: Why the sudden burst of code postings?

Here's the Github repository for 1712's robot code: https://github.com/edf42001/FRC-2016-Robot, and for our dashboard code: https://github.com/edf42001/FRC-2016-Dash.
Reply With Quote
  #5   Spotlight this post!  
Unread Yesterday, 21:28
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Captain
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 143
nickbrickmaster is an unknown quantity at this point
Re: Why the sudden burst of code postings?

Our code from 2016 is here, plus a few misc summer projects.

https://github.com/frc3184/
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
Reply With Quote
  #6   Spotlight this post!  
Unread Yesterday, 22:02
weaversam8 weaversam8 is offline
Team Captain
AKA: Sam Weaver
FRC #4534 (Wired Wizards)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wilmington, North Carolina
Posts: 134
weaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to behold
Re: Why the sudden burst of code postings?

Here's a friendly reminder that all of 4534's code (robot code, vision code, LED strip code, and our predictive scouting system ORB) is all available on our Github!

Happy Kickoff Eve Eve everyone!
__________________
ORB Haow!

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 08:46.

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