0
$\begingroup$

Gazebo Answers logo

I have a launch file which uses a python script for my simulation, it launches fine, however when I try to implement any of the functions in the simulation, the script continues to crash.

Traceback (most recent call last):
  File "/home/david/DRC-Scratch-Repo/qual_task_1_bdi/scripts/qt1.py", line 674, in <module>
    teleop.run()
  File "/home/david/DRC-Scratch-Repo/qual_task_1_bdi/scripts/qt1.py", line 112, in run
    self.process_key(ch)
  File "/home/david/DRC-Scratch-Repo/qual_task_1_bdi/scripts/qt1.py", line 631, in process_key
    self.process_movement(ch)
  File "/home/david/DRC-Scratch-Repo/qual_task_1_bdi/scripts/qt1.py", line 558, in process_movement
    self.twist(dir["forward"], dir["lateral"], dir["turn"])
  File "/home/david/DRC-Scratch-Repo/qual_task_1_bdi/scripts/qt1.py", line 532, in twist
    walk_msg.walk_params.step_data[x-1] = step
AttributeError: 'AtlasBehaviorWalkParams' object has no attribute 'step_data'
[walking_actionlib_client-2] process has died [pid 9520, exit code 1, cmd /home/david/DRC-Scratch-Repo/qual_task_1_bdi/scripts/qt1.py __name:=walking_actionlib_client __log:=/home/david/.ros/log/a6c0c5f8-f40b-11e2-9a81-a0b3cc4f7a9c/walking_actionlib_client-2.log].
log file: /home/david/.ros/log/a6c0c5f8-f40b-11e2-9a81-a0b3cc4f7a9c/walking_actionlib_client-2*.log

My friend who has an older version of drcsim(1.7) says it runs fine. But when I tried to install the older version after removing my own I got this from this command.

sudo apt-get install drcsim=1.7

E: version 1.7 for drcsim was not found.

So my issue is this, how do I properly install an older version of drcsim, or how can I modify the script to keep it from crashing?

This issue can also be followed on https://bitbucket.org/osrf/drcsim/issue/340/rospython-script-crashing-unable-to

where the script code is available


Originally posted by David Jeang on Gazebo Answers with karma: 34 on 2013-07-29

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Gazebo Answers logo

The following issue is tracking this question:

https://bitbucket.org/osrf/drcsim/issue/340/rospython-script-crashing-unable-to


Originally posted by nkoenig with karma: 7676 on 2013-07-30

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by David Jeang on 2013-10-29:
Issue resolved, downloaded directly from site instead and used the terminal to unpack it.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.