Skip to content
Snippets Groups Projects
Commit a6291f1b authored by Andrea Censi's avatar Andrea Censi
Browse files

da linux

parent c624220d
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,12 @@
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused -Wall -W -Wconversion -Wunreachable-code ")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstrict-aliasing -std=c99")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ansi")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstrict-aliasing")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
# Note: using -ansi makes the NAN unavailable on Linux (GCC 3.3.5)
# SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ansi")
IF(APPLE)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-double")
......
#include <string.h>
#include <math.h>
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#include "debug.h"
#include "bits.h"
#include "json_object.h"
......
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/param.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/stat.h>
#include <libgen.h>
/* Cavillo (non impatta la portabilit. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <string.h>
#include "options.h"
/** Our version of strdup. */
......
#include <string.h>
#include <math.h>
#include "math_utils.h"
#include "laser_data.h"
const char * carmen_prefix = "FLASER ";
/** Returns 0 on success */
......
......@@ -8,6 +8,12 @@
#define gvg gsl_vector_get
#define gvs gsl_vector_set
/* Sometimes I really don't understand compilers.. */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
void possible_interval(
const gsl_vector*p_i_w, struct laser_data*laser_sens,
double max_angular_correction_deg, double max_linear_correction, int*from, int*to, int*start_cell);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment