|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#31
|
|||
|
|||
|
Re: Anyone successful with camera in RobotPy?
Please refer to the getting started guide for how to setup the debugger. http://firstforge.wpi.edu/sf/go/doc1197?nav=1
|
|
#32
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
As for the camera problem, try a lower resolution like 320x240 and loose the camera compression options. These might be stressing the stack space for the thread and causing the failure. 640x480 is really too big to be shipping across the net anyway at run time. HTH, Mike |
|
#33
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
Last edited by krudeboy51 : 03-03-2011 at 18:25. |
|
#34
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
HTH, Mike |
|
#35
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
CAMERA INITIALIZATION: Code:
HSLImage image; //Creates an image AxisCamera &camera = AxisCamera::GetInstance(); camera.WriteResolution(AxisCamera::kResolution_320x240); //camera.WriteCompression(20); //camera.WriteBrightness(0); |
|
#36
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
Once launched, you'll be asked to switch to the debug perspective. Say "yes". You should see your code in the main view in the center of the screen and a "Debug" view on the upper right hand of the Workbench. Just below that is a "Breakpoints" view. If you right click a line of code in the editor, it should pop up a dialog where you can toggle a breakpoint. This breakpoint will show up in the right-hand breakpoint view. The Debug view then has a series of small icons along the top that allow you to single step or continue the code. Once you hit a breakpoint, the variables should then show up on the bottom right view "Variables" tab. step through the code and pay particular attention to variables like pointers getting modified. Variables that get modified should be color-coded red. HTH, Mike |
|
#37
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
|
|
#38
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
HTH, Mike |
|
#39
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Yea, Im not getting a live feed that way, I followed the instructions in the manual to set it to 10.xx.yy.zz but no feed
|
|
#40
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
HTH, Mike |
|
#41
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
|
|
#42
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
http://www.chiefdelphi.com/forums/sh...ad.php?t=87598 Towards the middle, you'll see the steps for setting up debugging complete with pictures of what you should see. HTH, Mike |
|
#43
|
||||
|
||||
|
Re: Anyone successful with camera in RobotPy?
Quote:
Last edited by krudeboy51 : 04-03-2011 at 19:40. Reason: Im giving up |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|