Go to Post A lot of people posting without first hand knowledge, that's fun. - Aren_Hill [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #61   Spotlight this post!  
Unread 30-07-2015, 11:20
jajabinx124's Avatar
jajabinx124 jajabinx124 is offline
Team 2052 Alumnus
AKA: Kshitij Wavre
no team
Team Role: College Student
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Madison, WI
Posts: 541
jajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by carpedav000 View Post
I'm not a programmer, but I would say a gyro would be very useful if you want to drive field-oriented.
^

A gryo can be a huge help in autonomous. Our team used a gryo in autonomous and it was very simple to make 90 degree or 180 degree turns, making it simple to implement turns/movements.

So to make life easier for autonomous, definitely consider using gyros. You won't have to rely on random numbers that you think will make it turn or move the way you want it to, instead you can rely on a sensor.
__________________
FRC Volunteer CSA (MRI off-season event, 2017 Lake Superior Regional, 2017 10,000 Lakes Regional) 2016 - Present
FRC 2052 KnightKrawler (Team Captain, Strategist, Scouting, Programming) 2013 - 2016

1 Division Win & Einstein Appearance
3 Division Quarter-Finalists
1 Regional Chairman's Award
5 Regional Wins, 3 Regional Finalists
3 MN State Championship Wins, 1 MN State Championship Finalist
Thanks to all our alliance partners who krawled with us: 41, 70, 225, 525, 1595, 2054, 2062, 2122, 2175, 2227, 2472, 2526, 2883, 2990, 3018, 3244, 3276, 3310, 3313, 3360, 3538, 3692, 4011, 4198, 4536, 4607, 4778, 5172, 5690

Last edited by jajabinx124 : 30-07-2015 at 11:22.
  #62   Spotlight this post!  
Unread 30-07-2015, 11:57
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: 656
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: Which sensors should be used throughout the robot?

Quote:
Originally Posted by Gdeaver View Post
For 2016 we are looking for a better IMU. We recently purchased a Arduino Shield with a Bosch BMO055 orientation sensor. It has a 3 axis accelerometer, gyro and magnetometer. Plus a Arm cortex M0 core running fusion code. Easy set up. Initialize the I2C port, write to a few registers and its running. We bought the Arduino shield for testing. Will use the Adafruit board on the robot if we go with it. Only have 1 hour of testing. Gyro, accelerometer fusion looks rock solid. Add in the mag and it is not good. Interesting is the linear acceleration output. It's a little noisy but with a little clean up could give direction of motion. Not suitable for distance. Better than the Invensense outputs. Looks good but you never know until it's on the robot.
We were possibly looking to use the Bosch BNO055, but we were unsure of how to connect it to the RoboRIO (via Arduino or otherwise). Can you please explain how you did it and how difficult it was to do.
__________________
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)


  #63   Spotlight this post!  
Unread 30-07-2015, 12:32
marshall's Avatar
marshall marshall is online now
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,332
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by Ari423 View Post
We were possibly looking to use the Bosch BNO055, but we were unsure of how to connect it to the RoboRIO (via Arduino or otherwise). Can you please explain how you did it and how difficult it was to do.
Looks like it is an I2C device so you could break out the pins to the RoboRIO. I'd probably avoid the arduino and go straight for a breakout like this one: http://www.adafruit.com/products/247...VwFxoCpIzw_wcB

If you want/need to do some formatting of the stream first then I suppose you could go the RIOduino and shield route:

http://www.andymark.com/product-p/am...tm&Click=35018
+
http://www.robotshop.com/en/arduino-...icIRoCJTXw_wcB
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
  #64   Spotlight this post!  
Unread 30-07-2015, 14:10
Henrique Schmit's Avatar
Henrique Schmit Henrique Schmit is offline
Registered User
FRC #1156 (Under Control)
Team Role: CAD
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Brazil
Posts: 55
Henrique Schmit is an unknown quantity at this point
Re: Which sensors should be used throughout the robot?

