Class: Nav_msgs::GetMapRequest
- Inherits:
-
ROS::Message
- Object
- ROS::Message
- Nav_msgs::GetMapRequest
- Defined in:
- lib/nav_msgs/GetMap.rb
Constant Summary collapse
- @@struct_L =
::ROS::Struct.new("L")
- @@slot_types =
[]
Class Method Summary collapse
Instance Method Summary collapse
-
#_get_types ⇒ String
internal API method.
-
#deserialize(str) ⇒ Object
unpack serialized message in str into this message instance @param [String] str: byte array of serialized message.
- #has_header? ⇒ Boolean
-
#initialize(args = {}) ⇒ GetMapRequest
constructor
Constructor.
- #message_definition ⇒ Object
-
#serialize(buff) ⇒ Object
serialize message into buffer.
Constructor Details
#initialize(args = {}) ⇒ GetMapRequest
Constructor. You can set the default values using keyword operators.
34 35 |
# File 'lib/nav_msgs/GetMap.rb', line 34 def initialize(args={}) end |
Class Method Details
.md5sum ⇒ Object
8 9 10 |
# File 'lib/nav_msgs/GetMap.rb', line 8 def self.md5sum "d41d8cd98f00b204e9800998ecf8427e" end |
.type ⇒ Object
12 13 14 |
# File 'lib/nav_msgs/GetMap.rb', line 12 def self.type "nav_msgs/GetMapRequest" end |
Instance Method Details
#_get_types ⇒ String
internal API method
39 40 41 |
# File 'lib/nav_msgs/GetMap.rb', line 39 def _get_types @slot_types end |
#deserialize(str) ⇒ Object
unpack serialized message in str into this message instance
@param [String] str: byte array of serialized message
56 57 58 59 60 61 62 63 64 |
# File 'lib/nav_msgs/GetMap.rb', line 56 def deserialize(str) begin end_point = 0 return self rescue => exception raise "message DeserializationError: #{exception}" #most likely buffer underfill end end |
#has_header? ⇒ Boolean
16 17 18 |
# File 'lib/nav_msgs/GetMap.rb', line 16 def has_header? false end |
#message_definition ⇒ Object
20 21 22 23 24 |
# File 'lib/nav_msgs/GetMap.rb', line 20 def " " end |
#serialize(buff) ⇒ Object
serialize message into buffer
45 46 47 48 49 50 51 52 |
# File 'lib/nav_msgs/GetMap.rb', line 45 def serialize(buff) begin pass rescue => exception raise "some erro in serialize: #{exception}" end end |