Go to Post It's super-ironic that a question about searching was found via searching. Whodathunk? - Brandon Martus [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2014, 17:51
awehunter awehunter is offline
Registered User
FRC #3350
 
Join Date: Jan 2014
Location: Texarkana Texas
Posts: 10
awehunter is an unknown quantity at this point
Robot starts and stops rapidly. Makes a meshing sound.

Hey, our robot is having some problems. I finally got it to be able to drive, and I'm messing with making the driving smoother with an Xbox controller. Right now, we're having a problem where the robot stops and starts while it's enabled, and it makes a strange sound. It's similar to what the FLL robots do when they have an issue, so I think they may be similar. I'm not even sure if it's the programming, because it might be the electronics or mechanical issues. Can someone help me out?
  #2   Spotlight this post!  
Unread 17-02-2014, 18:40
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Robot starts and stops rapidly. Makes a meshing sound.

Any chance you could post a video of what is happening? There are a multitude of things it could be.

I am also not familiar with that FLL sound.
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
  #3   Spotlight this post!  
Unread 17-02-2014, 19:16
awehunter awehunter is offline
Registered User
FRC #3350
 
Join Date: Jan 2014
Location: Texarkana Texas
Posts: 10
awehunter is an unknown quantity at this point
Re: Robot starts and stops rapidly. Makes a meshing sound.

http://youtu.be/onmmP1cqZM0
  #4   Spotlight this post!  
Unread 17-02-2014, 19:35
awehunter awehunter is offline
Registered User
FRC #3350
 
Join Date: Jan 2014
Location: Texarkana Texas
Posts: 10
awehunter is an unknown quantity at this point
Re: Robot starts and stops rapidly. Makes a meshing sound.

https://www.youtube.com/watch?v=onmmP1cqZM0
  #5   Spotlight this post!  
Unread 17-02-2014, 21:04
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,756
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: Robot starts and stops rapidly. Makes a meshing sound.

Does the diagnostics tab of the DS show errors? What is the battery voltage before driving, and while driving?

Greg McKaskle
  #6   Spotlight this post!  
Unread 17-02-2014, 22:44
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 144
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: Robot starts and stops rapidly. Makes a meshing sound.

We had similar issues caused by small connection loses between the driver station and the radio (the robot even one time starting driving randomly). The problem was an insecure power connection to the radio. A simple wire tie around the radio and power cord to hold it in fixed it.
  #7   Spotlight this post!  
Unread 17-02-2014, 23:29
RandeJ RandeJ is offline
Registered User
AKA: Rande Johnson
FRC #4931 (Edwardsville Tech)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Edwardsville, IL
Posts: 14
RandeJ is an unknown quantity at this point
Re: Robot starts and stops rapidly. Makes a meshing sound.

We had a similar problem today. Turned out to be sign error in our drive code logic that caused a good setting to be followed by a zero. The resulting "dither" sounded exactly as you described.
  #8   Spotlight this post!  
Unread 18-02-2014, 00:02
BBray_T1296's Avatar
BBray_T1296 BBray_T1296 is offline
I am Dave! Yognaut
AKA: Brian Bray
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Rockwall, TX
Posts: 947
BBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond repute
Re: Robot starts and stops rapidly. Makes a meshing sound.

Are you sure your code is not trying to write weird numbers to the motors? Perhaps a 100% followed by a 0% in rapid succession?

If you go back to the "non smoother" code, does this problem still exist?
__________________
If molecular reactions are deterministic, are all universes identical?

RIP David Shafer: you will be missed


  #9   Spotlight this post!  
Unread 20-02-2014, 13:12
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 520
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Re: Robot starts and stops rapidly. Makes a meshing sound.

Quote:
Originally Posted by BBray_T1296 View Post
Are you sure your code is not trying to write weird numbers to the motors? Perhaps a 100% followed by a 0% in rapid succession?

If you go back to the "non smoother" code, does this problem still exist?
This ^^. Make sure you aren't commanding the speed controllers a specific direction and then immediately reversing that direction somewhere in code.
__________________
My FIRST legacy:

Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
  #10   Spotlight this post!  
Unread 20-02-2014, 14:35
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: Robot starts and stops rapidly. Makes a meshing sound.

What language are you using for programming? Can you maybe post the code that you changed to do the "smoothing"?
__________________
  #11   Spotlight this post!  
Unread 20-02-2014, 14:41
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,080
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Robot starts and stops rapidly. Makes a meshing sound.

If command based pay attention to your isFinished and end methods. If your command is returning true from isFinished immediately and your end method stops the motors you could have this behavior.
__________________




.
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 02:37.

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