Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

'NoneType' object has no attribute 'animation' / 'animate' #53

#1

Hello,

using klampt for visualizing a simple path, suddenly (literally, yesterday it has worked) vis.animate() does not work. Python tells me that 'NoneType' object has no attribute 'animation' or function 'animate'. Code is mostly Copy&Paste from the Klamp't Manual.

... from klamp import vis
...
vis.init()
...
planner = robotplanning.plan_to_config(world, robot, qgoal)
path = planner.getPath()

traj = trajectory.Trajectory(milestones=path)
traj_timed = trajectory.path_to_trajectory(traj, vmax=2, amax=4)

vis.animate("point", traj_timed)
vis.spin(float('inf'))

I've checked, PyQt5 is installed ("All requested packages are installed"), GULP, too. It is like it's somehow does not know what vis is.
The funny fact is that when I write "vis.a" he recognizes animate().
Is there something I missed?

Thanks for help.

PS: klampt is amazing, really see the possibilities using it at this early stage already!

Greetings!

  • replies 0
  • views 606
  • likes 0