hello, i want to run shadow_tc example with openai_ros to train the robot to grasp a ball. i can run --roslaunch shadow_gazebo main.launch-- successfully. But when i run --roslaunch my_shadow_tc_openai_example start_training.launch--command, it give me always the erro ----

[ERROR] [1559028912.623890, 23.466000]: NO RESET SIMULATION SELECTED [ERROR] [1559028912.624449, 23.466000]: NOT Initialising Simulation Physics Parameters [WARN] [1559028912.639628, 23.470000]: Start Init ControllersConnection [WARN] [1559028912.640079, 23.470000]: END Init ControllersConnection Traceback (most recent call last): File "/home/wzk/catkin_ws/src/new_start/my_shadow_tc_openai_example/scripts/start_qlearning.py", line 20, in <module> env = gym.make('ShadowTcGetBall-v0') File "/home/wzk/.local/lib/python2.7/site-packages/gym/envs/registration.py", line 167, in make return registry.make(id) File "/home/wzk/.local/lib/python2.7/site-packages/gym/envs/registration.py", line 119, in make env = spec.make() File "/home/wzk/.local/lib/python2.7/site-packages/gym/envs/registration.py", line 86, in make env = cls(*self._kwargs) File "/home/wzk/catkin_ws/src/openai_ros/openai_ros/src/openai_ros/task_envs/shadow_tc/learn_to_pick_ball.py", line 26, in init super(ShadowTcGetBallEnv, self).init() File "/home/wzk/catkin_ws/src/openai_ros/openai_ros/src/openai_ros/robot_envs/shadow_tc_env.py", line 71, in init self._setup_smart_grasper() File "/home/wzk/catkin_ws/src/openai_ros/openai_ros/src/openai_ros/robot_envs/shadow_tc_env.py", line 167, in _setup_smart_grasper self.sgs = SmartGrasper(init_ros_node=False) TypeError: init() got an unexpected keyword argument 'init_ros_node' [shadow_tc_learn_to_pick_ball_qlearn-1] process has died [pid 15143, exit code 1, cmd /home/wzk/catkin_ws/src/new_start/my_shadow_tc_openai_example/scripts/start_qlearning.py name:=shadow_tc_learn_to_pick_ball_qlearn log:=/home/wzk/.ros/log/fee514d0-811a-11e9-ab29-0071cca410ff/shadow_tc_learn_to_pick_ball_qlearn-1.log]. log file: /home/wzk/.ros/log/fee514d0-811a-11e9-ab29-0071cca410ff/shadow_tc_learn_to_pick_ball_qlearn-1.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done

anyone konws about it, thanks!

This question is marked "community wiki".

asked 28 May, 07:42

wuzhenkang111%40gmail.com's gravatar image

wuzhenkang11...
0
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1
×1

question asked: 28 May, 07:42

question was seen: 32 times

last updated: 28 May, 07:42

Related questions

powered by OSQA