|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_HAL_SICKLMS200_H
28 #define RL_HAL_SICKLMS200_H
55 #if defined(WIN32) || defined(__QNX__)
57 #else // defined(WIN32) || defined(__QNX__)
61 #endif // defined(WIN32) || defined(__QNX__)
98 const ::std::string& device =
"/dev/ttyS0",
103 const ::std::string&
password =
"SICK_LMS"
159 ::std::uint16_t
crc(const ::std::uint8_t* buf, const ::std::size_t& len)
const;
161 ::std::size_t
recv(::std::uint8_t* buf, const ::std::size_t& len, const ::std::uint8_t& command);
163 void send(::std::uint8_t* buf, const ::std::size_t& len);
171 ::std::array< ::std::uint8_t, 812>
data;
188 #endif // RL_HAL_SICKLMS200_H
::std::string password
Definition: SickLms200.h:179
Monitoring
Definition: SickLms200.h:75
@ VARIANT_100_100
Angle = 100 degrees, resolution = 1 degree.
Definition: SickLms200.h:87
@ BAUDRATE_500000BPS
500,000 bps.
Definition: SickLms200.h:60
@ VARIANT_100_50
Angle = 100 degrees, resolution = 0.5 degrees.
Definition: SickLms200.h:85
::rl::math::Real getStartAngle() const
Definition: SickLms200.cpp:558
Variant variant
Definition: SickLms200.h:183
::std::uint16_t crc(const ::std::uint8_t *buf, const ::std::size_t &len) const
Definition: SickLms200.cpp:106
Measuring measuring
Definition: SickLms200.h:175
@ MEASURING_320M
Definition: SickLms200.h:71
@ VARIANT_180_100
Angle = 180 degrees, resolution = 1 degree.
Definition: SickLms200.h:91
Measuring getMeasuring() const
Definition: SickLms200.cpp:517
::rl::math::Real getResolution() const
Definition: SickLms200.cpp:533
@ MEASURING_32M
Definition: SickLms200.h:68
@ MEASURING_16M
Definition: SickLms200.h:67
::Eigen::Matrix< Real, ::Eigen::Dynamic, 1 > Vector
Definition: Vector.h:42
void setMonitoring(const Monitoring &monitoring)
Definition: SickLms200.cpp:1117
void open()
Definition: SickLms200.cpp:632
@ MEASURING_80M
Definition: SickLms200.h:69
virtual ~SickLms200()
Definition: SickLms200.cpp:71
Monitoring getMonitoring() const
Definition: SickLms200.cpp:525
::std::size_t getDistancesCount() const
Definition: SickLms200.cpp:446
Serial serial
Definition: SickLms200.h:181
Variant getVariant() const
Definition: SickLms200.cpp:624
Definition: CyclicDevice.h:39
::rl::math::Vector getDistances() const
Definition: SickLms200.cpp:299
@ MEASURING_160M
Definition: SickLms200.h:70
Measuring
Definition: SickLms200.h:65
Sick LMS 200 laser measurement system.
Definition: SickLms200.h:46
void setBaudRate(const BaudRate &baudRate)
Definition: SickLms200.cpp:945
bool waitAck()
Definition: SickLms200.cpp:1283
Monitoring monitoring
Definition: SickLms200.h:177
BaudRate getBaudRate() const
Definition: SickLms200.cpp:293
SickLms200(const ::std::string &device="/dev/ttyS0", const BaudRate &baudRate=BAUDRATE_9600BPS, const Monitoring &monitoring=MONITORING_SINGLE, const Variant &variant=VARIANT_180_50, const Measuring &measuring=MEASURING_8M, const ::std::string &password="SICK_LMS")
Definition: SickLms200.cpp:41
@ VARIANT_100_25
Angle = 100 degrees, resolution = 0.25 degrees.
Definition: SickLms200.h:83
BaudRate baudRate
Definition: SickLms200.h:167
@ BAUDRATE_19200BPS
19,200 bps.
Definition: SickLms200.h:53
@ BAUDRATE_9600BPS
9,600 bps.
Definition: SickLms200.h:51
BaudRate
Definition: SickLms200.h:49
@ VARIANT_180_50
Angle = 180 degrees, resolution = 0.5 degrees.
Definition: SickLms200.h:89
void start()
Definition: SickLms200.cpp:1222
::rl::math::Real getStopAngle() const
Definition: SickLms200.cpp:581
::std::uint8_t configuration
Definition: SickLms200.h:169
::rl::math::Real getDistancesMaximum(const ::std::size_t &i) const
Definition: SickLms200.cpp:475
::std::string getType()
Definition: SickLms200.cpp:604
@ BAUDRATE_38400BPS
38,400 bps.
Definition: SickLms200.h:58
void close()
Definition: SickLms200.cpp:76
void setVariant(const Variant &variant)
Definition: SickLms200.cpp:1161
@ MEASURING_8M
Definition: SickLms200.h:66
void setMeasuring(const Measuring &measuring)
Definition: SickLms200.cpp:1019
void stop()
Definition: SickLms200.cpp:1272
@ MONITORING_CONTINUOUS
Definition: SickLms200.h:76
::std::array< ::std::uint8_t, 812 > data
Definition: SickLms200.h:171
void step()
Definition: SickLms200.cpp:1233
void dumpStatus()
Definition: SickLms200.cpp:194
void send(::std::uint8_t *buf, const ::std::size_t &len)
Definition: SickLms200.cpp:918
void dumpConfiguration()
Definition: SickLms200.cpp:129
::std::size_t recv(::std::uint8_t *buf, const ::std::size_t &len, const ::std::uint8_t &command)
Definition: SickLms200.cpp:797
double Real
Definition: Real.h:42
BaudRate desired
Definition: SickLms200.h:173
void reset()
Definition: SickLms200.cpp:896
::rl::math::Real getDistancesMinimum(const ::std::size_t &i) const
Definition: SickLms200.cpp:508
@ MONITORING_SINGLE
Definition: SickLms200.h:77
Variant
Definition: SickLms200.h:81
Robotics Library.
Definition: AnalogInput.cpp:30