KVH DSP-3000 Fiber optic gyro controller. Parses data from DSP-3000 and publishes to dsp3000. Serial interface handled by cereal_port. More...
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
#include "kvh/dsp3000_mode.h"
#include "kvh/dsp3000_parser.h"
#include "kvh/serial_port.h"
#include "ros/ros.h"
#include "std_msgs/Float32.h"
Go to the source code of this file.
Functions | |
bool | configure_dsp3000 (SerialPort *device, KvhDsp3000Mode mode) |
tuple< string, string > | get_mode_data (KvhDsp3000Mode mode) |
string | get_mode_topic_name (KvhDsp3000Mode const mode) |
int | main (int argc, char **argv) |
Variables | |
static constexpr float | PI = 3.14159265359f |
static constexpr int | TIMEOUT = 1000 |
KVH DSP-3000 Fiber optic gyro controller. Parses data from DSP-3000 and publishes to dsp3000. Serial interface handled by cereal_port.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CLEARPATH ROBOTICS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Please send comments, questions, or patches to code@ clea rpath robo tics. com
Definition in file dsp3000_node.cpp.
bool configure_dsp3000 | ( | SerialPort * | device, |
KvhDsp3000Mode | mode | ||
) |
Definition at line 110 of file dsp3000_node.cpp.
tuple< string, string > get_mode_data | ( | KvhDsp3000Mode | mode | ) |
Definition at line 67 of file dsp3000_node.cpp.
string get_mode_topic_name | ( | KvhDsp3000Mode const | mode | ) |
Definition at line 90 of file dsp3000_node.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 143 of file dsp3000_node.cpp.
|
static |
Definition at line 52 of file dsp3000_node.cpp.
|
static |
Definition at line 51 of file dsp3000_node.cpp.