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.

glprogram.py error inside #28

#1

/usr/local/bin/python3.7 /Users/wanxin/Documents/Python/Klampt-examples/Python3/demos/w_gl_vis.py
*** klampt.vis: using Qt5 as the visualization backend ***
RobParser: Reading robot file ../../data/robots/huboplus/huboplus_col.rob...
RobParser: Parsing robot file, 63 links read...
RobParser: Loaded geometries in time 0.175471s, 87640 total primitive elements
RobParser: Done loading robot file ../../data/robots/huboplus/huboplus_col.rob
ODESimulator: Initializing ODE...
Initializing simulation...
WorldSimulator: Creating WorldSimulation
ODESimulator: ODERobot: Warning, robot joint limits on joint 3 (link Body_LSP) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 4 (link Body_LSR) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 5 (link Body_LSY) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 7 (link Body_LWY) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 24 (link Body_RSP) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 25 (link Body_RSR) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 26 (link Body_RSY) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 28 (link Body_RWY) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
ODESimulator: ODERobot: Warning, robot joint limits on joint 45 (link Body_Hip) are close to [-pi,pi].
ODESimulator: Due to ODE joint stop handling quirks this may cause the robot to flip out
ODESimulator: Turn off USE_JOINT_STOPS in Klampt/Simulation/Settings.h if this becomes an issue
WorldSimulator: Done.
XmlParser: RobotSensors::LoadSettings: loaded 13 sensors from XML
Done
Reading simulation settings...
XmlParser: Parsing simulation settings...
Parsing globals...
Parsing element globals
Parsing element robot
Parsing element robot
XmlParser: Parsing robot controllers / sensors
Parsing state
Done
INITIALIZING Qt BACKEND
vis: creating GL window
INITIALIZING Qt BACKEND
######### QGLWidget setProgram ###############
#########################################
klampt.vis: Making window 0
#########################################
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/klampt/vis/qtbackend.py", line 389, in resizeEvent
self.program.reshapefunc(self.width,self.height)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/klampt/vis/glprogram.py", line 547, in reshapefunc
plugin.reshapefunc(w,h)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/klampt/vis/glprogram.py", line 243, in reshapefunc
self.refresh()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/klampt/vis/glprogram.py", line 224, in refresh
self.window.refresh()
AttributeError: 'NoneType' object has no attribute 'refresh'

  • replies 0
  • views 2K
  • likes 0