Robotics Library  0.7.0
MitsubishiH7.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2009, Markus Rickert
3 // All rights reserved.
4 //
5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are met:
7 //
8 // * Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright notice,
11 // this list of conditions and the following disclaimer in the documentation
12 // and/or other materials provided with the distribution.
13 //
14 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
18 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24 // POSSIBILITY OF SUCH DAMAGE.
25 //
26 
27 #ifndef RL_HAL_MITSUBISHIH7_H
28 #define RL_HAL_MITSUBISHIH7_H
29 
30 #include <cstdint>
31 #include <string>
32 
35 #include "CyclicDevice.h"
36 #include "Gripper.h"
37 #include "JointPositionActuator.h"
38 #include "JointPositionSensor.h"
39 #include "MitsubishiR3.h"
40 #include "Socket.h"
41 
42 namespace rl
43 {
44  namespace hal
45  {
49  class MitsubishiH7 :
52  public CyclicDevice,
53  public Gripper,
54  public JointPositionActuator,
55  public JointPositionSensor
56  {
57  public:
58  enum Mode
59  {
61  MODE_POSE = 0,
62  MODE_PULSE = 2
63  };
64 
66  const ::std::size_t& dof,
67  const ::std::string& addressServer,
68  const ::std::string& addressClient,
69  const unsigned short int& portTcp = 10001,
70  const unsigned short int& portUdp = 10000,
71  const Mode& mode = MODE_JOINT,
72  const ::std::uint16_t& haltIoData = 0x00AA,
73  const ::std::uint16_t& releaseIoData = 0x00A6,
74  const ::std::uint16_t& shutIoData = 0x000A9
75  );
76 
77  virtual ~MitsubishiH7();
78 
79  void close();
80 
82 
83  ::Eigen::Matrix< ::std::int32_t, ::Eigen::Dynamic, 1> getCurrentFeedback() const;
84 
85  ::std::size_t getFilter() const;
86 
87  ::std::uint16_t getIoData() const;
88 
90 
91  Mode getMode() const;
92 
93  ::Eigen::Matrix< ::std::int32_t, ::Eigen::Dynamic, 1> getMotorPulse() const;
94 
95  void halt();
96 
97  void loadProgram(const ::std::string& name, const ::std::string& program);
98 
99  void open();
100 
101  void release();
102 
104 
105  void setFilter(const ::std::size_t& filter);
106 
107  void setInput(const ::std::uint16_t& bitTop);
108 
110 
111  void setMode(const Mode& mode);
112 
113  void setMotorPulse(const ::Eigen::Matrix< ::std::int32_t, ::Eigen::Dynamic, 1>& p);
114 
115  void setOutput(const ::std::uint16_t& bitTop, const ::std::uint16_t& bitMask, const ::std::uint16_t& ioData);
116 
117  void shut();
118 
119  void start();
120 
121  void startProgram(const ::std::string& name);
122 
123  void step();
124 
125  void stop();
126 
127  void stopProgram();
128 
129  protected:
130  struct World
131  {
133  float x;
135  float y;
137  float z;
139  float a;
141  float b;
143  float c;
145  float l1;
147  float l2;
148  };
149 
150  struct Joint
151  {
153  float j1;
155  float j2;
157  float j3;
159  float j4;
161  float j5;
163  float j6;
165  float j7;
167  float j8;
168  };
169 
170  struct Pose
171  {
174  ::std::uint32_t sflg1;
176  ::std::uint32_t sflg2;
177  };
178 
179  struct Pulse
180  {
182  ::std::int32_t p1;
184  ::std::int32_t p2;
186  ::std::int32_t p3;
188  ::std::int32_t p4;
190  ::std::int32_t p5;
192  ::std::int32_t p6;
194  ::std::int32_t p7;
196  ::std::int32_t p8;
197  };
198 
199  struct Command
200  {
201  union Data
202  {
210  ::std::int32_t lng[8];
211  };
213  ::std::uint16_t command;
215  ::std::uint16_t sendType;
217  ::std::uint16_t recvType;
219  ::std::uint16_t reserve;
223  ::std::uint16_t sendIoType;
225  ::std::uint16_t recvIoType;
227  ::std::uint16_t bitTop;
229  ::std::uint16_t bitMask;
231  ::std::uint16_t ioData;
233  ::std::uint16_t tCount;
235  ::std::uint32_t cCount;
237  ::std::uint16_t recvType1;
239  ::std::uint16_t reserve1;
243  ::std::uint16_t recvType2;
245  ::std::uint16_t reserve2;
249  ::std::uint16_t recvType3;
251  ::std::uint16_t reserve3;
254  };
255 
257  const static ::std::uint16_t MXT_COMMAND_NULL = 0;
259  const static ::std::uint16_t MXT_COMMAND_MOVE = 1;
261  const static ::std::uint16_t MXT_COMMAND_END = 255;
262 
264  const static ::std::uint16_t MXT_IO_NULL = 0;
266  const static ::std::uint16_t MXT_IO_OUT = 1;
268  const static ::std::uint16_t MXT_IO_IN = 2;
269 
271  const static ::std::uint16_t MXT_TYPE_NULL = 0;
273  const static ::std::uint16_t MXT_TYPE_POSE = 1;
275  const static ::std::uint16_t MXT_TYPE_JOINT = 2;
277  const static ::std::uint16_t MXT_TYPE_PULSE = 3;
279  const static ::std::uint16_t MXT_TYPE_POSE_FILTER = 4;
281  const static ::std::uint16_t MXT_TYPE_JOINT_FILTER = 5;
283  const static ::std::uint16_t MXT_TYPE_PULSE_FILTER = 6;
285  const static ::std::uint16_t MXT_TYPE_POSE_FEEDBACK = 7;
287  const static ::std::uint16_t MXT_TYPE_JOINT_FEEDBACK = 8;
289  const static ::std::uint16_t MXT_TYPE_PULSE_FEEDBACK = 9;
291  const static ::std::uint16_t MXT_TYPE_CURRENT_COMMAND = 10;
293  const static ::std::uint16_t MXT_TYPE_CURRENT_FEEDBACK = 11;
294 
295  private:
297  ::std::string addressClient;
298 
300  ::std::string addressServer;
301 
303  ::std::size_t filter;
304 
305  ::std::uint16_t haltIoData;
306 
308 
310 
312 
314 
315  ::std::uint16_t releaseIoData;
316 
317  ::std::uint16_t shutIoData;
318 
320  };
321  }
322 }
323 
324 #endif // RL_HAL_MITSUBISHIH7_H
rl::hal::MitsubishiH7::stopProgram
void stopProgram()
Definition: MitsubishiH7.cpp:488
rl::hal::MitsubishiH7::Command::dat
Data dat
Position data.
Definition: MitsubishiH7.h:221
rl::hal::MitsubishiH7::shut
void shut()
Definition: MitsubishiH7.cpp:371
rl::hal::JointPositionSensor
Definition: JointPositionSensor.h:39
rl::hal::Socket
Definition: Socket.h:48
rl::hal::MitsubishiH7::open
void open()
Definition: MitsubishiH7.cpp:229
rl::hal::MitsubishiH7::Command::cCount
::std::uint32_t cCount
Counter for communication data.
Definition: MitsubishiH7.h:235
rl::hal::MitsubishiH7::Command::recvType
::std::uint16_t recvType
Reply data type designation.
Definition: MitsubishiH7.h:217
rl::hal::MitsubishiH7::MODE_JOINT
@ MODE_JOINT
Definition: MitsubishiH7.h:60
rl::hal::MitsubishiH7::haltIoData
::std::uint16_t haltIoData
Definition: MitsubishiH7.h:305
rl::math::Transform
::Eigen::Transform< Real, 3, ::Eigen::Affine > Transform
Rigid transformation in 3D.
Definition: Transform.h:46
rl::hal::MitsubishiH7::Joint::j4
float j4
J4 axis angle [rad].
Definition: MitsubishiH7.h:159
rl::hal::MitsubishiH7::Mode
Mode
Definition: MitsubishiH7.h:59
rl::hal::MitsubishiH7::Command::sendIoType
::std::uint16_t sendIoType
Transmission input/output signal data designation.
Definition: MitsubishiH7.h:223
rl::hal::MitsubishiH7::Pose::sflg2
::std::uint32_t sflg2
Structural flag 2.
Definition: MitsubishiH7.h:176
rl::hal::MitsubishiH7::MXT_IO_OUT
static const ::std::uint16_t MXT_IO_OUT
Output signal.
Definition: MitsubishiH7.h:266
rl::hal::MitsubishiH7::Joint::j6
float j6
J6 axis angle [rad].
Definition: MitsubishiH7.h:163
rl::hal::MitsubishiH7::getJointPosition
::rl::math::Vector getJointPosition() const
Definition: MitsubishiH7.cpp:147
rl::hal::MitsubishiH7::Command::recvType3
::std::uint16_t recvType3
Reply data type designation.
Definition: MitsubishiH7.h:249
rl::hal::MitsubishiH7::Command::Data::pos
Pose pos
XYZ type [mm or rad].
Definition: MitsubishiH7.h:204
rl::hal::MitsubishiH7::World::y
float y
Y axis coordinate value [mm].
Definition: MitsubishiH7.h:135
rl::hal::MitsubishiH7::MitsubishiH7
MitsubishiH7(const ::std::size_t &dof, const ::std::string &addressServer, const ::std::string &addressClient, const unsigned short int &portTcp=10001, const unsigned short int &portUdp=10000, const Mode &mode=MODE_JOINT, const ::std::uint16_t &haltIoData=0x00AA, const ::std::uint16_t &releaseIoData=0x00A6, const ::std::uint16_t &shutIoData=0x000A9)
Definition: MitsubishiH7.cpp:38
rl::hal::MitsubishiH7::getMode
Mode getMode() const
Definition: MitsubishiH7.cpp:177
rl::hal::MitsubishiH7::step
void step()
Definition: MitsubishiH7.cpp:418
rl::hal::MitsubishiH7::Pulse::p1
::std::int32_t p1
Motor 1 axis.
Definition: MitsubishiH7.h:182
rl::hal::MitsubishiH7::World::a
float a
A axis coordinate value [rad].
Definition: MitsubishiH7.h:139
rl::hal::MitsubishiH7::setFilter
void setFilter(const ::std::size_t &filter)
Definition: MitsubishiH7.cpp:261
rl::hal::MitsubishiH7::r3
MitsubishiR3 r3
Definition: MitsubishiH7.h:313
rl::hal::MitsubishiH7::halt
void halt()
Definition: MitsubishiH7.cpp:213
rl::hal::MitsubishiH7::Pose::w
World w
Definition: MitsubishiH7.h:172
MitsubishiR3.h
rl::hal::MitsubishiH7::Joint
Definition: MitsubishiH7.h:151
rl::hal::MitsubishiH7::getCartesianPosition
::rl::math::Transform getCartesianPosition() const
Definition: MitsubishiH7.cpp:86
rl::hal::MitsubishiH7::Command::reserve1
::std::uint16_t reserve1
Reservation.
Definition: MitsubishiH7.h:239
rl::math::Vector
::Eigen::Matrix< Real, ::Eigen::Dynamic, 1 > Vector
Definition: Vector.h:42
rl::hal::MitsubishiH7::MXT_TYPE_POSE_FEEDBACK
static const ::std::uint16_t MXT_TYPE_POSE_FEEDBACK
XYZ data (encoder feedback value).
Definition: MitsubishiH7.h:285
rl::hal::MitsubishiH7::in
Command in
Definition: MitsubishiH7.h:307
rl::hal::CartesianPositionActuator
Definition: CartesianPositionActuator.h:39
rl::hal::MitsubishiH7::Joint::j7
float j7
Additional axis 1 (J7 axis angle) [mm or rad].
Definition: MitsubishiH7.h:165
rl::hal::MitsubishiH7::MXT_TYPE_NULL
static const ::std::uint16_t MXT_TYPE_NULL
No data.
Definition: MitsubishiH7.h:271
rl::hal::MitsubishiH7::Pulse
Definition: MitsubishiH7.h:180
rl::hal::MitsubishiH7::MXT_TYPE_PULSE_FEEDBACK
static const ::std::uint16_t MXT_TYPE_PULSE_FEEDBACK
Motor pulse data (encoder feedback value).
Definition: MitsubishiH7.h:289
rl::hal::MitsubishiH7::MXT_TYPE_JOINT_FEEDBACK
static const ::std::uint16_t MXT_TYPE_JOINT_FEEDBACK
Joint data (encoder feedback value).
Definition: MitsubishiH7.h:287
rl::hal::MitsubishiH7::out
Command out
Definition: MitsubishiH7.h:311
rl::hal::MitsubishiH7::Command::Data::pls
Pulse pls
Motor pulse type [the pulse] or current type [%].
Definition: MitsubishiH7.h:208
rl::hal::MitsubishiH7::MXT_TYPE_PULSE
static const ::std::uint16_t MXT_TYPE_PULSE
Motor pulse data.
Definition: MitsubishiH7.h:277
rl::hal::MitsubishiH7::Command::tCount
::std::uint16_t tCount
Timeout time counter.
Definition: MitsubishiH7.h:233
rl::hal::MitsubishiH7::~MitsubishiH7
virtual ~MitsubishiH7()
Definition: MitsubishiH7.cpp:73
rl::hal::MitsubishiH7::Joint::j2
float j2
J2 axis angle [rad].
Definition: MitsubishiH7.h:155
rl::hal::CyclicDevice
Definition: CyclicDevice.h:39
rl::hal::MitsubishiH7::Command::Data
Definition: MitsubishiH7.h:202
rl::hal::MitsubishiH7::Pulse::p2
::std::int32_t p2
Motor 2 axis.
Definition: MitsubishiH7.h:184
rl::hal::MitsubishiH7::getMotorPulse
::Eigen::Matrix< ::std::int32_t, ::Eigen::Dynamic, 1 > getMotorPulse() const
Definition: MitsubishiH7.cpp:183
rl::hal::MitsubishiH7::Command::reserve2
::std::uint16_t reserve2
Reservation.
Definition: MitsubishiH7.h:245
rl::hal::AxisController::dof
::std::size_t dof
Degrees of freedom.
Definition: AxisController.h:52
rl::hal::MitsubishiH7::Pulse::p3
::std::int32_t p3
Motor 3 axis.
Definition: MitsubishiH7.h:186
rl::hal::MitsubishiH7::Pulse::p5
::std::int32_t p5
Motor 5 axis.
Definition: MitsubishiH7.h:190
rl::hal::MitsubishiH7::MXT_IO_NULL
static const ::std::uint16_t MXT_IO_NULL
No data.
Definition: MitsubishiH7.h:264
rl::hal::MitsubishiH7::Command::sendType
::std::uint16_t sendType
Transmission data type designation.
Definition: MitsubishiH7.h:215
rl::hal::MitsubishiH7::World::l2
float l2
Additional axis 2 [mm or rad].
Definition: MitsubishiH7.h:147
rl::hal::MitsubishiH7::socket
Socket socket
Definition: MitsubishiH7.h:319
CartesianPositionSensor.h
Gripper.h
rl::hal::MitsubishiH7::Pulse::p7
::std::int32_t p7
Additional axis 1 (Motor 7 axis).
Definition: MitsubishiH7.h:194
rl::hal::MitsubishiH7::close
void close()
Definition: MitsubishiH7.cpp:78
rl::hal::MitsubishiH7::setOutput
void setOutput(const ::std::uint16_t &bitTop, const ::std::uint16_t &bitMask, const ::std::uint16_t &ioData)
Definition: MitsubishiH7.cpp:361
rl::hal::MitsubishiH7::shutIoData
::std::uint16_t shutIoData
Definition: MitsubishiH7.h:317
rl::hal::MitsubishiH7::startProgram
void startProgram(const ::std::string &name)
Definition: MitsubishiH7.cpp:409
rl::hal::MitsubishiH7::Pulse::p4
::std::int32_t p4
Motor 4 axis.
Definition: MitsubishiH7.h:188
rl::hal::MitsubishiH7::MXT_TYPE_PULSE_FILTER
static const ::std::uint16_t MXT_TYPE_PULSE_FILTER
Motor pulse data (position after filter process).
Definition: MitsubishiH7.h:283
rl::hal::MitsubishiH7::MODE_PULSE
@ MODE_PULSE
Definition: MitsubishiH7.h:62
rl::hal::MitsubishiH7::setCartesianPosition
void setCartesianPosition(const ::rl::math::Transform &x)
Definition: MitsubishiH7.cpp:244
rl::hal::MitsubishiH7::World::c
float c
C axis coordinate value [rad].
Definition: MitsubishiH7.h:143
rl::hal::MitsubishiH7::Command::recvIoType
::std::uint16_t recvIoType
Reply input/output signal data designation.
Definition: MitsubishiH7.h:225
CartesianPositionActuator.h
rl::hal::MitsubishiH7::release
void release()
Definition: MitsubishiH7.cpp:238
rl::hal::MitsubishiH7::addressClient
::std::string addressClient
Client ip address or hostname.
Definition: MitsubishiH7.h:297
rl::hal::MitsubishiH7::MXT_TYPE_JOINT_FILTER
static const ::std::uint16_t MXT_TYPE_JOINT_FILTER
Joint data (position after filter process).
Definition: MitsubishiH7.h:281
rl::hal::MitsubishiH7::start
void start()
Definition: MitsubishiH7.cpp:377
rl::hal::MitsubishiH7::MODE_POSE
@ MODE_POSE
Definition: MitsubishiH7.h:61
rl::hal::MitsubishiH7::stop
void stop()
Definition: MitsubishiH7.cpp:454
rl::hal::MitsubishiH7::Command::dat3
Data dat3
Position data.
Definition: MitsubishiH7.h:253
rl::hal::MitsubishiH7::Command::bitMask
::std::uint16_t bitMask
Bit mask pattern designation (valid only for commanding) [0x0000-0xFFFF].
Definition: MitsubishiH7.h:229
rl::hal::MitsubishiH7::Command::reserve
::std::uint16_t reserve
Reservation.
Definition: MitsubishiH7.h:219
rl::hal::MitsubishiH7::Command::Data::lng
::std::int32_t lng[8]
Integer type [%% / non-unit].
Definition: MitsubishiH7.h:210
rl::hal::MitsubishiH7::MXT_TYPE_CURRENT_COMMAND
static const ::std::uint16_t MXT_TYPE_CURRENT_COMMAND
Current command [%].
Definition: MitsubishiH7.h:291
JointPositionSensor.h
rl::hal::MitsubishiH7::loadProgram
void loadProgram(const ::std::string &name, const ::std::string &program)
Definition: MitsubishiH7.cpp:219
rl::hal::MitsubishiR3
Mitsubishi Electric R3 protocol.
Definition: MitsubishiR3.h:46
rl::hal::MitsubishiH7::setMode
void setMode(const Mode &mode)
Definition: MitsubishiH7.cpp:315
rl::hal::MitsubishiH7::getCurrentFeedback
::Eigen::Matrix< ::std::int32_t, ::Eigen::Dynamic, 1 > getCurrentFeedback() const
Definition: MitsubishiH7.cpp:105
rl::hal::MitsubishiH7::Command::dat1
Data dat1
Position data.
Definition: MitsubishiH7.h:241
rl::hal::MitsubishiH7::Joint::j3
float j3
J3 axis angle [rad].
Definition: MitsubishiH7.h:157
rl::hal::MitsubishiH7::Command::reserve3
::std::uint16_t reserve3
Reservation.
Definition: MitsubishiH7.h:251
rl::hal::MitsubishiH7::getFilter
::std::size_t getFilter() const
Definition: MitsubishiH7.cpp:135
rl::hal::MitsubishiH7::setInput
void setInput(const ::std::uint16_t &bitTop)
Definition: MitsubishiH7.cpp:267
rl::hal::MitsubishiH7::Command
Definition: MitsubishiH7.h:200
JointPositionActuator.h
rl::hal::MitsubishiH7::MXT_TYPE_POSE
static const ::std::uint16_t MXT_TYPE_POSE
XYZ data.
Definition: MitsubishiH7.h:273
rl::hal::MitsubishiH7::MXT_TYPE_POSE_FILTER
static const ::std::uint16_t MXT_TYPE_POSE_FILTER
XYZ data (position after filter process).
Definition: MitsubishiH7.h:279
rl::hal::MitsubishiH7::MXT_IO_IN
static const ::std::uint16_t MXT_IO_IN
Input signal.
Definition: MitsubishiH7.h:268
rl::hal::CartesianPositionSensor
Definition: CartesianPositionSensor.h:39
rl::hal::MitsubishiH7::getIoData
::std::uint16_t getIoData() const
Definition: MitsubishiH7.cpp:141
rl::hal::MitsubishiH7::MXT_COMMAND_NULL
static const ::std::uint16_t MXT_COMMAND_NULL
Real-time external command invalid.
Definition: MitsubishiH7.h:257
CyclicDevice.h
rl::hal::MitsubishiH7::setJointPosition
void setJointPosition(const ::rl::math::Vector &q)
Definition: MitsubishiH7.cpp:275
rl::hal::MitsubishiH7::Pose
Definition: MitsubishiH7.h:171
rl::hal::MitsubishiH7::Command::recvType2
::std::uint16_t recvType2
Reply data type designation.
Definition: MitsubishiH7.h:243
rl::hal::MitsubishiH7::MXT_TYPE_CURRENT_FEEDBACK
static const ::std::uint16_t MXT_TYPE_CURRENT_FEEDBACK
Current feedback [%].
Definition: MitsubishiH7.h:293
rl::hal::MitsubishiH7::Pulse::p8
::std::int32_t p8
Additional axis 2 (Motor 8 axis).
Definition: MitsubishiH7.h:196
rl::hal::MitsubishiH7::releaseIoData
::std::uint16_t releaseIoData
Definition: MitsubishiH7.h:315
rl::hal::MitsubishiH7::World::x
float x
X axis coordinate value [mm].
Definition: MitsubishiH7.h:133
rl::hal::MitsubishiH7::MXT_COMMAND_END
static const ::std::uint16_t MXT_COMMAND_END
Real-time external command end.
Definition: MitsubishiH7.h:261
rl::hal::MitsubishiH7::Pulse::p6
::std::int32_t p6
Motor 6 axis.
Definition: MitsubishiH7.h:192
rl::hal::MitsubishiH7::filter
::std::size_t filter
Internal filter value.
Definition: MitsubishiH7.h:303
rl::hal::MitsubishiH7::World
Definition: MitsubishiH7.h:131
rl::hal::MitsubishiH7::Command::command
::std::uint16_t command
Command.
Definition: MitsubishiH7.h:213
rl::hal::MitsubishiH7::mode
Mode mode
Definition: MitsubishiH7.h:309
rl::hal::MitsubishiH7::Joint::j8
float j8
Additional axis 2 (J8 axis angle) [mm or rad].
Definition: MitsubishiH7.h:167
rl::hal::JointPositionActuator
Definition: JointPositionActuator.h:39
rl::hal::MitsubishiH7::Command::ioData
::std::uint16_t ioData
Input or output signal data value (for monitoring) [0x0000-0xFFFF].
Definition: MitsubishiH7.h:231
rl::hal::MitsubishiH7::World::b
float b
B axis coordinate value [rad].
Definition: MitsubishiH7.h:141
rl::hal::MitsubishiH7::Command::recvType1
::std::uint16_t recvType1
Reply data type designation.
Definition: MitsubishiH7.h:237
Socket.h
rl::hal::MitsubishiH7::Command::bitTop
::std::uint16_t bitTop
Head bit no.
Definition: MitsubishiH7.h:227
rl::hal::MitsubishiH7::Command::dat2
Data dat2
Position data.
Definition: MitsubishiH7.h:247
rl::hal::MitsubishiH7::MXT_COMMAND_MOVE
static const ::std::uint16_t MXT_COMMAND_MOVE
Real-time external command valid.
Definition: MitsubishiH7.h:259
rl::hal::MitsubishiH7::Pose::sflg1
::std::uint32_t sflg1
Structural flag 1.
Definition: MitsubishiH7.h:174
rl::hal::MitsubishiH7::Joint::j5
float j5
J5 axis angle [rad].
Definition: MitsubishiH7.h:161
rl::hal::MitsubishiH7
Mitsubishi Electric MELFA Ethernet interface (software version H7 or later).
Definition: MitsubishiH7.h:56
rl::hal::MitsubishiH7::setMotorPulse
void setMotorPulse(const ::Eigen::Matrix< ::std::int32_t, ::Eigen::Dynamic, 1 > &p)
Definition: MitsubishiH7.cpp:321
rl::hal::MitsubishiH7::Joint::j1
float j1
J1 axis angle [rad].
Definition: MitsubishiH7.h:153
rl::hal::MitsubishiH7::Command::Data::jnt
Joint jnt
Joint type [rad].
Definition: MitsubishiH7.h:206
rl::hal::Gripper
Definition: Gripper.h:37
rl::hal::MitsubishiH7::World::z
float z
Z axis coordinate value [mm].
Definition: MitsubishiH7.h:137
rl::hal::MitsubishiH7::World::l1
float l1
Additional axis 1 [mm or rad].
Definition: MitsubishiH7.h:145
rl::hal::MitsubishiH7::MXT_TYPE_JOINT
static const ::std::uint16_t MXT_TYPE_JOINT
Joint data.
Definition: MitsubishiH7.h:275
rl::hal::MitsubishiH7::addressServer
::std::string addressServer
Server ip address or hostname.
Definition: MitsubishiH7.h:300
rl
Robotics Library.
Definition: AnalogInput.cpp:30