robotarium / robotarium_python_simulator

A Python simulator for the Robotarium! See your algorithm run on real robots!
MIT License
111 stars 59 forks source link

turning off show figure creates an error in the Robotarium hardware #13

Open chaitanyarajasekhar opened 5 years ago

chaitanyarajasekhar commented 5 years ago

Getting this error when executing the experiment on the Robotarium hardware

Traceback (most recent call last):
    File "main.py", line 239, in <module>
      main()
  File "main.py", line 212, in main
    time_step = ARGS.time_step, show_figure = ARGS.show_figure, Kp = 1, Kd = 0, Ki = 0)
  File "main.py", line 50, in __init__
    self.r = robotarium.Robotarium(number_of_agents= num_agents, show_figure= show_figure, save_data= False, update_time = 1) #, update_time= time_step)
  File "/usr/local/lib/python3.5/dist-packages/rps/robotarium.py", line 24, in __init__
self.boundary_patch.set_visible(False)
AttributeError: 'Robotarium' object has no attribute 'boundary_patch'