Code Search for Developers
 
 
  

camctrl.h from EmStar at Krugle


Show camctrl.h syntax highlighted

#ifndef _CAMCTRL_H_
#define _CAMCTRL_H_

// status/command device names
#define CAM_QUERY_DEV          sim_path("/dev/cam/command")

#define CAM_STATUS_DEV         sim_path("/dev/cam/status")

//#define CAM_PIC_CMD_DEV        sim_path("/dev/camera/image/command")
//#define CAM_PIC_STATUS_DEV     sim_path("/dev/camera/image/status")

#define CAM_INQ_STATUS_DEV     sim_path("/dev/cam/inq_status")

#define CAM_IMAGE_SDEV         ("cam")



// ptz status device struct
typedef struct _cmd_state {
    int16_t pan_value;
    int16_t tilt_value;
    int8_t pan_speed;
    int8_t tilt_speed;
    float pan_degrees;
    float tilt_degrees;
    int16_t zoom_value;
    int8_t zoom_speed;
    int8_t trigger;
    int8_t num_tasks;
    uint32_t sleep_msec;
} cmd_state_t;



// image status device struct 
typedef struct _image_state {
    char *filename;
    int8_t image_size;
    int8_t quality;
    int8_t color;
    int8_t zoom_mode;
    int8_t focus_mode;
} image_state_t;



#endif




See more files for this project here

EmStar

EmStar is a software system for developing and deploying wireless sensor networks involving Linux-based platforms. As the wireless sensor network community has attempted to deploy more complex designs---large-scale, long-lived systems that need self-organization and adaptivity---a number of difficult software design issues have arisen. Advances in software design have not kept pace with the capabilities of hardware. This is because designing for an adaptive, efficient, and useful sensor network has turned out to be surprisingly complex and difficult. EmStar is a Linux-based software framework, whose goal is to dramatically reduce this complexity, enabling work to be shared and reused, and simplifying and speeding the design of new sensor network applications.

Project homepage: http://cvs.cens.ucla.edu/emstar/
Programming language(s): C,Shell Script
License: other

  camctrl.h
  centroute.h
  dsr.h
  resquery.h