#!/usr/bin/env python class Restrictions: def __init__(self,restrictions_msg): self.distance = restrictions_msg.distance self.linear_velocity = restrictions_msg.linear_velocity self.angular_velocity = restrictions_msg.angular_velocity