#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include "ros/ros.h"
#include <tf/transform_broadcaster.h>
#include <unistd.h>
#include "rs232/rs232.h"
#include "an_packet_protocol.h"
#include "spatial_packets.h"
Go to the source code of this file.
Defines | |
#define | pai 3.141592653 |
#define | RADIANS_TO_DEGREES (180.0/M_PI) |
Functions | |
int | an_packet_transmit (an_packet_t *an_packet) |
void | get_data (uint8_t requested_packet_id) |
int | main (int argc, char *argv[]) |
void | set_sensor_ranges () |
Variables | |
int | com_port_number |
#define pai 3.141592653 |
Definition at line 47 of file packet_example.cpp.
#define RADIANS_TO_DEGREES (180.0/M_PI) |
Definition at line 46 of file packet_example.cpp.
int an_packet_transmit | ( | an_packet_t * | an_packet | ) |
Definition at line 51 of file packet_example.cpp.
void get_data | ( | uint8_t | requested_packet_id | ) |
Definition at line 83 of file packet_example.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 105 of file packet_example.cpp.
void set_sensor_ranges | ( | ) |
Definition at line 66 of file packet_example.cpp.
int com_port_number |
Definition at line 49 of file packet_example.cpp.