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.
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" |
Simple viewer (SDL)
Definition in file viewer_sdl.c.
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.
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.