Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
Vision2009
FrcError.h
1
/********************************************************************************
2
* Project : FIRST Motor Controller
3
* File Name : FrcError.h
4
* Contributors : JDG, ELF
5
* Creation Date : August 12, 2008
6
* Revision History : Source code & revision history maintained at sourceforge.WPI.edu
7
* File Description : Error handling values for C routines
8
*/
9
/*----------------------------------------------------------------------------*/
10
/* Copyright (c) FIRST 2008. All Rights Reserved. */
11
/* Open Source Software - may be modified and shared by FRC teams. */
12
/* Must be accompanied by the BSD license file in $(WIND_BASE)/WPILib. */
13
/*----------------------------------------------------------------------------*/
14
15
#ifndef __FRCERROR_H__
16
#define __FRCERROR_H__
17
18
/* Error Codes */
19
#define ERR_VISION_GENERAL_ERROR 166000 //
20
#define ERR_COLOR_NOT_FOUND 166100 // TrackAPI.cpp
21
#define ERR_PARTICLE_TOO_SMALL 166101 // TrackAPI.cpp
22
23
#define ERR_CAMERA_FAILURE 166200 // AxisCamera.cpp
24
#define ERR_CAMERA_SOCKET_CREATE_FAILED 166201 // AxisCamera.cpp
25
#define ERR_CAMERA_CONNECT_FAILED 166202 // AxisCamera.cpp
26
#define ERR_CAMERA_STALE_IMAGE 166203 // AxisCamera.cpp
27
#define ERR_CAMERA_NOT_INITIALIZED 166204 // AxisCamera.cpp
28
#define ERR_CAMERA_NO_BUFFER_AVAILABLE 166205 // AxisCamera.cpp
29
#define ERR_CAMERA_HEADER_ERROR 166206 // AxisCamera.cpp
30
#define ERR_CAMERA_BLOCKING_TIMEOUT 166207 // AxisCamera.cpp
31
#define ERR_CAMERA_AUTHORIZATION_FAILED 166208 // AxisCamera.cpp
32
#define ERR_CAMERA_TASK_SPAWN_FAILED 166209 // AxisCamera.cpp
33
#define ERR_CAMERA_TASK_INPUT_OUT_OF_RANGE 166210 // AxisCamera.cpp
34
#define ERR_CAMERA_COMMAND_FAILURE 166211 // AxisCamera.cpp
35
36
/* error handling functions */
37
int
GetLastVisionError();
38
const
char
* GetVisionErrorText(
int
errorCode);
39
40
#endif
41
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.