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
|
@@ -105,35 +105,40 @@ float32 std_dev
|
|
|
105
105
|
@@struct_L = ::ROS::Struct.new("L")
|
|
106
106
|
@@slot_types = ['Header','actionlib_msgs/GoalStatus','actionlib_tutorials/AveragingResult']
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
# header,status,result
|
|
116
|
-
#
|
|
117
|
-
# @param args: complete set of field values, in .msg order
|
|
118
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
119
|
-
# to set specific fields.
|
|
120
|
-
#
|
|
121
|
-
|
|
108
|
+
# Constructor. You can set the default values using keyword operators.
|
|
109
|
+
#
|
|
110
|
+
# @param [Hash] args keyword for initializing values
|
|
111
|
+
# @option args [Header] :header initialize value
|
|
112
|
+
# @option args [actionlib_msgs/GoalStatus] :status initialize value
|
|
113
|
+
# @option args [actionlib_tutorials/AveragingResult] :result initialize value
|
|
114
|
+
def initialize(args={})
|
|
122
115
|
# message fields cannot be None, assign default values for those that are
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
116
|
+
if args[:header]
|
|
117
|
+
@header = args[:header]
|
|
118
|
+
else
|
|
119
|
+
@header = Std_msgs::Header.new
|
|
120
|
+
end
|
|
121
|
+
if args[:status]
|
|
122
|
+
@status = args[:status]
|
|
123
|
+
else
|
|
124
|
+
@status = Actionlib_msgs::GoalStatus.new
|
|
125
|
+
end
|
|
126
|
+
if args[:result]
|
|
127
|
+
@result = args[:result]
|
|
128
|
+
else
|
|
129
|
+
@result = Actionlib_tutorials::AveragingResult.new
|
|
130
|
+
end
|
|
126
131
|
end
|
|
127
132
|
|
|
133
|
+
# internal API method
|
|
134
|
+
# @return [String] Message type string.
|
|
128
135
|
def _get_types
|
|
129
|
-
|
|
130
|
-
return @slot_types
|
|
136
|
+
@slot_types
|
|
131
137
|
end
|
|
132
138
|
|
|
139
|
+
# serialize message into buffer
|
|
140
|
+
# @param [IO] buff buffer
|
|
133
141
|
def serialize(buff)
|
|
134
|
-
# serialize message into buffer
|
|
135
|
-
# @param buff: buffer
|
|
136
|
-
# @type buff: StringIO
|
|
137
142
|
begin
|
|
138
143
|
buff.write(@@struct_L3.pack(@header.seq, @header.stamp.secs, @header.stamp.nsecs))
|
|
139
144
|
_x = @header.frame_id
|
|
@@ -154,10 +159,9 @@ float32 std_dev
|
|
|
154
159
|
end
|
|
155
160
|
end
|
|
156
161
|
|
|
162
|
+
# unpack serialized message in str into this message instance
|
|
163
|
+
# @param [String] str: byte array of serialized message
|
|
157
164
|
def deserialize(str)
|
|
158
|
-
# unpack serialized message in str into this message instance
|
|
159
|
-
# @param str: byte array of serialized message
|
|
160
|
-
# @type str: str
|
|
161
165
|
|
|
162
166
|
begin
|
|
163
167
|
if @header == nil
|
|
@@ -36,36 +36,46 @@ float32 std_dev
|
|
|
36
36
|
@@struct_L = ::ROS::Struct.new("L")
|
|
37
37
|
@@slot_types = ['int32','float32','float32','float32']
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
#
|
|
48
|
-
# @param args: complete set of field values, in .msg order
|
|
49
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
50
|
-
# to set specific fields.
|
|
51
|
-
#
|
|
52
|
-
|
|
39
|
+
# Constructor. You can set the default values using keyword operators.
|
|
40
|
+
#
|
|
41
|
+
# @param [Hash] args keyword for initializing values
|
|
42
|
+
# @option args [int32] :sample initialize value
|
|
43
|
+
# @option args [float32] :data initialize value
|
|
44
|
+
# @option args [float32] :mean initialize value
|
|
45
|
+
# @option args [float32] :std_dev initialize value
|
|
46
|
+
def initialize(args={})
|
|
53
47
|
# message fields cannot be None, assign default values for those that are
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
if args[:sample]
|
|
49
|
+
@sample = args[:sample]
|
|
50
|
+
else
|
|
51
|
+
@sample = 0
|
|
52
|
+
end
|
|
53
|
+
if args[:data]
|
|
54
|
+
@data = args[:data]
|
|
55
|
+
else
|
|
56
|
+
@data = 0.0
|
|
57
|
+
end
|
|
58
|
+
if args[:mean]
|
|
59
|
+
@mean = args[:mean]
|
|
60
|
+
else
|
|
61
|
+
@mean = 0.0
|
|
62
|
+
end
|
|
63
|
+
if args[:std_dev]
|
|
64
|
+
@std_dev = args[:std_dev]
|
|
65
|
+
else
|
|
66
|
+
@std_dev = 0.0
|
|
67
|
+
end
|
|
58
68
|
end
|
|
59
69
|
|
|
70
|
+
# internal API method
|
|
71
|
+
# @return [String] Message type string.
|
|
60
72
|
def _get_types
|
|
61
|
-
|
|
62
|
-
return @slot_types
|
|
73
|
+
@slot_types
|
|
63
74
|
end
|
|
64
75
|
|
|
76
|
+
# serialize message into buffer
|
|
77
|
+
# @param [IO] buff buffer
|
|
65
78
|
def serialize(buff)
|
|
66
|
-
# serialize message into buffer
|
|
67
|
-
# @param buff: buffer
|
|
68
|
-
# @type buff: StringIO
|
|
69
79
|
begin
|
|
70
80
|
buff.write(@@struct_lf3.pack(@sample, @data, @mean, @std_dev))
|
|
71
81
|
rescue => exception
|
|
@@ -74,10 +84,9 @@ float32 std_dev
|
|
|
74
84
|
end
|
|
75
85
|
end
|
|
76
86
|
|
|
87
|
+
# unpack serialized message in str into this message instance
|
|
88
|
+
# @param [String] str: byte array of serialized message
|
|
77
89
|
def deserialize(str)
|
|
78
|
-
# unpack serialized message in str into this message instance
|
|
79
|
-
# @param str: byte array of serialized message
|
|
80
|
-
# @type str: str
|
|
81
90
|
|
|
82
91
|
begin
|
|
83
92
|
end_point = 0
|
|
@@ -31,33 +31,28 @@ int32 samples
|
|
|
31
31
|
@@struct_L = ::ROS::Struct.new("L")
|
|
32
32
|
@@slot_types = ['int32']
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
#
|
|
40
|
-
# The available fields are:
|
|
41
|
-
# samples
|
|
42
|
-
#
|
|
43
|
-
# @param args: complete set of field values, in .msg order
|
|
44
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
45
|
-
# to set specific fields.
|
|
46
|
-
#
|
|
47
|
-
|
|
34
|
+
# Constructor. You can set the default values using keyword operators.
|
|
35
|
+
#
|
|
36
|
+
# @param [Hash] args keyword for initializing values
|
|
37
|
+
# @option args [int32] :samples initialize value
|
|
38
|
+
def initialize(args={})
|
|
48
39
|
# message fields cannot be None, assign default values for those that are
|
|
49
|
-
|
|
40
|
+
if args[:samples]
|
|
41
|
+
@samples = args[:samples]
|
|
42
|
+
else
|
|
43
|
+
@samples = 0
|
|
44
|
+
end
|
|
50
45
|
end
|
|
51
46
|
|
|
47
|
+
# internal API method
|
|
48
|
+
# @return [String] Message type string.
|
|
52
49
|
def _get_types
|
|
53
|
-
|
|
54
|
-
return @slot_types
|
|
50
|
+
@slot_types
|
|
55
51
|
end
|
|
56
52
|
|
|
53
|
+
# serialize message into buffer
|
|
54
|
+
# @param [IO] buff buffer
|
|
57
55
|
def serialize(buff)
|
|
58
|
-
# serialize message into buffer
|
|
59
|
-
# @param buff: buffer
|
|
60
|
-
# @type buff: StringIO
|
|
61
56
|
begin
|
|
62
57
|
buff.write(@@struct_l.pack(@samples))
|
|
63
58
|
rescue => exception
|
|
@@ -66,10 +61,9 @@ int32 samples
|
|
|
66
61
|
end
|
|
67
62
|
end
|
|
68
63
|
|
|
64
|
+
# unpack serialized message in str into this message instance
|
|
65
|
+
# @param [String] str: byte array of serialized message
|
|
69
66
|
def deserialize(str)
|
|
70
|
-
# unpack serialized message in str into this message instance
|
|
71
|
-
# @param str: byte array of serialized message
|
|
72
|
-
# @type str: str
|
|
73
67
|
|
|
74
68
|
begin
|
|
75
69
|
end_point = 0
|
|
@@ -32,34 +32,34 @@ float32 std_dev
|
|
|
32
32
|
@@struct_L = ::ROS::Struct.new("L")
|
|
33
33
|
@@slot_types = ['float32','float32']
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
# The available fields are:
|
|
42
|
-
# mean,std_dev
|
|
43
|
-
#
|
|
44
|
-
# @param args: complete set of field values, in .msg order
|
|
45
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
46
|
-
# to set specific fields.
|
|
47
|
-
#
|
|
48
|
-
|
|
35
|
+
# Constructor. You can set the default values using keyword operators.
|
|
36
|
+
#
|
|
37
|
+
# @param [Hash] args keyword for initializing values
|
|
38
|
+
# @option args [float32] :mean initialize value
|
|
39
|
+
# @option args [float32] :std_dev initialize value
|
|
40
|
+
def initialize(args={})
|
|
49
41
|
# message fields cannot be None, assign default values for those that are
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
if args[:mean]
|
|
43
|
+
@mean = args[:mean]
|
|
44
|
+
else
|
|
45
|
+
@mean = 0.0
|
|
46
|
+
end
|
|
47
|
+
if args[:std_dev]
|
|
48
|
+
@std_dev = args[:std_dev]
|
|
49
|
+
else
|
|
50
|
+
@std_dev = 0.0
|
|
51
|
+
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
# internal API method
|
|
55
|
+
# @return [String] Message type string.
|
|
54
56
|
def _get_types
|
|
55
|
-
|
|
56
|
-
return @slot_types
|
|
57
|
+
@slot_types
|
|
57
58
|
end
|
|
58
59
|
|
|
60
|
+
# serialize message into buffer
|
|
61
|
+
# @param [IO] buff buffer
|
|
59
62
|
def serialize(buff)
|
|
60
|
-
# serialize message into buffer
|
|
61
|
-
# @param buff: buffer
|
|
62
|
-
# @type buff: StringIO
|
|
63
63
|
begin
|
|
64
64
|
buff.write(@@struct_f2.pack(@mean, @std_dev))
|
|
65
65
|
rescue => exception
|
|
@@ -68,10 +68,9 @@ float32 std_dev
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
+
# unpack serialized message in str into this message instance
|
|
72
|
+
# @param [String] str: byte array of serialized message
|
|
71
73
|
def deserialize(str)
|
|
72
|
-
# unpack serialized message in str into this message instance
|
|
73
|
-
# @param str: byte array of serialized message
|
|
74
|
-
# @type str: str
|
|
75
74
|
|
|
76
75
|
begin
|
|
77
76
|
end_point = 0
|
|
@@ -147,35 +147,40 @@ int32[] sequence
|
|
|
147
147
|
@@struct_L = ::ROS::Struct.new("L")
|
|
148
148
|
@@slot_types = ['actionlib_tutorials/FibonacciActionGoal','actionlib_tutorials/FibonacciActionResult','actionlib_tutorials/FibonacciActionFeedback']
|
|
149
149
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# action_goal,action_result,action_feedback
|
|
158
|
-
#
|
|
159
|
-
# @param args: complete set of field values, in .msg order
|
|
160
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
161
|
-
# to set specific fields.
|
|
162
|
-
#
|
|
163
|
-
|
|
150
|
+
# Constructor. You can set the default values using keyword operators.
|
|
151
|
+
#
|
|
152
|
+
# @param [Hash] args keyword for initializing values
|
|
153
|
+
# @option args [actionlib_tutorials/FibonacciActionGoal] :action_goal initialize value
|
|
154
|
+
# @option args [actionlib_tutorials/FibonacciActionResult] :action_result initialize value
|
|
155
|
+
# @option args [actionlib_tutorials/FibonacciActionFeedback] :action_feedback initialize value
|
|
156
|
+
def initialize(args={})
|
|
164
157
|
# message fields cannot be None, assign default values for those that are
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
158
|
+
if args[:action_goal]
|
|
159
|
+
@action_goal = args[:action_goal]
|
|
160
|
+
else
|
|
161
|
+
@action_goal = Actionlib_tutorials::FibonacciActionGoal.new
|
|
162
|
+
end
|
|
163
|
+
if args[:action_result]
|
|
164
|
+
@action_result = args[:action_result]
|
|
165
|
+
else
|
|
166
|
+
@action_result = Actionlib_tutorials::FibonacciActionResult.new
|
|
167
|
+
end
|
|
168
|
+
if args[:action_feedback]
|
|
169
|
+
@action_feedback = args[:action_feedback]
|
|
170
|
+
else
|
|
171
|
+
@action_feedback = Actionlib_tutorials::FibonacciActionFeedback.new
|
|
172
|
+
end
|
|
168
173
|
end
|
|
169
174
|
|
|
175
|
+
# internal API method
|
|
176
|
+
# @return [String] Message type string.
|
|
170
177
|
def _get_types
|
|
171
|
-
|
|
172
|
-
return @slot_types
|
|
178
|
+
@slot_types
|
|
173
179
|
end
|
|
174
180
|
|
|
181
|
+
# serialize message into buffer
|
|
182
|
+
# @param [IO] buff buffer
|
|
175
183
|
def serialize(buff)
|
|
176
|
-
# serialize message into buffer
|
|
177
|
-
# @param buff: buffer
|
|
178
|
-
# @type buff: StringIO
|
|
179
184
|
begin
|
|
180
185
|
buff.write(@@struct_L3.pack(@action_goal.header.seq, @action_goal.header.stamp.secs, @action_goal.header.stamp.nsecs))
|
|
181
186
|
_x = @action_goal.header.frame_id
|
|
@@ -223,10 +228,9 @@ int32[] sequence
|
|
|
223
228
|
end
|
|
224
229
|
end
|
|
225
230
|
|
|
231
|
+
# unpack serialized message in str into this message instance
|
|
232
|
+
# @param [String] str: byte array of serialized message
|
|
226
233
|
def deserialize(str)
|
|
227
|
-
# unpack serialized message in str into this message instance
|
|
228
|
-
# @param str: byte array of serialized message
|
|
229
|
-
# @type str: str
|
|
230
234
|
|
|
231
235
|
begin
|
|
232
236
|
if @action_goal == nil
|
|
@@ -105,35 +105,40 @@ int32[] sequence
|
|
|
105
105
|
@@struct_L = ::ROS::Struct.new("L")
|
|
106
106
|
@@slot_types = ['Header','actionlib_msgs/GoalStatus','actionlib_tutorials/FibonacciFeedback']
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
# header,status,feedback
|
|
116
|
-
#
|
|
117
|
-
# @param args: complete set of field values, in .msg order
|
|
118
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
119
|
-
# to set specific fields.
|
|
120
|
-
#
|
|
121
|
-
|
|
108
|
+
# Constructor. You can set the default values using keyword operators.
|
|
109
|
+
#
|
|
110
|
+
# @param [Hash] args keyword for initializing values
|
|
111
|
+
# @option args [Header] :header initialize value
|
|
112
|
+
# @option args [actionlib_msgs/GoalStatus] :status initialize value
|
|
113
|
+
# @option args [actionlib_tutorials/FibonacciFeedback] :feedback initialize value
|
|
114
|
+
def initialize(args={})
|
|
122
115
|
# message fields cannot be None, assign default values for those that are
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
116
|
+
if args[:header]
|
|
117
|
+
@header = args[:header]
|
|
118
|
+
else
|
|
119
|
+
@header = Std_msgs::Header.new
|
|
120
|
+
end
|
|
121
|
+
if args[:status]
|
|
122
|
+
@status = args[:status]
|
|
123
|
+
else
|
|
124
|
+
@status = Actionlib_msgs::GoalStatus.new
|
|
125
|
+
end
|
|
126
|
+
if args[:feedback]
|
|
127
|
+
@feedback = args[:feedback]
|
|
128
|
+
else
|
|
129
|
+
@feedback = Actionlib_tutorials::FibonacciFeedback.new
|
|
130
|
+
end
|
|
126
131
|
end
|
|
127
132
|
|
|
133
|
+
# internal API method
|
|
134
|
+
# @return [String] Message type string.
|
|
128
135
|
def _get_types
|
|
129
|
-
|
|
130
|
-
return @slot_types
|
|
136
|
+
@slot_types
|
|
131
137
|
end
|
|
132
138
|
|
|
139
|
+
# serialize message into buffer
|
|
140
|
+
# @param [IO] buff buffer
|
|
133
141
|
def serialize(buff)
|
|
134
|
-
# serialize message into buffer
|
|
135
|
-
# @param buff: buffer
|
|
136
|
-
# @type buff: StringIO
|
|
137
142
|
begin
|
|
138
143
|
buff.write(@@struct_L3.pack(@header.seq, @header.stamp.secs, @header.stamp.nsecs))
|
|
139
144
|
_x = @header.frame_id
|
|
@@ -157,10 +162,9 @@ int32[] sequence
|
|
|
157
162
|
end
|
|
158
163
|
end
|
|
159
164
|
|
|
165
|
+
# unpack serialized message in str into this message instance
|
|
166
|
+
# @param [String] str: byte array of serialized message
|
|
160
167
|
def deserialize(str)
|
|
161
|
-
# unpack serialized message in str into this message instance
|
|
162
|
-
# @param str: byte array of serialized message
|
|
163
|
-
# @type str: str
|
|
164
168
|
|
|
165
169
|
begin
|
|
166
170
|
if @header == nil
|
|
@@ -76,35 +76,40 @@ int32 order
|
|
|
76
76
|
@@struct_L = ::ROS::Struct.new("L")
|
|
77
77
|
@@slot_types = ['Header','actionlib_msgs/GoalID','actionlib_tutorials/FibonacciGoal']
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
# header,goal_id,goal
|
|
87
|
-
#
|
|
88
|
-
# @param args: complete set of field values, in .msg order
|
|
89
|
-
# @param kwds: use keyword arguments corresponding to message field names
|
|
90
|
-
# to set specific fields.
|
|
91
|
-
#
|
|
92
|
-
|
|
79
|
+
# Constructor. You can set the default values using keyword operators.
|
|
80
|
+
#
|
|
81
|
+
# @param [Hash] args keyword for initializing values
|
|
82
|
+
# @option args [Header] :header initialize value
|
|
83
|
+
# @option args [actionlib_msgs/GoalID] :goal_id initialize value
|
|
84
|
+
# @option args [actionlib_tutorials/FibonacciGoal] :goal initialize value
|
|
85
|
+
def initialize(args={})
|
|
93
86
|
# message fields cannot be None, assign default values for those that are
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
87
|
+
if args[:header]
|
|
88
|
+
@header = args[:header]
|
|
89
|
+
else
|
|
90
|
+
@header = Std_msgs::Header.new
|
|
91
|
+
end
|
|
92
|
+
if args[:goal_id]
|
|
93
|
+
@goal_id = args[:goal_id]
|
|
94
|
+
else
|
|
95
|
+
@goal_id = Actionlib_msgs::GoalID.new
|
|
96
|
+
end
|
|
97
|
+
if args[:goal]
|
|
98
|
+
@goal = args[:goal]
|
|
99
|
+
else
|
|
100
|
+
@goal = Actionlib_tutorials::FibonacciGoal.new
|
|
101
|
+
end
|
|
97
102
|
end
|
|
98
103
|
|
|
104
|
+
# internal API method
|
|
105
|
+
# @return [String] Message type string.
|
|
99
106
|
def _get_types
|
|
100
|
-
|
|
101
|
-
return @slot_types
|
|
107
|
+
@slot_types
|
|
102
108
|
end
|
|
103
109
|
|
|
110
|
+
# serialize message into buffer
|
|
111
|
+
# @param [IO] buff buffer
|
|
104
112
|
def serialize(buff)
|
|
105
|
-
# serialize message into buffer
|
|
106
|
-
# @param buff: buffer
|
|
107
|
-
# @type buff: StringIO
|
|
108
113
|
begin
|
|
109
114
|
buff.write(@@struct_L3.pack(@header.seq, @header.stamp.secs, @header.stamp.nsecs))
|
|
110
115
|
_x = @header.frame_id
|
|
@@ -121,10 +126,9 @@ int32 order
|
|
|
121
126
|
end
|
|
122
127
|
end
|
|
123
128
|
|
|
129
|
+
# unpack serialized message in str into this message instance
|
|
130
|
+
# @param [String] str: byte array of serialized message
|
|
124
131
|
def deserialize(str)
|
|
125
|
-
# unpack serialized message in str into this message instance
|
|
126
|
-
# @param str: byte array of serialized message
|
|
127
|
-
# @type str: str
|
|
128
132
|
|
|
129
133
|
begin
|
|
130
134
|
if @header == nil
|