tud-amr / fabrics

Optimization fabrics for behavior design
GNU General Public License v3.0
53 stars 8 forks source link

Bug in point_robot_passage due to command line argument #99

Open maxspahn opened 1 year ago

maxspahn commented 1 year ago

Mentioned in #96

For the file point robot urdf passage, In the file point_robot_urdf_passage, the following code doesn't work, producing error messages regardless of whether the value is 0 or 1. Modifying the line to res = run_point_robot_urdf(n_steps=6000, render=True) seems to make it work fine. import sys res = run_point_robot_urdf(n_steps=6000, render=bool(int(sys.argv[1])))

If no command line argument is passed, rendering should be activated.