Class: Pr2_controllers_msgs::SingleJointPositionResult

Inherits:
ROS::Message
  • Object
show all
Defined in:
lib/pr2_controllers_msgs/SingleJointPositionResult.rb

Constant Summary collapse

@@struct_L =
::ROS::Struct.new("L")
@@slot_types =
[]

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ SingleJointPositionResult

Constructor. You can set the default values using keyword operators.

Parameters:

  • args (Hash) (defaults to: {})

    keyword for initializing values



34
35
# File 'lib/pr2_controllers_msgs/SingleJointPositionResult.rb', line 34

def initialize(args={})
end

Class Method Details

.md5sumObject



8
9
10
# File 'lib/pr2_controllers_msgs/SingleJointPositionResult.rb', line 8

def self.md5sum
  "d41d8cd98f00b204e9800998ecf8427e"
end

.typeObject



12
13
14
# File 'lib/pr2_controllers_msgs/SingleJointPositionResult.rb', line 12

def self.type
  "pr2_controllers_msgs/SingleJointPositionResult"
end

Instance Method Details

#_get_typesString

internal API method

Returns:

  • (String)

    Message type string.



39
40
41
# File 'lib/pr2_controllers_msgs/SingleJointPositionResult.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/pr2_controllers_msgs/SingleJointPositionResult.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

Returns:

  • (Boolean)


16
17
18
# File 'lib/pr2_controllers_msgs/SingleJointPositionResult.rb', line 16

def has_header?
  false
end

#message_definitionObject



20
21
22
23
24
# File 'lib/pr2_controllers_msgs/SingleJointPositionResult.rb', line 20

def message_definition
  "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======

"
end

#serialize(buff) ⇒ Object

serialize message into buffer

Parameters:

  • buff (IO)

    buffer



45
46
47
48
49
50
51
52
# File 'lib/pr2_controllers_msgs/SingleJointPositionResult.rb', line 45

def serialize(buff)
  begin
    pass
  rescue => exception
    raise "some erro in serialize: #{exception}"

  end
end