ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

siddahuja's profile - activity

2013-11-08 10:31:02 -0500 received badge  Popular Question (source)
2013-11-08 10:31:02 -0500 received badge  Notable Question (source)
2013-11-08 10:31:02 -0500 received badge  Famous Question (source)
2012-11-27 04:54:03 -0500 asked a question Find Rostopic dataType cpp

Hi I am writing a publisher/subscriber for a ros topic, but i would like to find the dataType of the topic programatically (instead of from rostopic info) in the code. Is there a way to query the topic info in c++? A sample code would be much appreciated. thanks sid

2012-10-30 05:38:34 -0500 received badge  Editor (source)
2012-10-30 05:37:56 -0500 answered a question gazebo crash after running plugin

Hi

I have similar issue. I believe this happens when you purposefully shutdown the load up sequence using ctrl-c. Or, while loading you close the terminal window.

Here is the debug info:

roslaunch simBotUnicycle simBotEmptyWorld.launch 
... logging to /home/sid-ros/.ros/log/fa892870-22a5-11e2-b62b-e0b9a546c315/roslaunch-sidros-G53SW-28253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://sidros-G53SW:39098/

SUMMARY
========

PARAMETERS
 * /robot_description
 * /robot_pose_ekf/freq
 * /robot_pose_ekf/imu_used
 * /robot_pose_ekf/odom_used
 * /robot_pose_ekf/publish_tf
 * /robot_pose_ekf/sensor_timeout
 * /robot_pose_ekf/vo_used
 * /robot_state_publisher/publish_frequency
 * /robot_state_publisher/tf_prefix
 * /rosdistro
 * /rosversion
 * /use_sim_time

NODES
  /
    gazebo (gazebo/debug)
    gazebo_gui (gazebo/gui)
    robot_pose_ekf (robot_pose_ekf/robot_pose_ekf)
    robot_state_publisher (robot_state_publisher/state_publisher)
    spawn_robot (gazebo/spawn_model)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[gazebo-1]: started with pid [28276]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[gazebo_gui-2]: started with pid [28287]
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/bin/gzserver...Gazebo multi-robot simulator, version 1.0.2
Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors.
Released under the Apache 2 License.
http://gazebosim.org

(no debugging symbols found)...done.
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[spawn_robot-3]: started with pid [28292]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[robot_state_publisher-4]: started with pid [28296]
[ WARN] [1351611279.372161513]: The root link base_footprint has an inertia specified in the URDF, but KDL does not support a root link with an inertia.  As a workaround, you can add an extra dummy link to your URDF.
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[robot_pose_ekf-5]: started with pid [28323]
Msg Waiting for master
Msg Connected to gazebo master @ http://localhost:11345
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[ INFO] [1351611279.675777569, 1419.993000000]: Initializing Odom sensor
[ INFO] [1351611279.675847860, 1419.993000000]: Odom sensor activated
[ INFO] [1351611279.685996360, 1420.015000000]: Initializing Imu sensor
[ INFO] [1351611279.686059671, 1420.015000000]: Imu sensor activated
[ INFO] [1351611279.690917444, 1420.027000000]: Kalman filter initialized ...
(more)
2011-11-30 22:47:22 -0500 received badge  Supporter (source)
2011-07-06 08:53:57 -0500 asked a question bug: urdf_check and urdf_to_graphiz getrobot.getName(); not evaluating variable robot name in urdf file

There seems to be a bug in how the urdf_check and urdf_to_graphiz handles the name of the robot if its a variable.

Test file: test.xml

<xacro:property name="robot_name" value="test"/>

<robot name="${robot_name}_robot"> <link name="base_link"> <visual> <geometry> <cylinder length="0.6" radius="0.2"/> </geometry> </visual> </link> </robot>

when you try and run: rosrun urdf check_urdf test.xml robot name is: ${robot_name}_robot ---------- Successfully Parsed XML --------------- root Link: base_link has 0 child(ren)

and when you run: rosrun urdf urdf_to_graphiz test.xml , it is unable to capture the robot name from the variable properly and throws an error:

Created file ${robot_name}_robot.gv Error: dot: can't open _robot.gv Created file ${robot_name}_robot.pdf