Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   custom dashboard questions (http://www.chiefdelphi.com/forums/showthread.php?t=86471)

randalcr 03-08-2010 20:25

custom dashboard questions
 
So, I've been tinkering around with customizing the dashboard but I've hit a dead-end. I was wondering if anyone knows an easy way to send data back to the robot. Now when I say I want to send data back to the bot, I mean I want to send variables to controls PWM outputs to motors and other actuators.

Is this possible? Or am I missing something simple? Any input is helpful!
Thanks!

Vikesrock 03-08-2010 20:31

Re: custom dashboard questions
 
The dashboard data is a one way pipe from the robot to the computer, no data goes from the dashboard to the robot.

What are you trying to do on the dashboard that you can't implement directly on the cRio?

randalcr 03-08-2010 21:05

Re: custom dashboard questions
 
We were going to try to get some slider values on the dashboard to directly change things like motor speeds, instead of writing or changing one vi to try to fine tune things.

Bot190 03-08-2010 21:29

Re: custom dashboard questions
 
If you use joysticks with throttle's on them you can use them to alter motor speeds. You can have a slider to show the position of the throttle if you need to.

byteit101 03-08-2010 21:33

Re: custom dashboard questions
 
my ZomB dashboard is nice if you are using Java or C++ (You can use LabVIEW too, its just a little more complex because I don't have bindings yet)
http://firstforge.wpi.edu/sf/sfmain/....zombdashboard
go to file releases, Nightly Unstable, 0.6b1 to download
(partial) documentation available under documents, complete guide to the ZomB Dashboard (not complete yet, but enough that you should be able to get it working)

randalcr 03-08-2010 22:00

Re: custom dashboard questions
 
Quote:

Originally Posted by byteit101 (Post 970826)
my ZomB dashboard is nice if you are using Java or C++ (You can use LabVIEW too, its just a little more complex because I don't have bindings yet)
http://firstforge.wpi.edu/sf/sfmain/....zombdashboard
go to file releases, Nightly Unstable, 0.6b1 to download
(partial) documentation available under documents, complete guide to the ZomB Dashboard (not complete yet, but enough that you should be able to get it working)

Thanks, I have been looking at a thread about this and looks like it'd be something to look at. so we'll try it.

apalrd 03-08-2010 23:02

Re: custom dashboard questions
 
Put a control on the VI and run it. Whenever you hit the RUN button in Robot Main, you can adjust the params. in real time (and use the cool graphs and such) with almost no work at all. Just place the control, and connect it on the block diagram. LabVIEW will take care of the rest. When you get it where you want it, right-click and select Data Operations -> Set Data as Default to keep it there. When you build and flash the robot, all of your params. will still be accessible from the code, so you can leave them there and use them for PID tuning and whatnot.

demosthenes2k8 04-08-2010 15:49

Re: custom dashboard questions
 
To expand on what bot190 said, in order for the throttle value to be in the proper range, you'd have to do (throttle+1)/2, as the throttle is from -1 to 1

randalcr 05-08-2010 14:49

Re: custom dashboard questions
 
thanks for all the great tips guys! and does anyone know how to change the background color of the decorations, like the ones on the dashboard?

Mark McLeod 05-08-2010 15:00

Re: custom dashboard questions
 
1 Attachment(s)
View -> Tools Palette

randalcr 05-08-2010 15:20

Re: custom dashboard questions
 
Thanks

randalcr 28-08-2010 21:57

Re: custom dashboard questions
 
I have gotten a custom dashboard made and it opens with the FRC driver station too. Though i haven't gotten to test it with the robot yet, I do have a question, and that is how can i get it to automatically adjust to fit the screen like the default one did?

Mark McLeod 28-08-2010 22:40

Re: custom dashboard questions
 
From the front panel choose File -> VI Properties
then Category -> Window Run-Time Position
and maybe Window Size depending on what you want to do.

randalcr 28-08-2010 22:58

Re: custom dashboard questions
 
Thanks Mark, your a great help!

Robototes2412 30-08-2010 00:07

Re: custom dashboard questions
 
How easy would it be to hack a python version of the zomb protocol?


All times are GMT -5. The time now is 03:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi