Exemple #1
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.force = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.moment = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.actuation = VecBuiltInTypeArray(6, messages, np.float64, False)
     self.pwm = VecBuiltInTypeArray(6, messages, np.float64, False)
     self.rpm = VecBuiltInTypeArray(6, messages, np.float64, False)
     self.att_p_gains = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.att_i_gains = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.att_d_gains = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.current_rpy = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.desired_rpy = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.desired_position = VecBuiltInTypeArray(3, messages, np.float64,
                                                 False)
     self.desired_velocity = VecBuiltInTypeArray(3, messages, np.float64,
                                                 False)
     self.desired_omega = VecBuiltInTypeArray(3, messages, np.float64,
                                              False)
     self.error_rpy = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.err_int = VecBuiltInTypeArray(3, messages, np.float64, False)
     self.time_Step = VecBuiltInType(messages, np.float64, False)
     self.quat_error = VecBuiltInTypeArray(3, messages, np.float64, False)
Exemple #2
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.status = VecBuiltInType(messages, np.int8, False)
     self.service = VecBuiltInType(messages, np.uint16, False)
Exemple #3
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.illuminance = VecBuiltInType(messages, np.float64, False)
     self.variance = VecBuiltInType(messages, np.float64, False)
Exemple #4
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.time_ref = VecTime(messages, False)
     self.source = []
Exemple #5
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.type = VecBuiltInType(messages, np.uint8, False)
     self.id = VecBuiltInType(messages, np.uint8, False)
     self.intensity = VecBuiltInType(messages, np.float32, False)
Exemple #6
0
 def __init__(self, messages, bagmsg_length = True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.magnetic_field = VecVector3(messages, False)
     self.magnetic_field_covariance = np.zeros((9, messages), dtype=np.float64)
Exemple #7
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.name = []
     self.offset = VecBuiltInType(messages, np.uint32, False)
     self.datatype = VecBuiltInType(messages, np.uint8, False)
     self.count = VecBuiltInType(messages, np.uint32, False)
Exemple #8
0
 def __init__(self, messages, bagmsg_length = True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.child_frame_id = []
     self.pose = VecPoseWithCovariance(messages, False)
     self.twist = VecTwistWithCovariance(messages, False)
Exemple #9
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.x_offset = VecBuiltInType(messages, np.uint32, False)
     self.y_offset = VecBuiltInType(messages, np.uint32, False)
     self.height = VecBuiltInType(messages, np.uint32, False)
     self.width = VecBuiltInType(messages, np.uint32, False)
     self.do_rectify = VecBuiltInType(messages, np.uint8, False)
Exemple #10
0
 def __init__(self, messages, bagmsg_length=True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.radiation_type = VecBuiltInType(messages, np.uint8, False)
     self.field_of_view = VecBuiltInType(messages, np.float32, False)
     self.min_range = VecBuiltInType(messages, np.float32, False)
     self.max_range = VecBuiltInType(messages, np.float32, False)
     self.range = VecBuiltInType(messages, np.float32, False)
Exemple #11
0
 def __init__(self, messages, bagmsg_length = True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.status = VecNavSatStatus(messages, False)
     self.latitude = VecBuiltInType(messages, np.float64, False)
     self.longitude = VecBuiltInType(messages, np.float64, False)
     self.position_covariance = np.zeros((9, messages), dtype=np.float64)
     self.position_covariance_type = VecBuiltInType(messages, np.uint8, False)
Exemple #12
0
 def __init__(self, messages, bagmsg_length = True):
     if bagmsg_length:
         VecBagMsg.__init__(self, messages)
     else:
         VecBagMsg.__init__(self, 0)
     self.header = VecHeader(messages, False)
     self.orientation = VecQuaternion(messages, False)
     self.orientation_covariance = np.zeros((9, messages), dtype=np.float64)
     self.angular_velocity = VecVector3(messages, False)
     self.angular_velocity_covariance = np.zeros((9, messages), dtype=np.float64)
     self.linear_acceleration = VecVector3(messages, False)
     self.linear_acceleration_covariance = np.zeros((9, messages), dtype=np.float64)