|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_HAL_SCHMERSALLSS300_H
28 #define RL_HAL_SCHMERSALLSS300_H
78 const ::std::string& device =
"/dev/ttyS0",
81 const ::std::string&
password =
"PASS_LSS"
125 ::std::uint16_t
crc(const ::std::uint8_t* buf, const ::std::size_t& len)
const;
127 ::std::size_t
recv(::std::uint8_t* buf, const ::std::size_t& len, const ::std::uint8_t& command);
129 void send(::std::uint8_t* buf, const ::std::size_t& len);
135 ::std::array< ::std::uint8_t, 1013>
data;
148 #endif // RL_HAL_SCHMERSALLSS300_H
void reset()
Definition: SchmersalLss300.cpp:370
::std::string getType()
Definition: SchmersalLss300.cpp:200
void start()
Definition: SchmersalLss300.cpp:528
BaudRate baudRate
Definition: SchmersalLss300.h:133
::rl::math::Vector getDistances() const
Definition: SchmersalLss300.cpp:119
::rl::math::Real getStopAngle() const
Definition: SchmersalLss300.cpp:192
void setMonitoring(const Monitoring &monitoring)
Definition: SchmersalLss300.cpp:478
::rl::math::Real getStartAngle() const
Definition: SchmersalLss300.cpp:184
::std::uint16_t crc(const ::std::uint8_t *buf, const ::std::size_t &len) const
Definition: SchmersalLss300.cpp:90
BaudRate
Definition: SchmersalLss300.h:49
void setBaudRate(const BaudRate &baudRate)
Definition: SchmersalLss300.cpp:415
bool waitAck()
Definition: SchmersalLss300.cpp:570
@ BAUDRATE_38400BPS
38,400 bps.
Definition: SchmersalLss300.h:55
@ BAUDRATE_57600BPS
57,600 bps.
Definition: SchmersalLss300.h:57
@ BAUDRATE_9600BPS
9,600 bps.
Definition: SchmersalLss300.h:51
::Eigen::Matrix< Real, ::Eigen::Dynamic, 1 > Vector
Definition: Vector.h:42
@ BAUDRATE_19200BPS
19,200 bps.
Definition: SchmersalLss300.h:53
virtual ~SchmersalLss300()
Definition: SchmersalLss300.cpp:65
Serial serial
Definition: SchmersalLss300.h:143
BaudRate getBaudRate() const
Definition: SchmersalLss300.cpp:113
Definition: CyclicDevice.h:39
Monitoring
Definition: SchmersalLss300.h:69
Monitoring monitoring
Definition: SchmersalLss300.h:139
::rl::math::Real getResolution() const
Definition: SchmersalLss300.cpp:176
void close()
Definition: SchmersalLss300.cpp:70
@ MONITORING_SINGLE
Definition: SchmersalLss300.h:71
void open()
Definition: SchmersalLss300.cpp:232
::std::size_t recv(::std::uint8_t *buf, const ::std::size_t &len, const ::std::uint8_t &command)
Definition: SchmersalLss300.cpp:304
Monitoring getMonitoring() const
Definition: SchmersalLss300.cpp:168
@ MONITORING_CONTINUOUS
Definition: SchmersalLss300.h:70
::std::string password
Definition: SchmersalLss300.h:141
::std::size_t getDistancesCount() const
Definition: SchmersalLss300.cpp:146
void stop()
Definition: SchmersalLss300.cpp:559
SchmersalLss300(const ::std::string &device="/dev/ttyS0", const BaudRate &baudRate=BAUDRATE_9600BPS, const Monitoring &monitoring=MONITORING_SINGLE, const ::std::string &password="PASS_LSS")
Definition: SchmersalLss300.cpp:40
void step()
Definition: SchmersalLss300.cpp:539
BaudRate desired
Definition: SchmersalLss300.h:137
::rl::math::Real getDistancesMinimum(const ::std::size_t &i) const
Definition: SchmersalLss300.cpp:160
::rl::math::Real getDistancesMaximum(const ::std::size_t &i) const
Definition: SchmersalLss300.cpp:152
double Real
Definition: Real.h:42
::std::array< ::std::uint8_t, 1013 > data
Definition: SchmersalLss300.h:135
void send(::std::uint8_t *buf, const ::std::size_t &len)
Definition: SchmersalLss300.cpp:388
Schmersal LSS 300 safety laser scanner.
Definition: SchmersalLss300.h:46
Robotics Library.
Definition: AnalogInput.cpp:30