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