Go to Post Keep arrogant, belittling and misspelled bragging off these boards. - Mike [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-01-2009, 21:14
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Accelerometer Help?

I'm trying to use the accelerometer example to see if I can set a specific acceleration rate but everytime I run it over the cRIO it doesn't work. And I don't get the values it shows not even with the manual and 10 people reading it

Some help?
  #2   Spotlight this post!  
Unread 17-01-2009, 22:07
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help?

When you say "it doesn't work," what do you expect it to do and what does it do instead? How do you have the accelerometer connected? Please give as much detail as possible so that we can all work together to narrow down the problem quickly.
  #3   Spotlight this post!  
Unread 18-01-2009, 09:44
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Help?

I have the cRIO connected via wireless.
I was expecting that when I ran the .vi I could accelerate and it would show me the rate of acceleration but when I move my joysticks it doesn't do anything at all

I left the default settings cause I don't understand what they mean
  #4   Spotlight this post!  
Unread 18-01-2009, 10:14
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Help?

I'd check your wiring first. What ports are the accelerometer plugged into? Is that analog bumper working? Please fully explain your wiring.

What happens when you shake the accelerometer?

The settings indicate the middle point and the sensitivity of the sensor. Basically, they help map voltages to accelerations.


EDIT: Moderators - Can one of you please rename this thread?
  #5   Spotlight this post!  
Unread 18-01-2009, 10:46
pgaston pgaston is offline
Registered User
FRC #2103
 
Join Date: Dec 2008
Location: Gloucester, MA
Posts: 9
pgaston is an unknown quantity at this point
Re: Help?

A quick build on the last post. Are you using the dashboard? If not, do. This will help you ensure that your accelerometers are indeed working and plugged into the ports you think they are. (The dashboard helped us!)
  #6   Spotlight this post!  
Unread 18-01-2009, 10:48
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Help?

Does the cRIO have an accelerometer...?
  #7   Spotlight this post!  
Unread 18-01-2009, 11:12
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Help?

Quote:
Originally Posted by elbuo View Post
Does the cRIO have an accelerometer...?
No. The accelerometer is a separate board.
  #8   Spotlight this post!  
Unread 18-01-2009, 11:18
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Help?

So that means we need to buy one right?
  #9   Spotlight this post!  
Unread 18-01-2009, 11:27
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Help?

No, one came in the kit of parts. It is a red board that is 1" square that says Accel on it.

It is shown on page 2 of http://usfirst.org/uploadedFiles/200...r%20Manual.pdf
  #10   Spotlight this post!  
Unread 18-01-2009, 11:45
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Help?

Is it the piece connected on top of the cRIO. Connected to one of the slots?
The Digital one?
  #11   Spotlight this post!  
Unread 18-01-2009, 11:54
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,855
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help?

No. The Accelerometer came in the padded manila envelope in the KOP and doesn't attach to the cRIO modules.

It needs to be physically wired before it can be attached to anything. It's just a bare 1" square circuit board.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #12   Spotlight this post!  
Unread 18-01-2009, 12:38
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Help?

Then we are missing it Cause I just went out to look for it and I didn't find it...
I'll keep searching....
After that I guess I'll figure my way out...



Also, I want to set a specific speed to the jaguars but I can't find where to do it.
I used all the motor examples available but none of them save the settings when I use the joystick...Any help?
  #13   Spotlight this post!  
Unread 18-01-2009, 19:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help?

Quote:
Originally Posted by elbuo View Post
Then we are missing it Cause I just went out to look for it and I didn't find it...
Someone should have done an inventory of your Kit Of Parts, using the 2009 KoP Checklist on the http://www.usfirst.org/community/frc...nt.aspx?id=452 page (find it under Section 10 - The Kit of Parts). Ask the person who did it whether your accelerometer board was missing, and where it got put if it was included.

Quote:
Also, I want to set a specific speed to the jaguars but I can't find where to do it.
I used all the motor examples available but none of them save the settings when I use the joystick...Any help?
I'm not sure I understand what you're asking. What does "save the settings" mean?
  #14   Spotlight this post!  
Unread 18-01-2009, 23:39
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Help?

Yeah we are actually missing it.
All the teams from PR.

From what I read I can adjust the jaguars right?
I want to set a specific acceleration rate and a specific speed limit.
How can I do it?
  #15   Spotlight this post!  
Unread 19-01-2009, 10:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help?

Quote:
Originally Posted by elbuo View Post
Yeah we are actually missing it.
You had the chance to tell FIRST about missing KoP items the first week.
Quote:
From what I read I can adjust the jaguars right?
I want to set a specific acceleration rate and a specific speed limit.
How can I do it?
You can't "adjust" a Jaguar the way you're describing it. What you can do is control its output, from full reverse to full forward and anything in between.

If you want to limit the maximum output, do it in software with a MIN() function. If you want to have a specific rate of change, do it in software by only changing the control value by a given amount in a given time until it reaches the desired value.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
accelerometer help!! wildcats Electrical 2 18-01-2009 15:51
Help with accelerometer. ThisIsFood NI LabVIEW 6 17-01-2009 12:40
Accelerometer Help! Questions4mQ202 Electrical 4 15-01-2009 19:44
Accelerometer help Red Mage Programming 3 30-01-2008 18:49
Accelerometer Connection Help crazykid234 Electrical 2 11-02-2005 08:23


All times are GMT -5. The time now is 21:48.

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