rosruby_msgs 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/{lib/actionlib_msgs → actionlib_msgs}/GoalID.rb +23 -24
- data/{lib/actionlib_msgs → actionlib_msgs}/GoalStatus.rb +29 -25
- data/{lib/actionlib_msgs → actionlib_msgs}/GoalStatusArray.rb +31 -32
- data/{lib/actionlib_tutorials → actionlib_tutorials}/AveragingAction.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/AveragingActionFeedback.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/AveragingActionGoal.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/AveragingActionResult.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/AveragingFeedback.rb +35 -26
- data/{lib/actionlib_tutorials → actionlib_tutorials}/AveragingGoal.rb +17 -23
- data/{lib/actionlib_tutorials → actionlib_tutorials}/AveragingResult.rb +23 -24
- data/{lib/actionlib_tutorials → actionlib_tutorials}/FibonacciAction.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/FibonacciActionFeedback.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/FibonacciActionGoal.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/FibonacciActionResult.rb +29 -25
- data/{lib/actionlib_tutorials → actionlib_tutorials}/FibonacciFeedback.rb +17 -23
- data/{lib/actionlib_tutorials → actionlib_tutorials}/FibonacciGoal.rb +17 -23
- data/{lib/actionlib_tutorials → actionlib_tutorials}/FibonacciResult.rb +17 -23
- data/{lib/geometry_msgs → geometry_msgs}/Point.rb +29 -25
- data/{lib/geometry_msgs → geometry_msgs}/Point32.rb +29 -25
- data/{lib/geometry_msgs → geometry_msgs}/PointStamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/Polygon.rb +17 -23
- data/{lib/geometry_msgs → geometry_msgs}/PolygonStamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/Pose.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/Pose2D.rb +29 -25
- data/{lib/geometry_msgs → geometry_msgs}/PoseArray.rb +31 -32
- data/{lib/geometry_msgs → geometry_msgs}/PoseStamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/PoseWithCovariance.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/PoseWithCovarianceStamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/Quaternion.rb +35 -26
- data/{lib/geometry_msgs → geometry_msgs}/QuaternionStamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/Transform.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/TransformStamped.rb +29 -25
- data/{lib/geometry_msgs → geometry_msgs}/Twist.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/TwistStamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/TwistWithCovariance.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/TwistWithCovarianceStamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/Vector3.rb +29 -25
- data/{lib/geometry_msgs → geometry_msgs}/Vector3Stamped.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/Wrench.rb +23 -24
- data/{lib/geometry_msgs → geometry_msgs}/WrenchStamped.rb +23 -24
- data/{lib/nav_msgs → nav_msgs}/GetMap.rb +29 -45
- data/{lib/nav_msgs → nav_msgs}/GetPlan.rb +66 -68
- data/{lib/nav_msgs → nav_msgs}/GridCells.rb +35 -26
- data/{lib/nav_msgs → nav_msgs}/MapMetaData.rb +41 -27
- data/{lib/nav_msgs → nav_msgs}/OccupancyGrid.rb +29 -25
- data/{lib/nav_msgs → nav_msgs}/Odometry.rb +35 -26
- data/{lib/nav_msgs → nav_msgs}/Path.rb +43 -44
- data/pr2_controllers_msgs/JointTrajectoryAction.rb +409 -0
- data/pr2_controllers_msgs/JointTrajectoryActionFeedback.rb +206 -0
- data/pr2_controllers_msgs/JointTrajectoryActionGoal.rb +265 -0
- data/pr2_controllers_msgs/JointTrajectoryActionResult.rb +205 -0
- data/pr2_controllers_msgs/JointTrajectoryControllerState.rb +284 -0
- data/pr2_controllers_msgs/JointTrajectoryFeedback.rb +67 -0
- data/pr2_controllers_msgs/JointTrajectoryGoal.rb +196 -0
- data/pr2_controllers_msgs/JointTrajectoryResult.rb +66 -0
- data/pr2_controllers_msgs/PointHeadActionFeedback.rb +211 -0
- data/pr2_controllers_msgs/PointHeadActionGoal.rb +225 -0
- data/pr2_controllers_msgs/PointHeadActionResult.rb +205 -0
- data/pr2_controllers_msgs/PointHeadGoal.rb +186 -0
- data/pr2_controllers_msgs/Pr2GripperCommandAction.rb +334 -0
- data/pr2_controllers_msgs/Pr2GripperCommandActionGoal.rb +0 -0
- data/pr2_controllers_msgs/Pr2GripperCommandActionResult.rb +216 -0
- data/pr2_controllers_msgs/Pr2GripperCommandFeedback.rb +102 -0
- data/pr2_controllers_msgs/Pr2GripperCommandGoal.rb +87 -0
- data/pr2_controllers_msgs/Pr2GripperCommandResult.rb +101 -0
- data/pr2_controllers_msgs/SingleJointPositionAction.rb +335 -0
- data/pr2_controllers_msgs/SingleJointPositionActionFeedback.rb +228 -0
- data/pr2_controllers_msgs/SingleJointPositionActionGoal.rb +173 -0
- data/pr2_controllers_msgs/SingleJointPositionActionResult.rb +205 -0
- data/pr2_controllers_msgs/SingleJointPositionGoal.rb +96 -0
- data/pr2_controllers_msgs/SingleJointPositionResult.rb +66 -0
- data/{lib/roscpp → roscpp}/Empty.rb +24 -44
- data/{lib/roscpp → roscpp}/GetLoggers.rb +29 -45
- data/{lib/roscpp → roscpp}/Logger.rb +23 -24
- data/{lib/roscpp → roscpp}/SetLoggerLevel.rb +35 -46
- data/{lib/roscpp_tutorials → roscpp_tutorials}/TwoInts.rb +40 -47
- data/{lib/rosgraph_msgs → rosgraph_msgs}/Clock.rb +17 -23
- data/{lib/rosgraph_msgs → rosgraph_msgs}/Log.rb +59 -30
- data/{lib/sensor_msgs → sensor_msgs}/CameraInfo.rb +77 -33
- data/{lib/sensor_msgs → sensor_msgs}/ChannelFloat32.rb +23 -24
- data/{lib/sensor_msgs → sensor_msgs}/CompressedImage.rb +30 -31
- data/{lib/sensor_msgs → sensor_msgs}/Image.rb +54 -35
- data/{lib/sensor_msgs → sensor_msgs}/Imu.rb +53 -29
- data/{lib/sensor_msgs → sensor_msgs}/JointState.rb +41 -27
- data/{lib/sensor_msgs → sensor_msgs}/Joy.rb +29 -25
- data/{lib/sensor_msgs → sensor_msgs}/JoyFeedback.rb +29 -25
- data/{lib/sensor_msgs → sensor_msgs}/JoyFeedbackArray.rb +17 -23
- data/{lib/sensor_msgs → sensor_msgs}/LaserScan.rb +71 -32
- data/{lib/sensor_msgs → sensor_msgs}/NavSatFix.rb +53 -29
- data/{lib/sensor_msgs → sensor_msgs}/NavSatStatus.rb +23 -24
- data/{lib/sensor_msgs → sensor_msgs}/PointCloud.rb +29 -25
- data/{lib/sensor_msgs → sensor_msgs}/PointCloud2.rb +66 -37
- data/{lib/sensor_msgs → sensor_msgs}/PointField.rb +35 -26
- data/{lib/sensor_msgs → sensor_msgs}/Range.rb +47 -28
- data/{lib/sensor_msgs → sensor_msgs}/RegionOfInterest.rb +41 -27
- data/{lib/sensor_msgs → sensor_msgs}/SetCameraInfo.rb +40 -47
- data/{lib/sensor_msgs → sensor_msgs}/TimeReference.rb +29 -25
- data/{lib/std_msgs → std_msgs}/Bool.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Byte.rb +17 -23
- data/{lib/std_msgs → std_msgs}/ByteMultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/Char.rb +17 -23
- data/{lib/std_msgs → std_msgs}/ColorRGBA.rb +35 -26
- data/{lib/std_msgs → std_msgs}/Duration.rb +17 -23
- data/std_msgs/Empty.rb +65 -0
- data/{lib/std_msgs → std_msgs}/Float32.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Float32MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/Float64.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Float64MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/Header.rb +29 -25
- data/{lib/std_msgs → std_msgs}/Int16.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Int16MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/Int32.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Int32MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/Int64.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Int64MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/Int8.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Int8MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/MultiArrayDimension.rb +29 -25
- data/{lib/std_msgs → std_msgs}/MultiArrayLayout.rb +23 -24
- data/{lib/std_msgs → std_msgs}/String.rb +17 -23
- data/{lib/std_msgs → std_msgs}/Time.rb +17 -23
- data/{lib/std_msgs → std_msgs}/UInt16.rb +17 -23
- data/{lib/std_msgs → std_msgs}/UInt16MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/UInt32.rb +17 -23
- data/{lib/std_msgs → std_msgs}/UInt32MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/UInt64.rb +17 -23
- data/{lib/std_msgs → std_msgs}/UInt64MultiArray.rb +23 -24
- data/{lib/std_msgs → std_msgs}/UInt8.rb +17 -23
- data/{lib/std_msgs → std_msgs}/UInt8MultiArray.rb +24 -30
- data/{lib/std_srvs → std_srvs}/Empty.rb +24 -44
- data/{lib/stereo_msgs → stereo_msgs}/DisparityImage.rb +60 -36
- data/{lib/tf → tf}/FrameGraph.rb +29 -45
- data/{lib/tf → tf}/tfMessage.rb +37 -43
- data/{lib/trajectory_msgs → trajectory_msgs}/JointTrajectory.rb +33 -29
- data/{lib/trajectory_msgs → trajectory_msgs}/JointTrajectoryPoint.rb +35 -26
- data/{lib/visualization_msgs → visualization_msgs}/ImageMarker.rb +89 -35
- data/{lib/visualization_msgs → visualization_msgs}/InteractiveMarker.rb +89 -65
- data/{lib/visualization_msgs → visualization_msgs}/InteractiveMarkerControl.rb +91 -62
- data/{lib/visualization_msgs → visualization_msgs}/InteractiveMarkerFeedback.rb +65 -31
- data/{lib/visualization_msgs → visualization_msgs}/InteractiveMarkerInit.rb +85 -81
- data/{lib/visualization_msgs → visualization_msgs}/InteractiveMarkerPose.rb +29 -25
- data/{lib/visualization_msgs → visualization_msgs}/InteractiveMarkerUpdate.rb +123 -104
- data/{lib/visualization_msgs → visualization_msgs}/Marker.rb +101 -37
- data/{lib/visualization_msgs → visualization_msgs}/MarkerArray.rb +49 -55
- data/{lib/visualization_msgs → visualization_msgs}/MenuEntry.rb +41 -27
- metadata +149 -129
- data/lib/std_msgs/Empty.rb +0 -75
|
@@ -123,36 +123,46 @@ float64 z
|
|
|
123
123
|
@@struct_L = ::ROS::Struct.new("L")
|
|
124
124
|
@@slot_types = ['Header','string','geometry_msgs/PoseWithCovariance','geometry_msgs/TwistWithCovariance']
|
|
125
125
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
#
|
|
135
|
-
# @param args: complete set of field values, in .msg order
|
|
136
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
137
|
-
# to set specific fields.
|
|
138
|
-
#
|
|
139
|
-
|
|
126
|
+
# Constructor. You can set the default values using keyword operators.
|
|
127
|
+
#
|
|
128
|
+
# @param [Hash] args keyword for initializing values
|
|
129
|
+
# @option args [Header] :header initialize value
|
|
130
|
+
# @option args [string] :child_frame_id initialize value
|
|
131
|
+
# @option args [geometry_msgs/PoseWithCovariance] :pose initialize value
|
|
132
|
+
# @option args [geometry_msgs/TwistWithCovariance] :twist initialize value
|
|
133
|
+
def initialize(args={})
|
|
140
134
|
# message fields cannot be None, assign default values for those that are
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
135
|
+
if args[:header]
|
|
136
|
+
@header = args[:header]
|
|
137
|
+
else
|
|
138
|
+
@header = Std_msgs::Header.new
|
|
139
|
+
end
|
|
140
|
+
if args[:child_frame_id]
|
|
141
|
+
@child_frame_id = args[:child_frame_id]
|
|
142
|
+
else
|
|
143
|
+
@child_frame_id = ''
|
|
144
|
+
end
|
|
145
|
+
if args[:pose]
|
|
146
|
+
@pose = args[:pose]
|
|
147
|
+
else
|
|
148
|
+
@pose = Geometry_msgs::PoseWithCovariance.new
|
|
149
|
+
end
|
|
150
|
+
if args[:twist]
|
|
151
|
+
@twist = args[:twist]
|
|
152
|
+
else
|
|
153
|
+
@twist = Geometry_msgs::TwistWithCovariance.new
|
|
154
|
+
end
|
|
145
155
|
end
|
|
146
156
|
|
|
157
|
+
# internal API method
|
|
158
|
+
# @return [String] Message type string.
|
|
147
159
|
def _get_types
|
|
148
|
-
|
|
149
|
-
return @slot_types
|
|
160
|
+
@slot_types
|
|
150
161
|
end
|
|
151
162
|
|
|
163
|
+
# serialize message into buffer
|
|
164
|
+
# @param [IO] buff buffer
|
|
152
165
|
def serialize(buff)
|
|
153
|
-
# serialize message into buffer
|
|
154
|
-
# @param buff: buffer
|
|
155
|
-
# @type buff: StringIO
|
|
156
166
|
begin
|
|
157
167
|
buff.write(@@struct_L3.pack(@header.seq, @header.stamp.secs, @header.stamp.nsecs))
|
|
158
168
|
_x = @header.frame_id
|
|
@@ -171,10 +181,9 @@ float64 z
|
|
|
171
181
|
end
|
|
172
182
|
end
|
|
173
183
|
|
|
184
|
+
# unpack serialized message in str into this message instance
|
|
185
|
+
# @param [String] str: byte array of serialized message
|
|
174
186
|
def deserialize(str)
|
|
175
|
-
# unpack serialized message in str into this message instance
|
|
176
|
-
# @param str: byte array of serialized message
|
|
177
|
-
# @type str: str
|
|
178
187
|
|
|
179
188
|
begin
|
|
180
189
|
if @header == nil
|
|
@@ -85,34 +85,34 @@ float64 w
|
|
|
85
85
|
@@struct_L = ::ROS::Struct.new("L")
|
|
86
86
|
@@slot_types = ['Header','geometry_msgs/PoseStamped[]']
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
# The available fields are:
|
|
95
|
-
# header,poses
|
|
96
|
-
#
|
|
97
|
-
# @param args: complete set of field values, in .msg order
|
|
98
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
99
|
-
# to set specific fields.
|
|
100
|
-
#
|
|
101
|
-
|
|
88
|
+
# Constructor. You can set the default values using keyword operators.
|
|
89
|
+
#
|
|
90
|
+
# @param [Hash] args keyword for initializing values
|
|
91
|
+
# @option args [Header] :header initialize value
|
|
92
|
+
# @option args [geometry_msgs/PoseStamped[]] :poses initialize value
|
|
93
|
+
def initialize(args={})
|
|
102
94
|
# message fields cannot be None, assign default values for those that are
|
|
103
|
-
|
|
104
|
-
|
|
95
|
+
if args[:header]
|
|
96
|
+
@header = args[:header]
|
|
97
|
+
else
|
|
98
|
+
@header = Std_msgs::Header.new
|
|
99
|
+
end
|
|
100
|
+
if args[:poses]
|
|
101
|
+
@poses = args[:poses]
|
|
102
|
+
else
|
|
103
|
+
@poses = []
|
|
104
|
+
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
# internal API method
|
|
108
|
+
# @return [String] Message type string.
|
|
107
109
|
def _get_types
|
|
108
|
-
|
|
109
|
-
return @slot_types
|
|
110
|
+
@slot_types
|
|
110
111
|
end
|
|
111
112
|
|
|
113
|
+
# serialize message into buffer
|
|
114
|
+
# @param [IO] buff buffer
|
|
112
115
|
def serialize(buff)
|
|
113
|
-
# serialize message into buffer
|
|
114
|
-
# @param buff: buffer
|
|
115
|
-
# @type buff: StringIO
|
|
116
116
|
begin
|
|
117
117
|
buff.write(@@struct_L3.pack(@header.seq, @header.stamp.secs, @header.stamp.nsecs))
|
|
118
118
|
_x = @header.frame_id
|
|
@@ -121,20 +121,20 @@ float64 w
|
|
|
121
121
|
length = @poses.length
|
|
122
122
|
buff.write(@@struct_L.pack(length))
|
|
123
123
|
for val1 in @poses
|
|
124
|
-
|
|
125
|
-
buff.write(@@struct_L.pack(
|
|
126
|
-
|
|
127
|
-
_x =
|
|
124
|
+
_v7 = val1.header
|
|
125
|
+
buff.write(@@struct_L.pack(_v7.seq))
|
|
126
|
+
_v8 = _v7.stamp
|
|
127
|
+
_x = _v8
|
|
128
128
|
buff.write(@@struct_L2.pack(_x.secs, _x.nsecs))
|
|
129
|
-
_x =
|
|
129
|
+
_x = _v7.frame_id
|
|
130
130
|
length = _x.length
|
|
131
131
|
buff.write([length, _x].pack("La#{length}"))
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
_x =
|
|
132
|
+
_v9 = val1.pose
|
|
133
|
+
_v10 = _v9.position
|
|
134
|
+
_x = _v10
|
|
135
135
|
buff.write(@@struct_d3.pack(_x.x, _x.y, _x.z))
|
|
136
|
-
|
|
137
|
-
_x =
|
|
136
|
+
_v11 = _v9.orientation
|
|
137
|
+
_x = _v11
|
|
138
138
|
buff.write(@@struct_d4.pack(_x.x, _x.y, _x.z, _x.w))
|
|
139
139
|
end
|
|
140
140
|
rescue => exception
|
|
@@ -143,10 +143,9 @@ float64 w
|
|
|
143
143
|
end
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
+
# unpack serialized message in str into this message instance
|
|
147
|
+
# @param [String] str: byte array of serialized message
|
|
146
148
|
def deserialize(str)
|
|
147
|
-
# unpack serialized message in str into this message instance
|
|
148
|
-
# @param str: byte array of serialized message
|
|
149
|
-
# @type str: str
|
|
150
149
|
|
|
151
150
|
begin
|
|
152
151
|
if @header == nil
|
|
@@ -168,12 +167,12 @@ float64 w
|
|
|
168
167
|
@poses = []
|
|
169
168
|
length.times do
|
|
170
169
|
val1 = Geometry_msgs::PoseStamped.new
|
|
171
|
-
|
|
170
|
+
_v12 = val1.header
|
|
172
171
|
start = end_point
|
|
173
172
|
end_point += ROS::Struct::calc_size('L')
|
|
174
|
-
(
|
|
175
|
-
|
|
176
|
-
_x =
|
|
173
|
+
(_v12.seq,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
174
|
+
_v13 = _v12.stamp
|
|
175
|
+
_x = _v13
|
|
177
176
|
start = end_point
|
|
178
177
|
end_point += ROS::Struct::calc_size('L2')
|
|
179
178
|
(_x.secs, _x.nsecs,) = @@struct_L2.unpack(str[start..(end_point-1)])
|
|
@@ -182,15 +181,15 @@ float64 w
|
|
|
182
181
|
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
183
182
|
start = end_point
|
|
184
183
|
end_point += length
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
_x =
|
|
184
|
+
_v12.frame_id = str[start..(end_point-1)]
|
|
185
|
+
_v14 = val1.pose
|
|
186
|
+
_v15 = _v14.position
|
|
187
|
+
_x = _v15
|
|
189
188
|
start = end_point
|
|
190
189
|
end_point += ROS::Struct::calc_size('d3')
|
|
191
190
|
(_x.x, _x.y, _x.z,) = @@struct_d3.unpack(str[start..(end_point-1)])
|
|
192
|
-
|
|
193
|
-
_x =
|
|
191
|
+
_v16 = _v14.orientation
|
|
192
|
+
_x = _v16
|
|
194
193
|
start = end_point
|
|
195
194
|
end_point += ROS::Struct::calc_size('d4')
|
|
196
195
|
(_x.x, _x.y, _x.z, _x.w,) = @@struct_d4.unpack(str[start..(end_point-1)])
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
# autogenerated by genmsg_ruby from JointTrajectoryAction.msg. Do not edit.
|
|
2
|
+
require 'ros/message'
|
|
3
|
+
|
|
4
|
+
require "ros/time"
|
|
5
|
+
require "trajectory_msgs/JointTrajectory"
|
|
6
|
+
require "pr2_controllers_msgs/JointTrajectoryActionResult"
|
|
7
|
+
require "pr2_controllers_msgs/JointTrajectoryActionGoal"
|
|
8
|
+
require "ros/duration"
|
|
9
|
+
require "pr2_controllers_msgs/JointTrajectoryResult"
|
|
10
|
+
require "pr2_controllers_msgs/JointTrajectoryFeedback"
|
|
11
|
+
require "std_msgs/Header"
|
|
12
|
+
require "actionlib_msgs/GoalID"
|
|
13
|
+
require "pr2_controllers_msgs/JointTrajectoryActionFeedback"
|
|
14
|
+
require "trajectory_msgs/JointTrajectoryPoint"
|
|
15
|
+
require "actionlib_msgs/GoalStatus"
|
|
16
|
+
require "pr2_controllers_msgs/JointTrajectoryGoal"
|
|
17
|
+
|
|
18
|
+
module Pr2_controllers_msgs
|
|
19
|
+
|
|
20
|
+
class JointTrajectoryAction <::ROS::Message
|
|
21
|
+
def self.md5sum
|
|
22
|
+
"368cde325f76ad543f39a85373230b73"
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def self.type
|
|
26
|
+
"pr2_controllers_msgs/JointTrajectoryAction"
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def has_header?
|
|
30
|
+
false
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def message_definition
|
|
34
|
+
"# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
|
|
35
|
+
|
|
36
|
+
JointTrajectoryActionGoal action_goal
|
|
37
|
+
JointTrajectoryActionResult action_result
|
|
38
|
+
JointTrajectoryActionFeedback action_feedback
|
|
39
|
+
|
|
40
|
+
================================================================================
|
|
41
|
+
MSG: pr2_controllers_msgs/JointTrajectoryActionGoal
|
|
42
|
+
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
|
|
43
|
+
|
|
44
|
+
Header header
|
|
45
|
+
actionlib_msgs/GoalID goal_id
|
|
46
|
+
JointTrajectoryGoal goal
|
|
47
|
+
|
|
48
|
+
================================================================================
|
|
49
|
+
MSG: std_msgs/Header
|
|
50
|
+
# Standard metadata for higher-level stamped data types.
|
|
51
|
+
# This is generally used to communicate timestamped data
|
|
52
|
+
# in a particular coordinate frame.
|
|
53
|
+
#
|
|
54
|
+
# sequence ID: consecutively increasing ID
|
|
55
|
+
uint32 seq
|
|
56
|
+
#Two-integer timestamp that is expressed as:
|
|
57
|
+
# * stamp.secs: seconds (stamp_secs) since epoch
|
|
58
|
+
# * stamp.nsecs: nanoseconds since stamp_secs
|
|
59
|
+
# time-handling sugar is provided by the client library
|
|
60
|
+
time stamp
|
|
61
|
+
#Frame this data is associated with
|
|
62
|
+
# 0: no frame
|
|
63
|
+
# 1: global frame
|
|
64
|
+
string frame_id
|
|
65
|
+
|
|
66
|
+
================================================================================
|
|
67
|
+
MSG: actionlib_msgs/GoalID
|
|
68
|
+
# The stamp should store the time at which this goal was requested.
|
|
69
|
+
# It is used by an action server when it tries to preempt all
|
|
70
|
+
# goals that were requested before a certain time
|
|
71
|
+
time stamp
|
|
72
|
+
|
|
73
|
+
# The id provides a way to associate feedback and
|
|
74
|
+
# result message with specific goal requests. The id
|
|
75
|
+
# specified must be unique.
|
|
76
|
+
string id
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
================================================================================
|
|
80
|
+
MSG: pr2_controllers_msgs/JointTrajectoryGoal
|
|
81
|
+
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
|
|
82
|
+
trajectory_msgs/JointTrajectory trajectory
|
|
83
|
+
|
|
84
|
+
================================================================================
|
|
85
|
+
MSG: trajectory_msgs/JointTrajectory
|
|
86
|
+
Header header
|
|
87
|
+
string[] joint_names
|
|
88
|
+
JointTrajectoryPoint[] points
|
|
89
|
+
================================================================================
|
|
90
|
+
MSG: trajectory_msgs/JointTrajectoryPoint
|
|
91
|
+
float64[] positions
|
|
92
|
+
float64[] velocities
|
|
93
|
+
float64[] accelerations
|
|
94
|
+
duration time_from_start
|
|
95
|
+
================================================================================
|
|
96
|
+
MSG: pr2_controllers_msgs/JointTrajectoryActionResult
|
|
97
|
+
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
|
|
98
|
+
|
|
99
|
+
Header header
|
|
100
|
+
actionlib_msgs/GoalStatus status
|
|
101
|
+
JointTrajectoryResult result
|
|
102
|
+
|
|
103
|
+
================================================================================
|
|
104
|
+
MSG: actionlib_msgs/GoalStatus
|
|
105
|
+
GoalID goal_id
|
|
106
|
+
uint8 status
|
|
107
|
+
uint8 PENDING = 0 # The goal has yet to be processed by the action server
|
|
108
|
+
uint8 ACTIVE = 1 # The goal is currently being processed by the action server
|
|
109
|
+
uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing
|
|
110
|
+
# and has since completed its execution (Terminal State)
|
|
111
|
+
uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)
|
|
112
|
+
uint8 ABORTED = 4 # The goal was aborted during execution by the action server due
|
|
113
|
+
# to some failure (Terminal State)
|
|
114
|
+
uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,
|
|
115
|
+
# because the goal was unattainable or invalid (Terminal State)
|
|
116
|
+
uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing
|
|
117
|
+
# and has not yet completed execution
|
|
118
|
+
uint8 RECALLING = 7 # The goal received a cancel request before it started executing,
|
|
119
|
+
# but the action server has not yet confirmed that the goal is canceled
|
|
120
|
+
uint8 RECALLED = 8 # The goal received a cancel request before it started executing
|
|
121
|
+
# and was successfully cancelled (Terminal State)
|
|
122
|
+
uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be
|
|
123
|
+
# sent over the wire by an action server
|
|
124
|
+
|
|
125
|
+
#Allow for the user to associate a string with GoalStatus for debugging
|
|
126
|
+
string text
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
================================================================================
|
|
130
|
+
MSG: pr2_controllers_msgs/JointTrajectoryResult
|
|
131
|
+
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
|
|
132
|
+
|
|
133
|
+
================================================================================
|
|
134
|
+
MSG: pr2_controllers_msgs/JointTrajectoryActionFeedback
|
|
135
|
+
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
|
|
136
|
+
|
|
137
|
+
Header header
|
|
138
|
+
actionlib_msgs/GoalStatus status
|
|
139
|
+
JointTrajectoryFeedback feedback
|
|
140
|
+
|
|
141
|
+
================================================================================
|
|
142
|
+
MSG: pr2_controllers_msgs/JointTrajectoryFeedback
|
|
143
|
+
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
"
|
|
147
|
+
end
|
|
148
|
+
attr_accessor :action_goal, :action_result, :action_feedback
|
|
149
|
+
|
|
150
|
+
@@struct_L3 = ::ROS::Struct.new("L3")
|
|
151
|
+
@@struct_C = ::ROS::Struct.new("C")
|
|
152
|
+
@@struct_L2 = ::ROS::Struct.new("L2")
|
|
153
|
+
@@struct_l2 = ::ROS::Struct.new("l2")
|
|
154
|
+
|
|
155
|
+
@@struct_L = ::ROS::Struct.new("L")
|
|
156
|
+
@@slot_types = ['pr2_controllers_msgs/JointTrajectoryActionGoal','pr2_controllers_msgs/JointTrajectoryActionResult','pr2_controllers_msgs/JointTrajectoryActionFeedback']
|
|
157
|
+
|
|
158
|
+
# Constructor. You can set the default values using keyword operators.
|
|
159
|
+
#
|
|
160
|
+
# @param [Hash] args keyword for initializing values
|
|
161
|
+
# @option args [pr2_controllers_msgs/JointTrajectoryActionGoal] :action_goal initialize value
|
|
162
|
+
# @option args [pr2_controllers_msgs/JointTrajectoryActionResult] :action_result initialize value
|
|
163
|
+
# @option args [pr2_controllers_msgs/JointTrajectoryActionFeedback] :action_feedback initialize value
|
|
164
|
+
def initialize(args={})
|
|
165
|
+
# message fields cannot be None, assign default values for those that are
|
|
166
|
+
if args[:action_goal]
|
|
167
|
+
@action_goal = args[:action_goal]
|
|
168
|
+
else
|
|
169
|
+
@action_goal = Pr2_controllers_msgs::JointTrajectoryActionGoal.new
|
|
170
|
+
end
|
|
171
|
+
if args[:action_result]
|
|
172
|
+
@action_result = args[:action_result]
|
|
173
|
+
else
|
|
174
|
+
@action_result = Pr2_controllers_msgs::JointTrajectoryActionResult.new
|
|
175
|
+
end
|
|
176
|
+
if args[:action_feedback]
|
|
177
|
+
@action_feedback = args[:action_feedback]
|
|
178
|
+
else
|
|
179
|
+
@action_feedback = Pr2_controllers_msgs::JointTrajectoryActionFeedback.new
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# internal API method
|
|
184
|
+
# @return [String] Message type string.
|
|
185
|
+
def _get_types
|
|
186
|
+
@slot_types
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# serialize message into buffer
|
|
190
|
+
# @param [IO] buff buffer
|
|
191
|
+
def serialize(buff)
|
|
192
|
+
begin
|
|
193
|
+
buff.write(@@struct_L3.pack(@action_goal.header.seq, @action_goal.header.stamp.secs, @action_goal.header.stamp.nsecs))
|
|
194
|
+
_x = @action_goal.header.frame_id
|
|
195
|
+
length = _x.length
|
|
196
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
197
|
+
buff.write(@@struct_L2.pack(@action_goal.goal_id.stamp.secs, @action_goal.goal_id.stamp.nsecs))
|
|
198
|
+
_x = @action_goal.goal_id.id
|
|
199
|
+
length = _x.length
|
|
200
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
201
|
+
buff.write(@@struct_L3.pack(@action_goal.goal.trajectory.header.seq, @action_goal.goal.trajectory.header.stamp.secs, @action_goal.goal.trajectory.header.stamp.nsecs))
|
|
202
|
+
_x = @action_goal.goal.trajectory.header.frame_id
|
|
203
|
+
length = _x.length
|
|
204
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
205
|
+
length = @action_goal.goal.trajectory.joint_names.length
|
|
206
|
+
buff.write(@@struct_L.pack(length))
|
|
207
|
+
for val1 in @action_goal.goal.trajectory.joint_names
|
|
208
|
+
length = val1.length
|
|
209
|
+
buff.write([length, val1].pack("La#{length}"))
|
|
210
|
+
end
|
|
211
|
+
length = @action_goal.goal.trajectory.points.length
|
|
212
|
+
buff.write(@@struct_L.pack(length))
|
|
213
|
+
for val1 in @action_goal.goal.trajectory.points
|
|
214
|
+
length = val1.positions.length
|
|
215
|
+
buff.write(@@struct_L.pack(length))
|
|
216
|
+
pattern = "d#{length}"
|
|
217
|
+
buff.write(*val1.positions.pack(pattern))
|
|
218
|
+
length = val1.velocities.length
|
|
219
|
+
buff.write(@@struct_L.pack(length))
|
|
220
|
+
pattern = "d#{length}"
|
|
221
|
+
buff.write(*val1.velocities.pack(pattern))
|
|
222
|
+
length = val1.accelerations.length
|
|
223
|
+
buff.write(@@struct_L.pack(length))
|
|
224
|
+
pattern = "d#{length}"
|
|
225
|
+
buff.write(*val1.accelerations.pack(pattern))
|
|
226
|
+
_v153 = val1.time_from_start
|
|
227
|
+
_x = _v153
|
|
228
|
+
buff.write(@@struct_l2.pack(_x.secs, _x.nsecs))
|
|
229
|
+
end
|
|
230
|
+
buff.write(@@struct_L3.pack(@action_result.header.seq, @action_result.header.stamp.secs, @action_result.header.stamp.nsecs))
|
|
231
|
+
_x = @action_result.header.frame_id
|
|
232
|
+
length = _x.length
|
|
233
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
234
|
+
buff.write(@@struct_L2.pack(@action_result.status.goal_id.stamp.secs, @action_result.status.goal_id.stamp.nsecs))
|
|
235
|
+
_x = @action_result.status.goal_id.id
|
|
236
|
+
length = _x.length
|
|
237
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
238
|
+
buff.write(@@struct_C.pack(@action_result.status.status))
|
|
239
|
+
_x = @action_result.status.text
|
|
240
|
+
length = _x.length
|
|
241
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
242
|
+
buff.write(@@struct_L3.pack(@action_feedback.header.seq, @action_feedback.header.stamp.secs, @action_feedback.header.stamp.nsecs))
|
|
243
|
+
_x = @action_feedback.header.frame_id
|
|
244
|
+
length = _x.length
|
|
245
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
246
|
+
buff.write(@@struct_L2.pack(@action_feedback.status.goal_id.stamp.secs, @action_feedback.status.goal_id.stamp.nsecs))
|
|
247
|
+
_x = @action_feedback.status.goal_id.id
|
|
248
|
+
length = _x.length
|
|
249
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
250
|
+
buff.write(@@struct_C.pack(@action_feedback.status.status))
|
|
251
|
+
_x = @action_feedback.status.text
|
|
252
|
+
length = _x.length
|
|
253
|
+
buff.write([length, _x].pack("La#{length}"))
|
|
254
|
+
rescue => exception
|
|
255
|
+
raise "some erro in serialize: #{exception}"
|
|
256
|
+
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# unpack serialized message in str into this message instance
|
|
261
|
+
# @param [String] str: byte array of serialized message
|
|
262
|
+
def deserialize(str)
|
|
263
|
+
|
|
264
|
+
begin
|
|
265
|
+
if @action_goal == nil
|
|
266
|
+
@action_goal = Pr2_controllers_msgs::JointTrajectoryActionGoal.new
|
|
267
|
+
end
|
|
268
|
+
if @action_result == nil
|
|
269
|
+
@action_result = Pr2_controllers_msgs::JointTrajectoryActionResult.new
|
|
270
|
+
end
|
|
271
|
+
if @action_feedback == nil
|
|
272
|
+
@action_feedback = Pr2_controllers_msgs::JointTrajectoryActionFeedback.new
|
|
273
|
+
end
|
|
274
|
+
end_point = 0
|
|
275
|
+
start = end_point
|
|
276
|
+
end_point += ROS::Struct::calc_size('L3')
|
|
277
|
+
(@action_goal.header.seq, @action_goal.header.stamp.secs, @action_goal.header.stamp.nsecs,) = @@struct_L3.unpack(str[start..(end_point-1)])
|
|
278
|
+
start = end_point
|
|
279
|
+
end_point += 4
|
|
280
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
281
|
+
start = end_point
|
|
282
|
+
end_point += length
|
|
283
|
+
@action_goal.header.frame_id = str[start..(end_point-1)]
|
|
284
|
+
start = end_point
|
|
285
|
+
end_point += ROS::Struct::calc_size('L2')
|
|
286
|
+
(@action_goal.goal_id.stamp.secs, @action_goal.goal_id.stamp.nsecs,) = @@struct_L2.unpack(str[start..(end_point-1)])
|
|
287
|
+
start = end_point
|
|
288
|
+
end_point += 4
|
|
289
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
290
|
+
start = end_point
|
|
291
|
+
end_point += length
|
|
292
|
+
@action_goal.goal_id.id = str[start..(end_point-1)]
|
|
293
|
+
start = end_point
|
|
294
|
+
end_point += ROS::Struct::calc_size('L3')
|
|
295
|
+
(@action_goal.goal.trajectory.header.seq, @action_goal.goal.trajectory.header.stamp.secs, @action_goal.goal.trajectory.header.stamp.nsecs,) = @@struct_L3.unpack(str[start..(end_point-1)])
|
|
296
|
+
start = end_point
|
|
297
|
+
end_point += 4
|
|
298
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
299
|
+
start = end_point
|
|
300
|
+
end_point += length
|
|
301
|
+
@action_goal.goal.trajectory.header.frame_id = str[start..(end_point-1)]
|
|
302
|
+
start = end_point
|
|
303
|
+
end_point += 4
|
|
304
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
305
|
+
@action_goal.goal.trajectory.joint_names = []
|
|
306
|
+
length.times do
|
|
307
|
+
start = end_point
|
|
308
|
+
end_point += 4
|
|
309
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
310
|
+
start = end_point
|
|
311
|
+
end_point += length
|
|
312
|
+
val1 = str[start..(end_point-1)]
|
|
313
|
+
@action_goal.goal.trajectory.joint_names.push(val1)
|
|
314
|
+
end
|
|
315
|
+
start = end_point
|
|
316
|
+
end_point += 4
|
|
317
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
318
|
+
@action_goal.goal.trajectory.points = []
|
|
319
|
+
length.times do
|
|
320
|
+
val1 = Trajectory_msgs::JointTrajectoryPoint.new
|
|
321
|
+
start = end_point
|
|
322
|
+
end_point += 4
|
|
323
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
324
|
+
pattern = "d#{length}"
|
|
325
|
+
start = end_point
|
|
326
|
+
end_point += ROS::Struct::calc_size("#{pattern}")
|
|
327
|
+
val1.positions = str[start..(end_point-1)].unpack(pattern)
|
|
328
|
+
start = end_point
|
|
329
|
+
end_point += 4
|
|
330
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
331
|
+
pattern = "d#{length}"
|
|
332
|
+
start = end_point
|
|
333
|
+
end_point += ROS::Struct::calc_size("#{pattern}")
|
|
334
|
+
val1.velocities = str[start..(end_point-1)].unpack(pattern)
|
|
335
|
+
start = end_point
|
|
336
|
+
end_point += 4
|
|
337
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
338
|
+
pattern = "d#{length}"
|
|
339
|
+
start = end_point
|
|
340
|
+
end_point += ROS::Struct::calc_size("#{pattern}")
|
|
341
|
+
val1.accelerations = str[start..(end_point-1)].unpack(pattern)
|
|
342
|
+
_v154 = val1.time_from_start
|
|
343
|
+
_x = _v154
|
|
344
|
+
start = end_point
|
|
345
|
+
end_point += ROS::Struct::calc_size('l2')
|
|
346
|
+
(_x.secs, _x.nsecs,) = @@struct_l2.unpack(str[start..(end_point-1)])
|
|
347
|
+
@action_goal.goal.trajectory.points.push(val1)
|
|
348
|
+
end
|
|
349
|
+
start = end_point
|
|
350
|
+
end_point += ROS::Struct::calc_size('L3')
|
|
351
|
+
(@action_result.header.seq, @action_result.header.stamp.secs, @action_result.header.stamp.nsecs,) = @@struct_L3.unpack(str[start..(end_point-1)])
|
|
352
|
+
start = end_point
|
|
353
|
+
end_point += 4
|
|
354
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
355
|
+
start = end_point
|
|
356
|
+
end_point += length
|
|
357
|
+
@action_result.header.frame_id = str[start..(end_point-1)]
|
|
358
|
+
start = end_point
|
|
359
|
+
end_point += ROS::Struct::calc_size('L2')
|
|
360
|
+
(@action_result.status.goal_id.stamp.secs, @action_result.status.goal_id.stamp.nsecs,) = @@struct_L2.unpack(str[start..(end_point-1)])
|
|
361
|
+
start = end_point
|
|
362
|
+
end_point += 4
|
|
363
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
364
|
+
start = end_point
|
|
365
|
+
end_point += length
|
|
366
|
+
@action_result.status.goal_id.id = str[start..(end_point-1)]
|
|
367
|
+
start = end_point
|
|
368
|
+
end_point += ROS::Struct::calc_size('C')
|
|
369
|
+
(@action_result.status.status,) = @@struct_C.unpack(str[start..(end_point-1)])
|
|
370
|
+
start = end_point
|
|
371
|
+
end_point += 4
|
|
372
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
373
|
+
start = end_point
|
|
374
|
+
end_point += length
|
|
375
|
+
@action_result.status.text = str[start..(end_point-1)]
|
|
376
|
+
start = end_point
|
|
377
|
+
end_point += ROS::Struct::calc_size('L3')
|
|
378
|
+
(@action_feedback.header.seq, @action_feedback.header.stamp.secs, @action_feedback.header.stamp.nsecs,) = @@struct_L3.unpack(str[start..(end_point-1)])
|
|
379
|
+
start = end_point
|
|
380
|
+
end_point += 4
|
|
381
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
382
|
+
start = end_point
|
|
383
|
+
end_point += length
|
|
384
|
+
@action_feedback.header.frame_id = str[start..(end_point-1)]
|
|
385
|
+
start = end_point
|
|
386
|
+
end_point += ROS::Struct::calc_size('L2')
|
|
387
|
+
(@action_feedback.status.goal_id.stamp.secs, @action_feedback.status.goal_id.stamp.nsecs,) = @@struct_L2.unpack(str[start..(end_point-1)])
|
|
388
|
+
start = end_point
|
|
389
|
+
end_point += 4
|
|
390
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
391
|
+
start = end_point
|
|
392
|
+
end_point += length
|
|
393
|
+
@action_feedback.status.goal_id.id = str[start..(end_point-1)]
|
|
394
|
+
start = end_point
|
|
395
|
+
end_point += ROS::Struct::calc_size('C')
|
|
396
|
+
(@action_feedback.status.status,) = @@struct_C.unpack(str[start..(end_point-1)])
|
|
397
|
+
start = end_point
|
|
398
|
+
end_point += 4
|
|
399
|
+
(length,) = @@struct_L.unpack(str[start..(end_point-1)])
|
|
400
|
+
start = end_point
|
|
401
|
+
end_point += length
|
|
402
|
+
@action_feedback.status.text = str[start..(end_point-1)]
|
|
403
|
+
return self
|
|
404
|
+
rescue => exception
|
|
405
|
+
raise "message DeserializationError: #{exception}" #most likely buffer underfill
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
end # end of class
|
|
409
|
+
end # end of module
|