#include<sys/termios.h>
#include <string.h>
#include "hokuyo.h"
+#include <lidar_params.h>
#include <urg_ctrl.h>
#include <robottype.h>
#include <roboorte_robottype.h>
typedef char msg[(cond) ? 1 : -1]
COMPILE_TIME_ASSERT(HOKUYO_FINAL_MEASUREMENT - HOKUYO_INITIAL_MEASUREMENT == HOKUYO_ARRAY_SIZE,
- wrong_size_of_hokuyo_scan_type);
+ wrong_size_of_lidar_scan_type);
static urg_t urg;
static long *scan;
if (errors[i])
printf(", error %d: %dx", i, errors[i]);
printf("\n");
+
+ orte.hokuyo_scan.data_lenght = hokuyo_params.data_lenght;
+ orte.hokuyo_scan.lidar_type = hokuyo_params.type;
ORTEPublicationSend(orte.publication_hokuyo_scan);
}