Commit 4b1504b4 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by olivier stasse

[prologue.py] Define sys.argv

  sys.argv is not defined by the remote interpreter. This makes rospy fail.
parent 598d07bb
......@@ -17,6 +17,11 @@ print("Prologue Pyrene TALOS Robot")
from dynamic_graph.entity import PyEntityFactoryClass
from dynamic_graph.sot.pyrene.robot import Robot
# sys.argv is not defined when running the remove interpreter, but it is
# required by rospy
import sys
if not hasattr (sys, 'argv'):
sys.argv = "dynamic_graph"
# Create the device.
# This entity behaves exactly like robotsimu except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment