We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 457b408 commit 0ec5681Copy full SHA for 0ec5681
PathPlanning/DynamicWindowApproach/dynamic_window_approach.py
@@ -59,6 +59,15 @@ def __init__(self):
59
self.robot_width = 0.5 # [m] for collision check
60
self.robot_length = 1.2 # [m] for collision check
61
62
+ @property
63
+ def robot_type(self):
64
+ return self._robot_type
65
+
66
+ @robot_type.setter
67
+ def robot_type(self, value):
68
+ if not isinstance(value, RobotType):
69
+ raise TypeError("robot_type must be an instance of RobotType")
70
+ self._robot_type = value
71
72
def motion(x, u, dt):
73
"""
0 commit comments