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

hiranya's profile - activity

2015-06-22 00:20:34 -0500 received badge  Famous Question (source)
2013-12-25 15:33:39 -0500 received badge  Critic (source)
2013-12-09 20:47:48 -0500 received badge  Commentator
2013-12-09 20:47:48 -0500 commented question android app as one ros node unfortunately stopped

Please post your error log then others may answer the question . There can be many possibilities.you can use logcat in eclipse.

2013-11-30 08:10:40 -0500 commented question Should I install the turtlebots navigation stack on my workstation?

Did you ssh to turtlebots laptop from your workstation and ran the command?

2013-10-09 00:14:15 -0500 received badge  Self-Learner (source)
2013-10-09 00:14:10 -0500 received badge  Notable Question (source)
2013-04-04 19:22:30 -0500 received badge  Teacher (source)
2013-04-03 05:16:39 -0500 commented answer socket error when starting turtlebot 2

Did you try to build from source and run apps?

2013-04-03 00:38:23 -0500 commented question socket error when starting turtlebot 2

@jorge I manage to run applications except android panorama app(desktop one is working).Do you have any idea? @CarolineQ please upgrade the broken Linux packages of your laptop(turtlebot) then build turtlebot applications by source. then you can run the applications.

2013-04-03 00:28:52 -0500 received badge  Nice Question (source)
2013-04-02 23:59:18 -0500 received badge  Editor (source)
2013-04-02 23:56:25 -0500 answered a question socket error when starting turtlebot 2

Answer second problem: If you installed by USB(pre-oders turtlebot usb have this broken packages) you can upgrade the broken packages. you can check that from synaptic manager and select all the broken packages and upgrade it. Then you can download turtlebot-apps(kobuki_desktop turtlebot turtlebot_apps turtlebot_viz) source then build. make sure you have created udev rule

kobuki's udev rules

. /opt/ros/groovy/setup.bash
rosrun kobuki_ftdi create_udev_rules

you can run the applications except android panorama.

2013-04-02 23:34:09 -0500 commented answer Undefined Reference to boost

you tried target_link_libraries (pose_sensor boost_system) as well, may be boost should install sudo apt-get install libboost-all-dev

2013-04-02 02:12:23 -0500 received badge  Famous Question (source)
2013-04-01 23:58:13 -0500 received badge  Student (source)
2013-04-01 23:54:26 -0500 answered a question Undefined Reference to boost

Add following line to your cmake

rosbuild_link_boost(pose_sensor system)

sorry I deleted my previous answer+ your comment while I was going to edit it.

2013-04-01 06:45:44 -0500 answered a question Undefined Reference to boost

You should link in the libboost_system library. add following line to cmake

target_link_libraries(pose_sensor boost_system)
2013-03-31 06:06:25 -0500 answered a question How can I run simple PCL program?

You should set the startup project that will be launched when you click F5 in Visual Studio. By default, the startup project is ALL_BUILD. right click on the project you want in the solution explorer, and choose "set as startup project".

2013-03-29 19:09:27 -0500 received badge  Notable Question (source)
2013-03-28 22:17:27 -0500 answered a question RoboEarth rosmake error (updated)

You need to install SWI-Prolog library(missing library)

sudo apt-get install swi-prolog

then try to rosmake

2013-03-28 06:17:20 -0500 commented question where can I download the API documentation of ROS

I think it is always updating so its better to refer http://ros.org/doc/api/ (online) version (http://ros.org/doc/fuerte/api/ (fuerte), http://ros.org/doc/groovy/api (groovy)). you can get summarized version form http://www.ros.org/wiki/APIs (here).

2013-03-28 02:02:07 -0500 received badge  Autobiographer
2013-03-27 05:56:45 -0500 commented question socket error when starting turtlebot 2

@jorge : thanks.why dont we have command like "sudo service turtlebot stop" in groovy instead of kill all?

2013-03-26 21:46:18 -0500 received badge  Popular Question (source)
2013-03-26 10:54:16 -0500 received badge  Supporter (source)
2013-03-26 09:01:08 -0500 commented answer RGB To Depth mapping

