Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sick_tim::SickMrs1000Communication Class Reference

#include <sick_mrs1000_communication.h>

Inheritance diagram for sick_tim::SickMrs1000Communication:
Inheritance graph
[legend]

Public Member Functions

virtual int loopOnce ()
 
 SickMrs1000Communication (const std::string &hostname, const std::string &port, int &timelimit, ScanAndCloudParser *parser)
 
virtual ~SickMrs1000Communication ()
 
- Public Member Functions inherited from sick_tim::SickTimCommonTcp
 SickTimCommonTcp (const std::string &hostname, const std::string &port, int &timelimit, AbstractParser *parser)
 
virtual ~SickTimCommonTcp ()
 
- Public Member Functions inherited from sick_tim::SickTimCommon
void check_angle_range (SickTimConfig &conf)
 
double get_expected_frequency () const
 
virtual int init ()
 
virtual bool rebootScanner ()
 Send a SOPAS command to the scanner that should cause a soft reset. More...
 
 SickTimCommon (AbstractParser *parser)
 
void update_config (sick_tim::SickTimConfig &new_config, uint32_t level=0)
 
virtual ~SickTimCommon ()
 

Protected Member Functions

virtual int init_scanner ()
 
- Protected Member Functions inherited from sick_tim::SickTimCommonTcp
void checkDeadline ()
 
virtual int close_device ()
 
virtual int get_datagram (unsigned char *receiveBuffer, int bufferSize, int *actual_length)
 Read a datagram from the device. More...
 
void handleRead (boost::system::error_code error, size_t bytes_transfered)
 
virtual int init_device ()
 
int readWithTimeout (size_t timeout_ms, char *buffer, int buffer_size, int *bytes_read=0, bool *exception_occured=0)
 
virtual int sendSOPASCommand (const char *request, std::vector< unsigned char > *reply)
 Send a SOPAS command to the device and print out the response to the console. More...
 
- Protected Member Functions inherited from sick_tim::SickTimCommon
bool isCompatibleDevice (const std::string identStr) const
 
virtual int stop_scanner ()
 

Protected Attributes

ros::Publisher cloud_pub_
 
diagnostic_updater::DiagnosedPublisher< sensor_msgs::PointCloud2 > diagnosed_cloud_publisher_
 
ros::NodeHandle nh_
 
ScanAndCloudParserscan_and_cloud_parser_
 
- Protected Attributes inherited from sick_tim::SickTimCommon
SickTimConfig config_
 
ros::Publisher datagram_pub_
 
diagnostic_updater::DiagnosedPublisher< sensor_msgs::LaserScan > * diagnosticPub_
 
diagnostic_updater::Updater diagnostics_
 
double expectedFrequency_
 
bool publish_datagram_
 

Additional Inherited Members

- Static Protected Member Functions inherited from sick_tim::SickTimCommon
static std::string replyToString (const std::vector< unsigned char > &reply)
 Converts reply from sendSOPASCommand to string. More...
 

Detailed Description

Definition at line 48 of file sick_mrs1000_communication.h.

Constructor & Destructor Documentation

sick_tim::SickMrs1000Communication::SickMrs1000Communication ( const std::string &  hostname,
const std::string &  port,
int &  timelimit,
ScanAndCloudParser parser 
)

Definition at line 39 of file sick_mrs1000_communication.cpp.

sick_tim::SickMrs1000Communication::~SickMrs1000Communication ( )
virtual

Definition at line 54 of file sick_mrs1000_communication.cpp.

Member Function Documentation

int sick_tim::SickMrs1000Communication::init_scanner ( )
protectedvirtual

Reimplemented from sick_tim::SickTimCommon.

Definition at line 135 of file sick_mrs1000_communication.cpp.

int sick_tim::SickMrs1000Communication::loopOnce ( )
virtual

Reimplemented from sick_tim::SickTimCommon.

Definition at line 60 of file sick_mrs1000_communication.cpp.

Member Data Documentation

ros::Publisher sick_tim::SickMrs1000Communication::cloud_pub_
protected

Definition at line 60 of file sick_mrs1000_communication.h.

diagnostic_updater::DiagnosedPublisher<sensor_msgs::PointCloud2> sick_tim::SickMrs1000Communication::diagnosed_cloud_publisher_
protected

Definition at line 62 of file sick_mrs1000_communication.h.

ros::NodeHandle sick_tim::SickMrs1000Communication::nh_
protected

Definition at line 59 of file sick_mrs1000_communication.h.

ScanAndCloudParser* sick_tim::SickMrs1000Communication::scan_and_cloud_parser_
protected

Definition at line 64 of file sick_mrs1000_communication.h.


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


sick_tim
Author(s): Jochen Sprickerhof , Martin Günther , Sebastian Pütz
autogenerated on Wed Jun 17 2020 04:05:36