I was trying to setup on macOS and play around with some examples.
But it gives the following error while running an example - python rps/examples/go_to_point/si_go_to_point.py
Traceback (most recent call last):
File "/Users/dingusagar/fun/robotarium_python_simulator/rps/examples/go_to_point/si_go_to_point.py", line 14, in <module>
r = robotarium.Robotarium(number_of_robots=N, show_figure=True, initial_conditions=initial_conditions, sim_in_real_time=False)
File "/Users/dingusagar/fun/robotarium_python_simulator/rps/robotarium.py", line 16, in __init__
super().__init__(number_of_robots, show_figure, sim_in_real_time, initial_conditions)
File "/Users/dingusagar/fun/robotarium_python_simulator/rps/robotarium_abc.py", line 82, in __init__
p = patches.Rectangle((self.poses[:2, i]+self.robot_length/2*np.array((np.cos(self.poses[2, i]+math.pi/2), np.sin(self.poses[2, i]+math.pi/2)))+\
TypeError: __init__() takes 4 positional arguments but 5 were given
looks like there is some issue with the number of arguments given to matplotlib.patches.Rectangle. Is there a specific version that I have to install to fix it? the same issue is present for matplotlib.patches.Circle too.
I was trying to setup on macOS and play around with some examples. But it gives the following error while running an example -
python rps/examples/go_to_point/si_go_to_point.py
My dependencies output from
pip freeze
.looks like there is some issue with the number of arguments given to matplotlib.patches.Rectangle. Is there a specific version that I have to install to fix it? the same issue is present for matplotlib.patches.Circle too.