Skip to content
Snippets Groups Projects
Commit 44e24e72 authored by Nicolas Mansard's avatar Nicolas Mansard
Browse files

Repared the try/catch on the connection with robotwiever.

parent 0b9e7bd0
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ dt=5e-3
# --- VIEWER -------------------------------------------------------------------
# --- VIEWER -------------------------------------------------------------------
# --- VIEWER -------------------------------------------------------------------
if 1:#try:
try:
import robotviewer
def stateFullSize(robot):
......@@ -59,7 +59,6 @@ if 1:#try:
RobotClass.set = setView
robot.refresh()
try:pass
except:
print "No robot viewer, sorry."
robot.viewer = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment