Go to Post When you build a practice robot, you're literally buying time. - sanddrag [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 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...?
  #2   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.
  #3   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?
  #4   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
  #5   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?
  #6   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,801
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
  #7   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?
  #8   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?
  #9   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?
  #10   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.
  #11   Spotlight this post!  
Unread 19-01-2009, 11:22
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 sent the report.
Thing is, every single team here in PR received the pack one week later.
So our order will take longer

Man I got so lost in the explanation of the jaguar
I just want to set a maximum speed so the speed never goes up what we think is the best choice. And if we limit the output then I guess that will be solving our problem. Thing is I don't know how to do it with LV if it's possible.

Which would be that software :S
  #12   Spotlight this post!  
Unread 19-01-2009, 13:01
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?

There are many ways to implement what you want. Here are two simple methods.

The least good way to do it is using the "In Range and Coerce" VI that is under Programming -> Comparison. This will allow you to place limits on what will be sent to the Jaguar. Unfortunately, it is just a hard limit - moving your joysticks beyond that limit will just return the limit. This means that your sensitivity will be awful. I mention this option only because that VI will be useful in other situations.

A better way to do it would be to multiply your joystick value by your intended limit. If you only want 25% speed, multiply by .25 . This will allow you to use the full range of the joysticks.
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 02:20.

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