def static_build_global_motion_message(): message_header = ROSLinkBridgeTurtlesim.static_build_roslink_header_message( MESSAGE_TYPE.ROSLINK_MESSAGE_GLOBAL_MOTION) global_motion_message = GlobalMotion( message_header, ROSLinkStateVariables.time_boot_ms, ROSLinkStateVariables.x, ROSLinkStateVariables.y, 0, ROSLinkStateVariables.vx, 0, 0, ROSLinkStateVariables.wx, 0, 0, 0, 0, ROSLinkStateVariables.yaw) return global_motion_message.__dict__
def static_build_global_motion_message(): message_header = ROSLinkBridgeGapter.static_build_roslink_header_message( MESSAGE_TYPE.ROSLINK_MESSAGE_GLOBAL_MOTION) global_motion_message = GlobalMotion( message_header, ROSLinkStateVariables.time_boot_ms, ROSLinkStateVariables.x, ROSLinkStateVariables.y, ROSLinkStateVariables.altitude, ROSLinkStateVariables.vx, ROSLinkStateVariables.vy, ROSLinkStateVariables.vz, ROSLinkStateVariables.wx, ROSLinkStateVariables.wy, ROSLinkStateVariables.wz, ROSLinkStateVariables.pitch, ROSLinkStateVariables.roll, ROSLinkStateVariables.yaw) return global_motion_message.__dict__