Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   New Year, New ZomB Dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=88306)

MikeNimmo 26-02-2011 17:29

Re: New Year, New ZomB Dashboard
 
Just something to look into for the next version:
My team is currently having trouble running both the camera and the meters on the dashboard at the same time. When we try, the camera has a delay of about four seconds and the meters are off by about two. We were not sure if just too much info is being sent to the dashboard so we tried using a remote dashboard and everything was fine. On a side note, the meters and the camera work fine independently.

byteit101 26-02-2011 17:48

Re: New Year, New ZomB Dashboard
 
Quote:

Originally Posted by MikeNimmo (Post 1031847)
Just something to look into for the next version:
My team is currently having trouble running both the camera and the meters on the dashboard at the same time. When we try, the camera has a delay of about four seconds and the meters are off by about two. We were not sure if just too much info is being sent to the dashboard so we tried using a remote dashboard and everything was fine. On a side note, the meters and the camera work fine independently.

is this on the classmate? and using DBPackets? I've experienced the exact opposite when using DBPackets sometimes (slow on other computer, fast on driver)

EDIT: I can't believe I forgot to announce
ZomB 0.8
  • Java bindings now follow convention - update your code
  • compiled against cRIO v28

Download

MikeNimmo 27-02-2011 13:50

Re: New Year, New ZomB Dashboard
 
Quote:

Originally Posted by byteit101 (Post 1031853)
is this on the classmate? and using DBPackets? I've experienced the exact opposite when using DBPackets sometimes (slow on other computer, fast on driver)

Yes this is on the classmate but we are actually using TCP instead of DBPackets. When we try DBPackets, NetConsole gives us this message: >>>>Fatal error "When packing data to the dashboard, too much data was packed and the buffer overflowed." in Printf() in C:/windriver/workspace/WPILib/Dashboard.cpp at line 283

EDIT: We are currently sending 9 floats which souldn't be too many. Also we are using ZomB version 0.8.

byteit101 27-02-2011 14:50

Re: New Year, New ZomB Dashboard
 
Quote:

Originally Posted by MikeNimmo (Post 1032162)
>>>>Fatal error "When packing data to the dashboard, too much data was packed and the buffer overflowed." in Printf() in C:/windriver/workspace/WPILib/Dashboard.cpp at line 283

odd, i'm assuming this is not just once? if so, would you mind sending me your code, i've never seen this before.

what is the wait in the main loop? 0.005? try a larger number (like 0.02) and see if its better. i'm also assuming you are using if (z.CanSend())

byteit101 02-03-2011 16:37

Re: New Year, New ZomB Dashboard
 
ZomB v0.8.1.386
  • MJPEG improvements, should go on and on and on now
  • ZomB button improvements: restart works, Move added (grab it like the titlebar)
  • Build button autofocused, just hit enter

Download

And, thanks to all your support, ZomB has now been download over 4000 times!

Robby Unruh 02-03-2011 16:52

Re: New Year, New ZomB Dashboard
 
Team 3266 is now using ZomB Dashboard. Thanks a ton!

Why aren't you guys going to Buckeye this year?

byteit101 02-03-2011 17:05

Re: New Year, New ZomB Dashboard
 
Quote:

Originally Posted by Robby Unruh (Post 1033767)
Team 3266 is now using ZomB Dashboard. Thanks a ton!

Why aren't you guys going to Buckeye this year?

Your welcome! A bunch of people on our team would not be able to make it, so we went to Knoxville instead (which is 451 miles away, it must be a sign). I would have liked to be a little closer though! (2 hrs vs 7 hrs)

byteit101 04-03-2011 20:34

Re: New Year, New ZomB Dashboard
 
Ever wanted a Git or Mercurial version of the ZomB Subversion repository? Well, there is now an official Git mirror and a Mercurial mirror.

*Note that these are simply mirrors, and all pull requests will be denied (though I may create a patch from it). Instead, create a patch and send it to me, as a PM here or as a tracker on FIRST Forge.

Tommithy 05-03-2011 13:15

Re: New Year, New ZomB Dashboard
 
ZomB dashboard is awesome!!!!

byteit101 09-03-2011 17:35

Re: New Year, New ZomB Dashboard
 
ZomB Dashboard System v0.8.1.393
  • FPS view on camera, variable FPS recording option for real time videos, not fast or slow
  • Basic Triggers support, start and stop multiple cameras, call code
  • Stop the AutoListen on Run
  • Sizable labels and buttons (Finally!)
  • Running in driver not quite as locked down for non-classmate users, look at Unlocking the Driver account

Download v0.8.1.393

byteit101 16-03-2011 15:27

Re: New Year, New ZomB Dashboard
 
ZomB v0.8.1.397
  • New (and smarter) AutoListen look
  • Error boxes!
  • bunch of bug fixes

Download v0.8.1.397

hg: 336:a9f5ee239c7f
git: 56f6037843fa231ef0fc

byteit101 27-03-2011 17:33

Re: New Year, New ZomB Dashboard
 
ZomB v0.8.1.401
  • Bug fixes
    • recording should now actually work by default (Thanks Robby Unruh!)
    • triggers now actually save correctly
    • Fixed artf1343: Image background on targets corrupts files (Thanks Robby Unruh!)
  • MJPEG camera param now accepts ip?fps format (ex: 10.4.51.90?30 means camera with ip 10.4.51.90 has 30fps)
Also, if you can't get DBPackets, change the source to custom and add port 1027 (if I remember correctly), so it looks like: zomb://.451:1027/DBPkt
If you are using Java, somewhere in the update line, C++ and java compatibility broke, so you need to use DBPacket from svn r287 or before (different API, I'll post the current one shortly)

Download v0.8.1.401

hg: 340:bb5b73e3c95b
git: 8fbf5e3c1ee46f69714e

Mk.32 28-03-2011 01:27

Re: New Year, New ZomB Dashboard
 
Looks awesome,
can't wait to get it up and running.
one quick question
under Being legal over TCP (DBPacket is always legal):
it says "Don't use a camera on port 2, it will also broadcast on 1180"
do we have to just plug the camera right into the router then?

byteit101 28-03-2011 15:02

Re: New Year, New ZomB Dashboard
 
Quote:

Originally Posted by Mk.32 (Post 1046254)
Looks awesome,
can't wait to get it up and running.
one quick question
under Being legal over TCP (DBPacket is always legal):
it says "Don't use a camera on port 2, it will also broadcast on 1180"
do we have to just plug the camera right into the router then?

Correct (if the "router" you are referring to is the D-Link on the robot)

byteit101 06-04-2011 11:19

Re: New Year, New ZomB Dashboard
 
Get ready for week 6 with
ZomB v0.8.1.409
  • Java bindings sort of work again (use DBPacket)
  • Toolbox docked, right click in toolbox to change (restart required)
  • Initial Smart Dashboard protocol support, try ''zomb://.451/Smart'' as a custom url
  • Menu Improvements
  • Camera.Refresh exposed to triggers
  • Bug fixes & other improvements
Also, if you can't get DBPackets, change the source to custom and add port 1027 (if I remember correctly), so it looks like: zomb://.451:1027/DBPkt

Download v0.8.1.409

hg: 346:681d781b18cd
git: b5de628038cd273b93b6


All times are GMT -5. The time now is 23:37.

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