Gazebo | Ignition | Community
Ask Your Question

Sudip_Gupta's profile - activity

2013-09-19 18:57:52 -0600 received badge  Notable Question (source)
2013-06-03 14:36:44 -0600 received badge  Popular Question (source)
2013-05-27 12:32:48 -0600 asked a question Error post updating and installing nightly packages. locale::facet::_S_create_c_locale name not valid

Hi, I updated my sim to try the damping tutorial for Sandia Hands and DRC Sim wont start thereafter. Error keeping looping and trying to start and spawn the worlds and models. Log can be seen below:

process[rosout-1]: started with pid [9927]
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
[rosout-1] process has died [pid 9927, exit code -6, cmd /opt/ros/fuerte/share/rosout/bin/rosout __name:=rosout __log:=/home/sudip/.ros/log/49d503dc-c584-11e2-ae97-4c809313301c/rosout-1.log].
log file: /home/sudip/.ros/log/49d503dc-c584-11e2-ae97-4c809313301c/rosout-1*.log
respawning...
[rosout-1] restarting process
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored
process[rosout-1]: started with pid [9929]
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
[rosout-1] process has died [pid 9929, exit code -6, cmd /opt/ros/fuerte/share/rosout/bin/rosout __name:=rosout __log:=/home/sudip/.ros/log/49d503dc-c584-11e2-ae97-4c809313301c/rosout-1.log].
log file: /home/sudip/.ros/log/49d503dc-c584-11e2-ae97-4c809313301c/rosout-1*.log
respawning...
[rosout-1] restarting process
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored
2013-05-11 06:42:27 -0600 received badge  Famous Question (source)
2013-05-03 08:23:32 -0600 received badge  Notable Question (source)
2013-04-27 16:54:38 -0600 received badge  Popular Question (source)
2013-04-24 05:49:31 -0600 answered a question DRCsim Atlas robot inverse kinematics

I can suggest you one more way of doing it: 1) Create a publisher in Python which publishes forces to the joints. Joint tutorial using Python can helo you with that. 2) Call another code objects which modifies the joint forces and returns it to the publishing method. 3) Create a class and method for implementing IK using DH matrices. There are many IK implementations available online and those can be called from this interface class as well.

Considering the less amount of time left for DRC, the choice is yours. :)

2013-04-24 04:57:48 -0600 asked a question DRC Sim crashes post installation for 2.4 onwards

Hi, I have been facing crash of DRC Sim ever since the new versions were launched. DRC Sim 2.4 onwards installing on clean 64 bit Ubuntu Quantal and on running the launch file gives the error below: I did solve it last time by installing the libraries but crashed and the same thing started again.

 * /multisense_sl/camera/stereo_proc/approximate_sync
 * /multisense_sl/camera/stereo_proc/disparity_range
 * /multisense_sl_robot_state_publisher/publish_frequency
 * /robot_description
 * /rosdistro
 * /rosversion
 * /tf2_buffer_server/buffer_size
 * /use_sim_time

NODES
  /multisense_sl/camera/
    stereo_proc (stereo_image_proc/stereo_image_proc)
  /
    atlas_robot_state_publisher (robot_state_publisher/state_publisher)
    gazebo (atlas_utils/run_gazebo)
    multisense_sl_robot_state_publisher (robot_state_publisher/state_publisher)
    tf2_buffer_server (tf2_ros/buffer_server)

auto-starting new master
process[master]: started with pid [28022]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 5709e55c-acb8-11e2-931b-4c809313301c
process[rosout-1]: started with pid [28035]
started core service [/rosout]
process[gazebo-2]: started with pid [28049]
process[atlas_robot_state_publisher-3]: started with pid [28051]
process[multisense_sl_robot_state_publisher-4]: started with pid [28052]
process[tf2_buffer_server-5]: started with pid [28068]
[ WARN] [1366791852.298208300]: You've passed in true for auto_start for the C++ action server at [/tf2_buffer_server]. You should always pass in false to avoid race conditions.
process[multisense_sl/camera/stereo_proc-6]: started with pid [28121]
Gazebo multi-robot simulator, version 1.7.1
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Gazebo multi-robot simulator, version 1.7.1
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Msg Waiting for master.Warning [parser.cc:361] Converting a deprecated SDF source[/usr/share/drcsim-2.5/worlds/atlas.world].
Warning [Converter.cc:58]   Version[1.2] to Version[1.4]
  Please use the gzsdf tool to update your SDF files.
    $ gzsdf convert [sdf_file]
Warning [ModelDatabase.cc:299] Getting models from[http://gazebosim.org/models/]. This may take a few seconds.
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[librospack]: error while executing command
terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
  what():  rospack could not find the nodelet package containing nodelet::Nodelet
......[multisense_sl/camera/stereo_proc-6] process has died [pid 28121, exit code -6, cmd /opt/ros/groovy/lib/stereo_image_proc/stereo_image_proc __name:=stereo_proc __log:=/home/sudip/.ros/log/5709e55c-acb8-11e2-931b-4c809313301c/multisense_sl-camera-stereo_proc-6.log].
log file: /home/sudip/.ros/log/5709e55c-acb8-11e2-931b-4c809313301c/multisense_sl-camera-stereo_proc-6*.log
...............Warning [parser.cc:377] SDF has no <sdf> element in file[/usr/share/drcsim-2.5/gazebo_models/atlas_description/atlas/atlas.urdf]
Dbg [pelvis] has no parent joint
Warning [parser_urdf.cc:1158] urdf2gazebo: link[left_camera_optical_frame] has no inertia, parent joint [left_camera_optical_frame_joint] ignored
.Warning [parser_urdf.cc:1163] urdf2gazebo: link[left_camera_optical_frame] has no inertia, not modeled in gazebo
Warning [parser_urdf.cc:1158] urdf2gazebo: link[right_camera_optical_frame] has no inertia, parent joint [right_camera_optical_frame_joint] ignored
.Warning [parser_urdf.cc:1163] urdf2gazebo: link[right_camera_optical_frame] has no inertia, not modeled in gazebo
Warning [parser.cc:286] parse from urdf file [/usr/share/drcsim-2.5/gazebo_models/atlas_description/atlas/atlas.urdf].
Msg Waiting for master
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.0.11
^C[tf2_buffer_server-5] killing on exit
[multisense_sl_robot_state_publisher-4] killing on exit
[atlas_robot_state_publisher-3] killing on exit
[gazebo-2] killing on exit

Error [ConnectionManager.cc ...
(more)