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>
Go to the source code of this file.
|
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) |
|
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.
static void help_exit |
( |
const char * |
program_name | ) |
|
|
static |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
static void parse_args |
( |
scan_mode_t * |
mode, |
|
|
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
static void plot_data |
( |
urg_t * |
urg, |
|
|
long |
data[], |
|
|
unsigned short |
intensity[], |
|
|
int |
data_n, |
|
|
bool |
is_multiecho |
|
) |
| |
|
static |
static void plot_data_point |
( |
urg_t * |
urg, |
|
|
long |
data[], |
|
|
unsigned short |
intensity[], |
|
|
int |
data_n, |
|
|
bool |
is_multiecho, |
|
|
int |
offset |
|
) |
| |
|
static |
const char* ethernet_address = "192.168.0.10" |
|
static |
const char* serial_device = "/dev/ttyACM0" |
|
static |