From what we've done in previous years you can use limit switches to do a lot in a very simple way, so when you have boolean aplications, like an arm that only has two positions switches can do the job very well. This year we've used them to set a zero point on our elevator, this way every time it went back down the zero on our encoder would reset to avoid problems with it getting lost. Our team really likes to use this kind of limit switch http://www.amazon.com/ME-8108-Adjust...s=limit+switch they are very robust, adjustable and cheap, so we can keep it simple and still do a lot with them.
__________________
Ready for the water games
http://i.imgur.com/QQXtifE.jpg

  #65   Spotlight this post!  
Unread 30-07-2015, 14:33
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 122
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: Which sensors should be used throughout the robot?

I agree with a number of posters on this thread that limit switches are very good and extremely valuable in FRC robots.

However, I want to emphasize one item. Do NOT overlook the mechanical design of the switch actuation. I have seem too many (including our own robot in 2014) switches that were designed to be impacted by a mechanism, versus acting in a bypass fashion.

Thanks
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
  #66   Spotlight this post!  
Unread 30-07-2015, 14:47
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,519
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by feverittm View Post
I agree with a number of posters on this thread that limit switches are very good and extremely valuable in FRC robots.

However, I want to emphasize one item. Do NOT overlook the mechanical design of the switch actuation. I have seem too many (including our own robot in 2014) switches that were designed to be impacted by a mechanism, versus acting in a bypass fashion.

Thanks
This is why hall effect, beam break, and inductive sensors are great! Non-contacting is the way to go.
  #67   Spotlight this post!  
Unread 30-07-2015, 14:52
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 610
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Just to clarify, you use a beam break by using a piece of tape to reflect its own laser back to it, and if that laser is not reflected, it returns a false value?
  #68   Spotlight this post!  
Unread 30-07-2015, 14:57
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,519
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by thatprogrammer View Post
Just to clarify, you use a beam break by using a piece of tape to reflect its own laser back to it, and if that laser is not reflected, it returns a false value?
It depends on the specific switch, and how it's wired.

Generally you decide based on what you want the failure mode to be. Do you want a disconnected/broken switch to read the same as seeing an object? Or do you want a broken/disconnected switch to read the same as never seeing an object.
  #69   Spotlight this post!  
Unread 31-07-2015, 00:13
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by Necroterra View Post
So if I understand this DMA thing, the FGPA reads off the sensor values on an event happening, and the relatively slow accessing of the memory can be done later? Wouldn't that still give you inaccurate data unless you added on the expected change since it was read?

Also, by upstreamed, do you mean it will be part of default WPILIB?
Yes, part of WPILib. I sent out patches in December ish, but there were too many other issues for the patches to get much attention.

With DMA, you get to read the captured data when you want. But, that capture can include both the signal that changed, all digital inputs, the timestamp of the event, all encoder values, all analog inputs, etc. If you are trying to correlate a digital input change to an encoder value, that delay is fine. If you are trying to correlate an analog input with an encoder at an edge, the delay is also fine. And by delay here, I mean up to 5 ms for our system, since we run our control loops at 200 hz and only pull out of the DMA buffer at that frequency.
  #70   Spotlight this post!  
Unread 31-07-2015, 11:36
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 610
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by AdamHeard View Post
It depends on the specific switch, and how it's wired.

Generally you decide based on what you want the failure mode to be. Do you want a disconnected/broken switch to read the same as seeing an object? Or do you want a broken/disconnected switch to read the same as never seeing an object.
Say you planned to use a beam break to detect if a tote was in the robot or not. When the beam broke, you'd know it saw the tote. In that case, would you use the tape to reflect back to it?
Thanks!
  #71   Spotlight this post!  
Unread 01-08-2015, 22:49
EDesbiens's Avatar
EDesbiens EDesbiens is offline
Passionate crackpot
AKA: Étienne Desbiens
FRC #5859 (i)
Team Role: College Student
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Canton de Hatley, QC, Canada
Posts: 297
EDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of light
Re: Which sensors should be used throughout the robot?

What would you guys use to know the position of the robot on the field at all time? And do you know any not drifting gyro?
__________________
Lisa: Players play and managers manage.
Ralph: Do alligators alligate?
  #72   Spotlight this post!  
