Go to Post Oh the wonders that happen in Michigan competitions... ;) - delsaner [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 21-01-2015, 05:51
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 158
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Exclamation Expanding The Dashboard on 2 Screens? +Mecanum question

Is it possible to expand the dashboard to two screens?
I'd like to have one screen to show the camera and the other to show robot data.

and another question:
In which way can I track a mecanum robot's position while not driving forward or backward?
Can I do it using an accelerometer & a gyro? how so?

Thanks!
  #2   Spotlight this post!  
Unread 21-01-2015, 07:21
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 544
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Thumbs down Re: Expanding The Dashboard on 2 Screens? +Mecanum question

. . . Yes?
If you're using a non-classmate, than just drag the dashboard to the other screen.

If you're using a classmate you have to do it in developer mode.

Keep in mind a second monitor may be extremely inconvenient on the operator console.

As to your second question I don't know what you're referring to. If you mean diagnol than it would just be adding the left and right wheels together (though some trig may have to be used to fix the length of the triangle formed by the wheels)

Last edited by Arhowk : 21-01-2015 at 07:23.
  #3   Spotlight this post!  
Unread 21-01-2015, 07:33
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Expanding The Dashboard on 2 Screens? +Mecanum question

What language are you programming in? In labview, it is possible to open a second window and place the 2nd one on the 2nd screen. I'm not sure about other languages.

Quote:
In which way can I track a mecanum robot's position while not driving forward or backward?
Can you be more specific as to what you mean by this and what you intend to use it for?
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #4   Spotlight this post!  
Unread 21-01-2015, 08:23
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: Expanding The Dashboard on 2 Screens? +Mecanum question

To clarify, do you intend to have multiple computers, or a computer with a second monitor?

Either way, it is pretty easy to either run multiple programs, and all languages support having multiple windows spread around on the different monitors, but none of the frameworks do it by default.

Please give more details on what you want the DB to be and I can give a more specific suggestion.

Greg McKaskle
  #5   Spotlight this post!  
Unread 21-01-2015, 13:25
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 158
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
I want to have an external screen connected to the computer which will show additional data.
Will it work using two different dashboard programs?

And as for the mecanum,
I would like to know the position of the robot on a x, y coordinate system. It's problematic when not moving in parallel to the wheels direction.
What kind of sensors do I need and how should they be used?

I'm using LabVIEW.
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
  #6   Spotlight this post!  
Unread 21-01-2015, 13:39
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: Expanding The Dashboard on 2 Screens? +Mecanum question

Using two monitors on one computer, you may simply be able to run in developer mode and grow the dashboard window to the size you want spanning two monitors. This may result in having the video on the left and the tabbed area on the right which can show custom, basic, or variables.

If you wish to have video in another window, I'd probably build a simple subVI.
Move the vision display to it, set it to fill the window, and connect the indicator to the connector pane as an input.
Set the VI Properties of the subVI to Open when Called.
Then drop this new subVI into the vision loop and pass the image to the subVI instead of to the terminal of the original display.

As additional cleanup, you may want to modify the original dashboard code to get rid of image display references and simplify or delete the resize code that was assuming a screen split.

Greg McKaskle
  #7   Spotlight this post!  
Unread 22-01-2015, 00:19
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: Expanding The Dashboard on 2 Screens? +Mecanum question

Quote:
Originally Posted by GuyM142 View Post
And as for the mecanum,
I would like to know the position of the robot on a x, y coordinate system. It's problematic when not moving in parallel to the wheels direction.
What kind of sensors do I need and how should they be used?
Keeping track of robot coordinates is a problematic proposition in general. A mecanum drivebase does make the kinematic calculations a little more involved than a skid-steer one, but if you are good about changing speeds smoothly and not slipping your wheels, the calculations are actually more likely to match reality. Using an encoder on each wheel, you can compute how far and in which direction the robot is traveling, and how much it has rotated.
  #8   Spotlight this post!  
Unread 22-01-2015, 18:43
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 83
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Expanding The Dashboard on 2 Screens? +Mecanum question

I was thinking something very similar. I would like to have two SmartDashboard windows. One for the driver and the other for the operator. With the idea of having our custom driver station with two screens. But, I haven't found the option to create a second SmartDashboard window yet.

While we could widen the display to span both screens and populate one side with driver info and the other side with operator info; but that would force force us to have a dual screen setup even while we are testing. Overlapping windows would be easier to manage during development.

Is this possible or am I just dreaming?
__________________
Michael Andrews
Team #281 Programming Mentor
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:51.

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