#include "ursa_driver/ursa_driver.h"
#include "ros/ros.h"
#include "ursa_driver/ursa_counts.h"
#include "ursa_driver/ursa_spectra.h"
#include "std_srvs/Empty.h"
#include <std_msgs/String.h>
Go to the source code of this file.
Functions | |
bool | clearSpectraCB (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
void | fill_maps () |
int | get_params (ros::NodeHandle nh) |
int | main (int argc, char **argv) |
bool | startAcquireCB (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
bool | stopAcquireCB (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
void | timerCallback (const ros::TimerEvent &event) |
Variables | |
int32_t | baud |
std::string | detector_frame = "" |
double | gain = 0 |
bool | GMmode |
int | HV = 0 |
bool | imeadiate |
std::map< std::string, ursa::inputs > | input_map |
std::string | input_polarity = "" |
bool | load_prev |
ursa::Interface * | my_ursa |
std::string | port = "" |
ros::Publisher | publisher |
int | ramp = 6 |
ursa::inputs | real_input |
ursa::shaping_time | real_shaping_time |
std::map< double, ursa::shaping_time > | shape_map |
double | shaping_time = 1 |
int | threshold = 0 |
ros::Timer | timer |
ROS Node implementation of the ursa_driver package.
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file ursa_node.cpp.
bool clearSpectraCB | ( | std_srvs::Empty::Request & | request, |
std_srvs::Empty::Response & | response | ||
) |
Definition at line 143 of file ursa_node.cpp.
void fill_maps | ( | ) |
Definition at line 236 of file ursa_node.cpp.
int get_params | ( | ros::NodeHandle | nh | ) |
Definition at line 171 of file ursa_node.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
bool startAcquireCB | ( | std_srvs::Empty::Request & | request, |
std_srvs::Empty::Response & | response | ||
) |
Definition at line 123 of file ursa_node.cpp.
bool stopAcquireCB | ( | std_srvs::Empty::Request & | request, |
std_srvs::Empty::Response & | response | ||
) |
Definition at line 133 of file ursa_node.cpp.
void timerCallback | ( | const ros::TimerEvent & | event | ) |
Definition at line 149 of file ursa_node.cpp.
int32_t baud |
Definition at line 34 of file ursa_node.cpp.
std::string detector_frame = "" |
Definition at line 36 of file ursa_node.cpp.
double gain = 0 |
Definition at line 39 of file ursa_node.cpp.
bool GMmode |
Definition at line 51 of file ursa_node.cpp.
int HV = 0 |
Definition at line 38 of file ursa_node.cpp.
bool imeadiate |
Definition at line 52 of file ursa_node.cpp.
std::map<std::string, ursa::inputs> input_map |
Definition at line 48 of file ursa_node.cpp.
std::string input_polarity = "" |
Definition at line 43 of file ursa_node.cpp.
bool load_prev |
Definition at line 50 of file ursa_node.cpp.
Definition at line 64 of file ursa_node.cpp.
std::string port = "" |
Definition at line 35 of file ursa_node.cpp.
Definition at line 65 of file ursa_node.cpp.
int ramp = 6 |
Definition at line 45 of file ursa_node.cpp.
Definition at line 44 of file ursa_node.cpp.
Definition at line 42 of file ursa_node.cpp.
std::map<double, ursa::shaping_time> shape_map |
Definition at line 47 of file ursa_node.cpp.
double shaping_time = 1 |
Definition at line 41 of file ursa_node.cpp.
int threshold = 0 |
Definition at line 40 of file ursa_node.cpp.
Definition at line 66 of file ursa_node.cpp.