joint_feedback_ex_message.h
Go to the documentation of this file.
1 /*
2  * Software License Agreement (BSD License)
3  *
4  * Copyright (c) 2014, Fraunhofer IPA
5  * Author: Thiago de Freitas
6  *
7  * All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions are met:
11  *
12  * * Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  * * Redistributions in binary form must reproduce the above copyright
15  * notice, this list of conditions and the following disclaimer in the
16  * documentation and/or other materials provided with the distribution.
17  * * Neither the name of the Fraunhofer IPA, nor the names
18  * of its contributors may be used to endorse or promote products derived
19  * from this software without specific prior written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31  * POSSIBILITY OF SUCH DAMAGE.
32  */
33 
34 #ifndef MOTOMAN_DRIVER_SIMPLE_MESSAGE_MESSAGES_JOINT_FEEDBACK_EX_MESSAGE_H
35 #define MOTOMAN_DRIVER_SIMPLE_MESSAGE_MESSAGES_JOINT_FEEDBACK_EX_MESSAGE_H
36 
37 #include <vector>
38 
39 #ifndef FLATHEADERS
44 #else
45 #include "typed_message.h" // NOLINT(build/include)
46 #include "simple_message.h" // NOLINT(build/include)
47 #include "shared_types.h" // NOLINT(build/include)
48 #include "joint_feedback_ex.h" // NOLINT(build/include)
49 #endif
50 
51 namespace industrial
52 {
53 namespace joint_feedback_ex_message
54 {
67 {
68 public:
89 
97 
102  void init();
103 
104  // Overrides - SimpleSerialize
107 
108  unsigned int byteLength()
109  {
110  return this->data_.byteLength();
111  }
112 
114  {
115  return this->data_.getGroupsNumber();
116  }
117 
118  std::vector<industrial::joint_feedback_message::JointFeedbackMessage> getJointMessages()
119  {
120  return this->data_.getJointMessages();
121  }
122 
123 private:
125 };
126 } // namespace joint_feedback_ex_message
127 } // namespace industrial
128 
129 
130 #endif // MOTOMAN_DRIVER_SIMPLE_MESSAGE_MESSAGES_JOINT_FEEDBACK_EX_MESSAGE_H
Class encapsulated joint feedback ex message generation methods (either to or from a industrial::simp...
float data[ROS_MAX_JOINT]
std::vector< industrial::joint_feedback_message::JointFeedbackMessage > getJointMessages()
industrial::shared_types::shared_int getGroupsNumber()
Gets groups_number Gets the number of groups currently running on the controller. ...
std::vector< industrial::joint_feedback_message::JointFeedbackMessage > getJointMessages()


motoman_driver
Author(s): Jeremy Zoss (Southwest Research Institute), Ted Miller (MotoROS) (Yaskawa Motoman), Eric Marcil (MotoROS) (Yaskawa Motoman)
autogenerated on Sat May 8 2021 02:27:43