Mise à jour de 'Localisation_360/Localisation_360_vros.cpp'

This commit is contained in:
QLeblanc 2020-06-24 12:12:36 +02:00
parent 182d8abf16
commit 64a4896bf0

View file

@ -1,6 +1,9 @@
#include <iostream>
using namespace std;
#include "/opt/ros/kinetic/include/ros/ros.h"
#include <geometry_msgs/Twist.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
@ -13,7 +16,7 @@ using namespace std;
#define SAMPLE_TYPE short //sample type = type d'echantillon
#define SAMPLE_TYPE_ALSA SND_PCM_FORMAT_S16_LE
float th;
/**
* classe permettant de calculer la moyenne glissante du signal
*/
@ -378,4 +381,4 @@ int main(int argc, char *argv[]) {
cmd_velo.publish(theta);
}
exit(0);
}
}