Go to Post Has anyone else figured out a way to slip robotics into any conversation possible? Salespeople, nurse, dentist, pizza delivery guy... they all hear about it... It's gotten to the point where telemarketers will no longer call me, I have to call them... poor telemarketers... - MissInformation [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 03-01-2016, 21:42
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 70
phurley67 is an unknown quantity at this point
Team 862 Base Code

Generic code for a tank based arcade controlled robot. Pretty clean, nice logging, a rudimentary implementation of 254 motion tracking auton.

https://github.com/frc-862/2015-Base.git

There is also a nice little C++ web server we plan on using to manage configuration files and viewing logs. Very little of the the HTML is done; however, the C++ server is complete and functional at:

https://github.com/frc-862/roboconfig.git

Not necessarily saying this is 100% perfect, but it is where we are starting this year, good luck everyone, see you on the field.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-01-2016, 09:00
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 274
Bpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant futureBpk9p4 has a brilliant future
Re: Team 862 Base Code

nice code. I like the organization. How do you like the nvax?
__________________
2016 Tesla Division Finalist
2016 Central Illinois Regional Finalist
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #3   Spotlight this post!  
Unread 05-01-2016, 09:07
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 619
Ari423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud of
Re: Team 862 Base Code

How did you like GitHub with LabVIEW? I have heard very mixed opinions on if it's worth it or whether there's a better way.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote
  #4   Spotlight this post!  
Unread 05-01-2016, 11:15
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 70
phurley67 is an unknown quantity at this point
Re: Team 862 Base Code

I like the NavX. We did find there was an issue using it and the CAN Talons in a high speed control loop (< 20ms). Moved the NavX code to its own loop, and everything worked great.

We have not yet integrated it into the auton motion profile code, but that is on the list. Hopefully it will make things more precise, time will tell.

As for GitHub and labVIEW -- the real question is labVIEW and any version control system -- they are almost all designed to work best with text files, so labVIEW's binary format adds lots of pain points. It works, but merging is very difficult. The big trick is to never let more than one person, work on the same VI at a given time. One of the main reasons we are looking into switching to Java is for better code merging.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2016, 19:46
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Seattle, WA
Posts: 72
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Re: Team 862 Base Code

Hey phurley,

I'm just wondering what type of issues you were seeing, were they with the navX Library or the CAN Talons?
Quick question, why did you need to separate the navX get of YRPHfH to a loop? I also noticed that you were refreshing your navX processing loop at 5ms while you have the navX updating at 50Hz (20ms). Is there a reason as to why you are looping that fast? You will only be receiving new data from the navX at 50Hz.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
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 02:27.

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