Unread 01-08-2015, 23:00
jajabinx124's Avatar
jajabinx124 jajabinx124 is offline
Team 2052 Alumnus
AKA: Kshitij Wavre
no team
Team Role: College Student
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Madison, WI
Posts: 541
jajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond reputejajabinx124 has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by EDesbiens View Post
What would you guys use to know the position of the robot on the field at all time? And do you know any not drifting gyro?
The gyros we've used tend to drift as well, but the drift isn't significant enough to mess up movements. (At least in autonomous) Our team only uses gyros in autonomous, and when autonomous initiates we reset the gyro in the code (so it resets the drift right when auto starts, so we don't have to worry about drift). Since auto usually is 10-15 seconds, the drift isn't significant enough to mess things up for us.

I don't know any gyros that don't drift.
__________________
FRC Volunteer CSA (MRI off-season event, 2017 Lake Superior Regional, 2017 10,000 Lakes Regional) 2016 - Present
FRC 2052 KnightKrawler (Team Captain, Strategist, Scouting, Programming) 2013 - 2016

1 Division Win & Einstein Appearance
3 Division Quarter-Finalists
1 Regional Chairman's Award
5 Regional Wins, 3 Regional Finalists
3 MN State Championship Wins, 1 MN State Championship Finalist
Thanks to all our alliance partners who krawled with us: 41, 70, 225, 525, 1595, 2054, 2062, 2122, 2175, 2227, 2472, 2526, 2883, 2990, 3018, 3244, 3276, 3310, 3313, 3360, 3538, 3692, 4011, 4198, 4536, 4607, 4778, 5172, 5690

Last edited by jajabinx124 : 01-08-2015 at 23:02. Reason: Typo
  #73   Spotlight this post!  
Unread 01-08-2015, 23:12
EDesbiens's Avatar
EDesbiens EDesbiens is offline
Passionate crackpot
AKA: Étienne Desbiens
FRC #5859 (i)
Team Role: College Student
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Canton de Hatley, QC, Canada
Posts: 297
EDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of light
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by jajabinx124 View Post
I don't know any gyros that don't drift.
So it would be pretty hard to get a good measure during an entire match... Could we use something else to balance?
__________________
Lisa: Players play and managers manage.
Ralph: Do alligators alligate?
  #74   Spotlight this post!  
Unread 01-08-2015, 23:17
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,106
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: Which sensors should be used throughout the robot?

Quote:
Originally Posted by EDesbiens View Post
What would you guys use to know the position of the robot on the field at all time? And do you know any not drifting gyro?
This is something that's actually very difficult to do.

Pretty much any gyro within FRC budget is going to drift, at least a little bit. Things like the NavX, or 2 gyros stacked on top of each other upside down can help, but since a gyro is a rate sensor, getting angle requires integration, and any integral error just adds up and compounds, which is actually what creates the drift. A compass could work if the motors didn't create so much interference, but with FRC robots compass's are not reliable enough.

Position is difficult as well. Things like encoders on drive wheels can give a start to position, but since you need a gyro to detect angle, you still get error, plus if your wheel's slip everything goes bad fast. You could use a non driven wheel to measure, but those can slip too, and you still have the gyro error.

The only good options that would be within FRC price ranges would be something like a FIRST provided HD camera above the field, that teams could use to track their robots. But with current items, getting 100% accurate position and angle of the robot throughout an entire match is not easy, and I would say its not possible within the current budget and DS rule limits.
__________________
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.
  #75   Spotlight this post!  
Unread 01-08-2015, 23:21
EDesbiens's Avatar
EDesbiens EDesbiens is offline
Passionate crackpot
AKA: Étienne Desbiens
FRC #5859 (i)
Team Role: College Student
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Canton de Hatley, QC, Canada
Posts: 297
EDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of light
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by Thad House View Post
The only good options that would be within FRC price ranges would be something like a FIRST provided HD camera above the field, that teams could use to track their robots. But with current items, getting 100% accurate position and angle of the robot throughout an entire match is not easy, and I would say its not possible within the current budget and DS rule limits.
That is a neat idea... Hard to realise but pretty cool

My goal is to create a semi-autonomous robot (or autonomous if possible)...
__________________
Lisa: Players play and managers manage.
Ralph: Do alligators alligate?
Closed Thread


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 15: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