yes its organized pcl. WIDTH 640* HEIGHT 480 hope you can get an idea from this http://pointclouds.org/documentation/tutorials/pcd_file_format.php about organized PCL.

2013-03-25 21:31:03 -0500 commented answer RGB To Depth mapping
  1. The nan values are value points that Kinect cannot capture depth information everywhere such as reflective surface, light-emitting surfaces etc. 2.There are two types of point clouds organized (get the each pixel number to corresponding 3d information)and unorganized.you need an organized one.
2013-03-25 07:03:14 -0500 answered a question RGB To Depth mapping

You can use topic "/camera/depth_registered/points" and callback function as follows

    void callback(const pcl::PointCloud<pcl::PointXYZRGB>::ConstPtr& msg){
      BOOST_FOREACH (const pcl::PointXYZRGB& pt, msg->points){
         ROS_INFO("\t(%f, %f, %f,%d, %d, %d)\n", pt.x, pt.y, pt.z,pt.r,pt.g,pt.b);
        }

in your main you can subscribe as follows

ros::Subscriber sub = nh.subscribe<pcl::PointCloud<pcl::PointXYZRGB> >("/camera/depth_registered/points", 1, callback);

Then you can get the points with RGB valuse :)

2013-03-25 06:53:23 -0500 commented question RGB To Depth mapping

You can use topic "/camera/depth_registered/points"

2013-03-24 18:24:25 -0500 asked a question socket error when starting turtlebot 2

There is some error messages like this when starting. $roslaunch turtlebot_bringup minimal.launch

Unhandled exception in thread started by <bound method XmlRpcNode.run of <rosgraph.xmlrpc.XmlRpcNode object at 0xb2748ac>>
Traceback (most recent call last):
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 221, in run
    self._run()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 291, in _run
    self._run_init()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 240, in _run_init
    self.server = ThreadingXMLRPCServer((bind_address, port), log_requests)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 121, in __init__
    SimpleXMLRPCServer.__init__(self, addr, SilenceableXMLRPCRequestHandler, log_requests)
  File "/usr/lib/python2.7/SimpleXMLRPCServer.py", line 593, in __init__
    SocketServer.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
  File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
    self.server_bind()
  File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
nodelet: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:69: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 16>::plain_array() [with T = float, int Size = 4, int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(array) & 0xf) == 0 && "this assertion is explained here: " "eigen.tuxfamily.org/dox-devel/TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.
[FATAL] [1364184119.740399921]: Service call failed!
[FATAL] [1364184119.740399911]: Service call failed!
[mobile_base_nodelet_manager-4] process has died [pid 10142, exit code -6, cmd /opt/ros/groovy/lib/nodelet/nodelet manager __name:=mobile_base_nodelet_manager __log:=/home/turtlebot/.ros/log/b9f2cc7e-94f3-11e2-8ee7-446d57b4d698/mobile_base_nodelet_manager-4.log].
log file: /home/turtlebot/.ros/log/b9f2cc7e-94f3-11e2-8ee7-446d57b4d698/mobile_base_nodelet_manager-4*.log
[bumper2pointcloud-8] process has died [pid 10412, exit code 255, cmd /opt/ros/groovy/lib/nodelet/nodelet load kobuki_bumper2pc/Bumper2PcNodelet mobile_base_nodelet_manager bumper2pointcloud/pointcloud:=mobile_base/sensors/bumper_pointcloud bumper2pointcloud/cliff_events:=mobile_base/events/cliff bumper2pointcloud/bumper_events:=mobile_base/events/bumper __name:=bumper2pointcloud __log:=/home/turtlebot/.ros/log/b9f2cc7e-94f3-11e2-8ee7-446d57b4d698/bumper2pointcloud-8.log].
log file: /home/turtlebot/.ros/log/b9f2cc7e-94f3-11e2-8ee7-446d57b4d698/bumper2pointcloud-8*.log
[mobile_base-5] process has died [pid 10158, exit code 255, cmd /opt/ros/groovy/lib/nodelet/nodelet load kobuki_node/KobukiNodelet mobile_base_nodelet_manager mobile_base/odom:=odom mobile_base/enable:=enable mobile_base/disable:=disable mobile_base/joint_states:=joint_states __name:=mobile_base __log:=/home/turtlebot/.ros/log/b9f2cc7e-94f3-11e2-8ee7-446d57b4d698/mobile_base-5.log].
log file: /home/turtlebot/.ros/log/b9f2cc7e-94f3-11e2-8ee7-446d57b4d698/mobile_base-5*.log
2013-03-24 18:21:18 -0500 received badge  Popular Question (source)
2012-10-24 19:41:30 -0500 answered a question ROAR trainer-microphone functionality verification problem?

