rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
|
Public Member Functions | |
__init__ (self, type=0, bool_value=False, integer_value=0, double_value=0.0, string_value="", byte_array_value=None, bool_array_value=None, integer_array_value=None, double_array_value=None, string_array_value=None) | |
get_value (self) | |
Returns raw value according to type. | |
Public Attributes | |
bool_array_value | |
An array of boolean values. | |
bool_value | |
Boolean value, can be either true or false. | |
byte_array_value | |
An array of bytes, used for non-textual information. | |
double_array_value | |
An array of 64-bit floating point values. | |
double_value | |
A double precision floating point value. | |
integer_array_value | |
An array of 64-bit integer values. | |
integer_value | |
Integer value. | |
string_array_value | |
An array of string values. | |
string_value | |
A textual value with no practical length limit. | |
type | |
The type of this parameter, which corresponds to the appropriate field below. | |
Definition at line 162 of file parameter.py.
rosros.rclify.parameter.ParameterValue.__init__ | ( | self, | |
type = 0 , |
|||
bool_value = False , |
|||
integer_value = 0 , |
|||
double_value = 0.0 , |
|||
string_value = "" , |
|||
byte_array_value = None , |
|||
bool_array_value = None , |
|||
integer_array_value = None , |
|||
double_array_value = None , |
|||
string_array_value = None |
|||
) |
Definition at line 163 of file parameter.py.
rosros.rclify.parameter.ParameterValue.get_value | ( | self | ) |
Returns raw value according to type.
Definition at line 187 of file parameter.py.
rosros.rclify.parameter.ParameterValue.bool_array_value |
An array of boolean values.
Definition at line 179 of file parameter.py.
rosros.rclify.parameter.ParameterValue.bool_value |
Boolean value, can be either true or false.
Definition at line 169 of file parameter.py.
rosros.rclify.parameter.ParameterValue.byte_array_value |
An array of bytes, used for non-textual information.
Definition at line 177 of file parameter.py.
rosros.rclify.parameter.ParameterValue.double_array_value |
An array of 64-bit floating point values.
Definition at line 183 of file parameter.py.
rosros.rclify.parameter.ParameterValue.double_value |
A double precision floating point value.
Definition at line 173 of file parameter.py.
rosros.rclify.parameter.ParameterValue.integer_array_value |
An array of 64-bit integer values.
Definition at line 181 of file parameter.py.
rosros.rclify.parameter.ParameterValue.integer_value |
Integer value.
Definition at line 171 of file parameter.py.
rosros.rclify.parameter.ParameterValue.string_array_value |
An array of string values.
Definition at line 185 of file parameter.py.
rosros.rclify.parameter.ParameterValue.string_value |
A textual value with no practical length limit.
Definition at line 175 of file parameter.py.
rosros.rclify.parameter.ParameterValue.type |
The type of this parameter, which corresponds to the appropriate field below.
Definition at line 167 of file parameter.py.