Public Member Functions | Private Member Functions | Private Attributes
s3000node Class Reference

List of all members.

Public Member Functions

 s3000node (ros::NodeHandle h)
bool spin ()
 ~s3000node ()

Private Member Functions

void ConnectTest (diagnostic_updater::DiagnosticStatusWrapper &status)
void deviceStatus (diagnostic_updater::DiagnosticStatusWrapper &status)
 Updates the diagnostic status.
bool EnableDisable (s3000_laser::enable_disable::Request &req, s3000_laser::enable_disable::Response &res)
 Service callback to enable/disable scan publication.
void getData (sensor_msgs::LaserScan &scan)
 Gets the sensor data and publishes.
int start ()
int stop ()

Private Attributes

int baud_rate
double desired_freq_
diagnostic_updater::Updater diagnostic_
ros::ServiceServer enable_disable_srv_
 Enables/disables the scan publication.
int error_count_
std::string error_status_
string frame_id_
 Name of the frame associated.
diagnostic_updater::FrequencyStatus freq_diag_
SickS3000laser
tf::TransformBroadcaster laser_broadcaster
ros::Publisher laser_data_pub_
ros::NodeHandle node_handle_
string port
ros::NodeHandle private_node_handle_
bool publish_scan_
 Flag to enable/disable the scan publication.
bool publish_tf_
 publish its transform to base_link
sensor_msgs::LaserScan reading
bool running
self_test::TestRunner self_test_
int slow_count_
string topic_name
std::string was_slow_

Detailed Description

Definition at line 43 of file s3000_laser.cc.


Constructor & Destructor Documentation

Definition at line 81 of file s3000_laser.cc.

s3000node::~s3000node ( ) [inline]

Definition at line 128 of file s3000_laser.cc.


Member Function Documentation

Definition at line 190 of file s3000_laser.cc.

Updates the diagnostic status.

Definition at line 211 of file s3000_laser.cc.

bool s3000node::EnableDisable ( s3000_laser::enable_disable::Request &  req,
s3000_laser::enable_disable::Response &  res 
) [inline, private]

Service callback to enable/disable scan publication.

Definition at line 233 of file s3000_laser.cc.

void s3000node::getData ( sensor_msgs::LaserScan &  scan) [inline, private]

Gets the sensor data and publishes.

Definition at line 197 of file s3000_laser.cc.

bool s3000node::spin ( ) [inline]

Definition at line 133 of file s3000_laser.cc.

int s3000node::start ( ) [inline, private]

Definition at line 166 of file s3000_laser.cc.

int s3000node::stop ( ) [inline, private]

Definition at line 178 of file s3000_laser.cc.


Member Data Documentation

int s3000node::baud_rate [private]

Definition at line 50 of file s3000_laser.cc.

double s3000node::desired_freq_ [private]

Definition at line 74 of file s3000_laser.cc.

Definition at line 53 of file s3000_laser.cc.

Enables/disables the scan publication.

Definition at line 77 of file s3000_laser.cc.

int s3000node::error_count_ [private]

Definition at line 67 of file s3000_laser.cc.

Definition at line 70 of file s3000_laser.cc.

Name of the frame associated.

Definition at line 72 of file s3000_laser.cc.

Definition at line 75 of file s3000_laser.cc.

Definition at line 46 of file s3000_laser.cc.

Definition at line 61 of file s3000_laser.cc.

Definition at line 57 of file s3000_laser.cc.

Definition at line 55 of file s3000_laser.cc.

Definition at line 49 of file s3000_laser.cc.

Definition at line 56 of file s3000_laser.cc.

bool s3000node::publish_scan_ [private]

Flag to enable/disable the scan publication.

Definition at line 63 of file s3000_laser.cc.

bool s3000node::publish_tf_ [private]

publish its transform to base_link

Definition at line 60 of file s3000_laser.cc.

sensor_msgs::LaserScan s3000node::reading [private]

Definition at line 47 of file s3000_laser.cc.

bool s3000node::running [private]

Definition at line 65 of file s3000_laser.cc.

Definition at line 52 of file s3000_laser.cc.

int s3000node::slow_count_ [private]

Definition at line 68 of file s3000_laser.cc.

Definition at line 73 of file s3000_laser.cc.

Definition at line 69 of file s3000_laser.cc.


The documentation for this class was generated from the following file:


s3000_laser
Author(s): Roman Navarro Garcia
autogenerated on Sat Jun 8 2019 20:55:59