I change the lines in get_windowed_audio(self) method in alsa_subscriber.py as follows self.audioBuffer = self.audioBuffer[int(self.nremove):]; self.stampBuffer = self.stampBuffer[int(self.nremove):];

it works, Thank you very much ROAR authors.

2012-10-23 10:33:20 -0500 received badge  Organizer (source)
2012-10-23 02:24:21 -0500 asked a question ROAR trainer-microphone functionality verification problem?

Hi, My microphone is working perfectly. But, when I try to run the ROAR trainer program(Tutorial),Could not able to run no 7 option. Could you please help me to configure this? Errors as follows :

-------------------------My console Error---------------------------

===== Audio Learner =====
  1. Estimate background subtraction
  2. Create a new model or open an existing model
  3. Inspect size of currently open model
  4. Learn new model entries
  5. Learn new model entries (continuous mode)
  6. Save current model to file
  7. Test microphone (1.5s)
  8. Quit Select a menu option: 7

Traceback (most recent call last): File "/home/hiranya/ros_workspace/roar_stack/roar/scripts/audio_trainer.py", line 211, in <module> mono = aa.get_audio_chunk(1.5,True); File "/home/hiranya/ros_workspace/roar_stack/roar/scripts/alsa_subscriber.py", line 168, in get_audio_chunk audat = self.get_windowed_audio(); File "/home/hiranya/ros_workspace/roar_stack/roar/scripts/alsa_subscriber.py", line 151, in get_windowed_audio self.audioBuffer = self.audioBuffer[self.nremove:]; TypeError: only integer arrays with one element can be converted to an index [roar/roar_trainer_server-2] process has died [pid 2830, exit code 1]. log files: /home/hiranya/.ros/log/86a1e7e0-1d09-11e2-a989-20cf30f31663/roar-roar_trainer_server-2*.log

---------------log file----------------------------

[rospy.client][INFO] 2012-10-23 19:02:33,212: init_node, name[/roar/roar_trainer_server], pid[2830] [xmlrpc][INFO] 2012-10-23 19:02:33,212: XML-RPC server binding to 0.0.0.0 [xmlrpc][INFO] 2012-10-23 19:02:33,213: Started XML-RPC server [http://hiranya-AIT:37890/] [rospy.init][INFO] 2012-10-23 19:02:33,213: ROS Slave URI: [http://hiranya-AIT:37890/] [rospy.impl.masterslave][INFO] 2012-10-23 19:02:33,213: _ready: http://hiranya-AIT:37890/ [xmlrpc][INFO] 2012-10-23 19:02:33,214: xml rpc node: starting XML-RPC server [rospy.registration][INFO] 2012-10-23 19:02:33,215: Registering with master node http://localhost:11311 [rospy.init][INFO] 2012-10-23 19:02:33,314: registered with master [rospy.rosout][INFO] 2012-10-23 19:02:33,349: initializing /rosout core topic [rospy.rosout][INFO] 2012-10-23 19:02:33,351: connected to core topic /rosout [rospy.simtime][INFO] 2012-10-23 19:02:33,353: /use_sim_time is not set, will not subscribe to simulated time [/clock] topic [rospy.core][INFO] 2012-10-23 19:02:38,747: signal_shutdown [atexit] [rospy.impl.masterslave][INFO] 2012-10-23 19:02:38,753: atexit

Thank you very much.

Best Regards, Hiranya