Go to Post We build because we can. - Danaca [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 27-06-2015, 22:26
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: 540
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Team 423 Source Code

As our robot code approaches its zenith, I wanted to share it with the Chief Delphi community for people to learn from, possibly to get suggestions, and to show the world how Simple Machines works. Any questions or comments are not only accepted, but welcomed.

https://www.dropbox.com/sh/ock70bamd...aT1Z3ZTOa?dl=0
__________________
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
  #2   Spotlight this post!  
Unread 28-06-2015, 07:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Team 423 Source Code

Looks nice.

I'm curious if you had any success with the joystick recorder and playback?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 28-06-2015, 11:12
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: 540
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Team 423 Source Code

Quote:
Originally Posted by Greg McKaskle View Post
Looks nice.

I'm curious if you had any success with the joystick recorder and playback?

Greg McKaskle
We were able to get it working and it worked consistently in our tests, even going over the step without gyroscopic or accelerometer stabilization. We are a small team, so we don't have a practice field to actually record the autonomous routines. We came up with the recording idea in the post season, and we were planning on recording the routines at MidKnight Mayhem yesterday, but there was no practice field there. Hopefully we will be able to fully implement it at our next post season event.

We particularly liked the idea because our robot turns to the right when driving straight and strafes weirdly because of weight difference on the mecanum wheels. By recording the human inputs, the driver could automatically correct for that turn like he does in competition.
__________________
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 28-06-2015, 11:28
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Team 423 Source Code

Quote:
Originally Posted by Ari423 View Post
We particularly liked the idea because our robot turns to the right when driving straight and strafes weirdly because of weight difference on the mecanum wheels. By recording the human inputs, the driver could automatically correct for that turn like he does in competition.
I hope it works for you but I'd be a bit surprised if it works as well as you are expecting.

Especially for a mec robot that's not driving straight or strafing properly, even if you repeat the driver commands exactly there are a host of random factors can cause a large discrepancy in the end result.

Please let us know how it works out.


a few examples: battery state-of-charge and internal resistance, motor temperature, drivetrain friction

Reply With Quote
  #5   Spotlight this post!  
Unread 28-06-2015, 11:59
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: 540
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Team 423 Source Code

Quote:
Originally Posted by Ether View Post
I hope it works for you but I'd be a bit surprised if it works as well as you are expecting.

Especially for a mec robot that's not driving straight or strafing properly, even if you repeat the driver commands exactly there are a host of random factors can cause a large discrepancy in the end result.

Please let us know how it works out.


a few examples: battery state-of-charge and internal resistance, motor temperature, drivetrain friction
I was able to record an obstacle course on a test bot (this one does drive straight) and it replayed it multiple times on different days with different batteries. I assumed this was a good sign as to its repeatability, but it's possible it won't work as well on the real robot. Obviously it won't be as accurate as a gyro and accelerometer stabilized autonomous, but for what we do (push bin and tote forward into auto zone and turn) it looks to be reliable.
__________________
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
  #6   Spotlight this post!  
Unread 28-06-2015, 12:16
Pault's Avatar
Pault Pault is offline
Registered User
FRC #0246 (Overclocked)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston
Posts: 618
Pault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond repute
Re: Team 423 Source Code

Quote:
Originally Posted by Ari423 View Post
We were able to get it working and it worked consistently in our tests, even going over the step without gyroscopic or accelerometer stabilization. We are a small team, so we don't have a practice field to actually record the autonomous routines. We came up with the recording idea in the post season, and we were planning on recording the routines at MidKnight Mayhem yesterday, but there was no practice field there. Hopefully we will be able to fully implement it at our next post season event.
I have never been to an offseason event with a practice field before. Most don't bother, because at this point most teams aren't looking to scramble to a practice field between matches for driver practice, autonomous tuning, etc. I would reccomend trying to find a team nearby that has a practice field still set up. You will find that teams which have that resource are pretty much always more than happy to share it.
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 03:53.

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