#!/usr/bin/env python class RobotInfo: def __init__(self,robot_info_msg): self.robot_id = robot_info_msg.robot_id self.battery_voltage = robot_info_msg.battery_voltage self.linear_velocity = robot_info_msg.linear_velocity self.angular_velocity = robot_info_msg.angular_velocity self.state = robot_info_msg.state self.clutch = robot_info_msg.clutch