Go to Post Woodie Flowers would like to win the Chuck Norris award. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #31   Spotlight this post!  
Unread 04-10-2013, 18:45
Aaron.Graeve Aaron.Graeve is offline
Registered User
FRC #1477 (Texas Torque)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: College Station, Texas
Posts: 103
Aaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to all
Re: Plotting Location w/ Accellerometer Project

Quote:
Originally Posted by Invictus3593 View Post
I just tried to write up a point overlay in the dashboard like you said using the IMAQ Point overlay vi, but I can't seem to get it to actually plot a few points on the image, do you have any examples? Do you have any sample code left?
Unfortunately, I do not have any code to show and I do not have access to the libraries to recreate it. I may be able to get an example together when I go home this weekend and can get to my laptop, but until then, I can share nothing. I would only recommend that you make sure you apply the overlay after the dashboard clears the pre-existing overlays. It also may not hurt to test the overlays on a stock image (i.e. read an image from a file and try and apply the overlay; it will help make sure the process is correct.) I will post some code if I get a chance.
__________________

2016:
Alamo, Bayou, and Lone Star Regional FTAA
2015:
Dallas, Alamo, Bayou, and Lone Star Regional FTAA
2014:
Alamo, Dallas, and Lone Star Regional FTAA
Alamo Regional Robot Inspector
2013:
Einstein Champion and 2013 World Champion (Thanks 1241 & 610), Galileo Division Champion, Razorback Regional Winner, Alamo Regional Semifinalist, Bayou Regional Semifinalist, Lone Star Regional Quarterfinialist
2012:
Curie Division Semifinalist, Lone Star Regional Finalist, Bayou Regional Winner, Alamo Regional Winner

Last edited by Aaron.Graeve : 04-10-2013 at 18:48. Reason: Added reference quote
Reply With Quote
  #32   Spotlight this post!  
Unread 04-10-2013, 23:44
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Plotting Location w/ Accellerometer Project

Quote:
Originally Posted by Greg McKaskle View Post
You could also do this in an XY graph.
Here's how we used an XY graph to show a robot's path with a cursor showing current position.
Attached Thumbnails
Click image for larger version

Name:	FieldGraph.png
Views:	27
Size:	47.2 KB
ID:	15264  

Last edited by Joe Ross : 05-10-2013 at 11:20. Reason: typo
Reply With Quote
  #33   Spotlight this post!  
Unread 05-10-2013, 00:06
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Plotting Location w/ Accellerometer Project

Quote:
Originally Posted by Joe Ross View Post
Here's how we uses an XY graph to show a robot's path with a cursor showing current position.
Joe, what functional purpose does the X-Y graph have?
Reply With Quote
  #34   Spotlight this post!  
Unread 05-10-2013, 11:20
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Plotting Location w/ Accellerometer Project

Quote:
Originally Posted by Tom Line View Post
Joe, what functional purpose does the X-Y graph have?
Just for display and debugging.
Reply With Quote
  #35   Spotlight this post!  
Unread 05-10-2013, 19:41
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Plotting Location w/ Accellerometer Project

Quote:
Originally Posted by Aaron.Graeve View Post
I would only recommend that you make sure you apply the overlay after the dashboard clears the pre-existing overlays.
That may be what I missed, it already overlays the points on a bmp of the field found here.

Quote:
Here's how we used an XY graph to show a robot's path with a cursor showing current position.
What System did you use to get the X and Y values of the robot's position?
__________________
Per Audacia Ad Astra
Reply With Quote
  #36   Spotlight this post!  
Unread 06-10-2013, 23:55
Aaron.Graeve Aaron.Graeve is offline
Registered User
FRC #1477 (Texas Torque)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: College Station, Texas
Posts: 103
Aaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to all
Re: Plotting Location w/ Accellerometer Project

If it already overlays the points, is there any issue?
Additionally, your robot x and y coordinates would probably be generated using the algorithm this thread was discussing earlier and pulled from the robot to the dashboard. Correct me if I am wrong, but I thing Joe used simple input controls to illustrate the point (no pun intended) of using an XY Graph.
__________________

2016:
Alamo, Bayou, and Lone Star Regional FTAA
2015:
Dallas, Alamo, Bayou, and Lone Star Regional FTAA
2014:
Alamo, Dallas, and Lone Star Regional FTAA
Alamo Regional Robot Inspector
2013:
Einstein Champion and 2013 World Champion (Thanks 1241 & 610), Galileo Division Champion, Razorback Regional Winner, Alamo Regional Semifinalist, Bayou Regional Semifinalist, Lone Star Regional Quarterfinialist
2012:
Curie Division Semifinalist, Lone Star Regional Finalist, Bayou Regional Winner, Alamo Regional Winner
Reply With Quote
  #37   Spotlight this post!  
Unread 07-10-2013, 08:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Plotting Location w/ Accellerometer Project

Quote:
Originally Posted by Aaron.Graeve View Post
your robot x and y coordinates would probably be generated using the algorithm this thread was discussing earlier
The equations and code for getting X, Y, and orientation from 3 omni follower wheels is discussed in Post 11 in this thread:

http://www.chiefdelphi.com/forums/sh...d.php?t=120022


Reply With Quote
  #38   Spotlight this post!  
Unread 07-10-2013, 09:06
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Plotting Location w/ Accellerometer Project

Quote:
Originally Posted by Aaron.Graeve View Post
If it already overlays the points, is there any issue?
Additionally, your robot x and y coordinates would probably be generated using the algorithm this thread was discussing earlier and pulled from the robot to the dashboard. Correct me if I am wrong, but I thing Joe used simple input controls to illustrate the point (no pun intended) of using an XY Graph.
-That's just it, I can't get it to overlay points with the IMAQ overlay, I have yet to try Joe's method, but it looks promising!
-I did see that, and I was thinking about using the SmartDashboard to read the encoder values from the robot, just the numeric values, then do the calculations on the driver station, reducing CPU usage.


Quote:
The equations and code for getting X, Y, and orientation from 3 omni follower wheels is discussed in Post 11 in this thread:

http://www.chiefdelphi.com/forums/sh...d.php?t=120022
Thanks! I was wondering what the configuration of the wheel would look like. Also, the code really helped clear up confusion I had about how position would be calculated. So on the dashboard, one would just need to read the X, Y, and Q values and set them on the graph? The Arc & Chord pdf later in that thread helped a lot as well.
__________________
Per Audacia Ad Astra

Last edited by Invictus3593 : 07-10-2013 at 22:36.
Reply With Quote
Reply


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 04:35.

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