l1.5-safety-system/safety_user_plugin/scripts/restrictions.py

8 lines
243 B
Python
Raw Normal View History

2018-09-18 01:46:10 +02:00
#!/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