Defines | Functions | Variables
focus.cpp File Reference
#include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <diagnostic_updater/publisher.h>
#include <stdio.h>
#include <limits.h>
Include dependency graph for focus.cpp:

Go to the source code of this file.

Defines

#define BASESIZE   1000000
#define NUMSKIP   400

Functions

int bound (int x, int min, int max)
void callback (const sensor_msgs::ImageConstPtr &msg)
void callback2 (const sensor_msgs::ImageConstPtr &msg)
void insert (int *max, int val)
int main (int argc, char **argv)

Variables

uint8_t base [BASESIZE]
int endx
int endy
FILE * gnuplotfile
int oldheight = 0
int oldwidth = 0
int startx
int starty

Define Documentation

#define BASESIZE   1000000

Definition at line 41 of file focus.cpp.

#define NUMSKIP   400

Definition at line 46 of file focus.cpp.


Function Documentation

int bound ( int  x,
int  min,
int  max 
)

Definition at line 124 of file focus.cpp.

void callback ( const sensor_msgs::ImageConstPtr &  msg)

Definition at line 65 of file focus.cpp.

void callback2 ( const sensor_msgs::ImageConstPtr &  msg)

Definition at line 133 of file focus.cpp.

void insert ( int *  max,
int  val 
) [inline]

Definition at line 50 of file focus.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 192 of file focus.cpp.


Variable Documentation

uint8_t base[BASESIZE]

Definition at line 44 of file focus.cpp.

int endx

Definition at line 122 of file focus.cpp.

int endy

Definition at line 122 of file focus.cpp.

FILE* gnuplotfile

Definition at line 48 of file focus.cpp.

int oldheight = 0

Definition at line 43 of file focus.cpp.

int oldwidth = 0

Definition at line 42 of file focus.cpp.

int startx

Definition at line 122 of file focus.cpp.

int starty

Definition at line 122 of file focus.cpp.



pr2_camera_focus
Author(s): Blaise Gassend
autogenerated on Sat Dec 28 2013 17:54:48