Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Team 423 Source Code (http://www.chiefdelphi.com/forums/showthread.php?t=137627)

Ari423 27-06-2015 22:26

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

Greg McKaskle 28-06-2015 07:40

Re: Team 423 Source Code
 
Looks nice.

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

Greg McKaskle

Ari423 28-06-2015 11:12

Re: Team 423 Source Code
 
Quote:

Originally Posted by Greg McKaskle (Post 1488293)
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.

Ether 28-06-2015 11:28

Re: Team 423 Source Code
 
Quote:

Originally Posted by Ari423 (Post 1488301)
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


Ari423 28-06-2015 11:59

Re: Team 423 Source Code
 
Quote:

Originally Posted by Ether (Post 1488304)
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.

Pault 28-06-2015 12:16

Re: Team 423 Source Code
 
Quote:

Originally Posted by Ari423 (Post 1488301)
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.


All times are GMT -5. The time now is 01:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi