Go to Post WHY WON'T THESE THREADS DIE!!!!!!! Eeach and every year there are at least two discussions about water games. - Rickertsen2 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-29-2010, 01:02 AM
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
yet another No Camera Images on Dashboard thread

We have configured the user accounts and IP of the camera. The dashboard is the right one with a compass in the lower right, no thanks to the installer that doesn't work. The Windriver and dashboard PC has 10.xx.yy.6 IP and the driver station is running on the classmate at 10.xx.yy.5, set to remote dashboard at 10.xx.yy.6. We can build CameraToDashboardExample and run it. In the console we have confirmation that the ImageServer is starting (or whatever it is called, I won't be using the cRIO again until Saturday). Tried toggling the green button below the image window in the dashboard. Not a single frame comes through. What to try next? I can post the exact console messages on Saturday.


A separate issue: created a new program that won't compile due to inclusion of AxisCamera.

Code:
class TeamRobot : public IterativeRobot
{
  DriverStation *ds;
  RobotDrive *drive;
  Joystick *TMjoystick;
  AxisCamera *camera;  // this is line 26

public:
  TeamRobot(void)
  {
    ds =                  DriverStation::GetInstance();
    drive =           new RobotDrive(1, 3, 2, 4);
    TMjoystick =      new Joystick(1);                  // create the joystick
    camera =              AxisCamera::getInstance();    // create the camera
    camera->writeResolution(k320x240);
    camera->writeBrightness(0);
...
The compile error message is
Code:
C:/windriver/workspace/TeamRobot/TeamRobot.cpp:26: error: ISO C++ forbids declaration of `AxisCamera' with no type
C:/windriver/workspace/TeamRobot/TeamRobot.cpp:26: error: expected `;' before '*' token
If I remove all camera lines of code, it compiles fine. Now what?

Last edited by oddjob : 01-29-2010 at 01:05 AM.
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Dashboard Images SOLUTION Radical Pi Control System 17 02-22-2010 12:35 PM
Yet Another Axis Camera Live Feed Issue z2daj FRC Control System 2 01-24-2010 01:47 PM
Yet another Camera thread... Pancake C/C++ 2 01-26-2009 11:42 AM
Yet another bumper thread Vikesrock Technical Discussion 26 01-19-2009 05:04 PM
Yet another dashboard program Neal Probert Programming 3 05-12-2002 10:43 AM


All times are GMT -5. The time now is 09:36 AM.

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