Classes | Functions | Variables
viewer_sdl.c File Reference

Simple viewer (SDL) More...

#include "urg_sensor.h"
#include "urg_utils.h"
#include "urg_connection.h"
#include "plotter_sdl.h"
#include <SDL.h>
#include <math.h>
Include dependency graph for viewer_sdl.c:

Go to the source code of this file.

Classes

struct  scan_mode_t

Functions

static void help_exit (const char *program_name)
int main (int argc, char *argv[])
static void parse_args (scan_mode_t *mode, int argc, char *argv[])
static void plot_data (urg_t *urg, long data[], unsigned short intensity[], int data_n, bool is_multiecho)
static void plot_data_point (urg_t *urg, long data[], unsigned short intensity[], int data_n, bool is_multiecho, int offset)

Variables

static const char * ethernet_address = "192.168.0.10"
static const char * serial_device = "/dev/ttyACM0"

Detailed Description

Simple viewer (SDL)

Author:
Satofumi KAMIMURA
Id:
viewer_sdl.c,v d746d6f9127d 2011/05/08 23:10:44 satofumi

Definition in file viewer_sdl.c.


Function Documentation

static void help_exit ( const char *  program_name) [static]

Definition at line 38 of file viewer_sdl.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 157 of file viewer_sdl.c.

static void parse_args ( scan_mode_t mode,
int  argc,
char *  argv[] 
) [static]

Definition at line 53 of file viewer_sdl.c.

static void plot_data ( urg_t urg,
long  data[],
unsigned short  intensity[],
int  data_n,
bool  is_multiecho 
) [static]

Definition at line 121 of file viewer_sdl.c.

static void plot_data_point ( urg_t urg,
long  data[],
unsigned short  intensity[],
int  data_n,
bool  is_multiecho,
int  offset 
) [static]

Definition at line 91 of file viewer_sdl.c.


Variable Documentation

const char* ethernet_address = "192.168.0.10" [static]

Definition at line 23 of file viewer_sdl.c.

const char* serial_device = "/dev/ttyACM0" [static]

Definition at line 21 of file viewer_sdl.c.



urg_c
Author(s): Satofumi Kamimura , Katsumi Kimoto, Adrian Boeing
autogenerated on Thu Jun 6 2019 19:06:57