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

hemant T's profile - activity

2018-05-25 04:52:27 -0500 received badge  Famous Question (source)
2016-07-28 09:42:09 -0500 received badge  Famous Question (source)
2016-05-11 07:44:02 -0500 received badge  Famous Question (source)
2016-05-11 07:44:02 -0500 received badge  Notable Question (source)
2016-01-24 15:54:12 -0500 received badge  Notable Question (source)
2016-01-23 09:35:38 -0500 received badge  Famous Question (source)
2016-01-11 11:01:28 -0500 commented answer rosserial_xbee Unable to sync with device

Hello K1B3, I am facing exact same problem and I am using same ROS version and Ubantu as you. Here is the problem I reported. http://answers.ros.org/question/22303.. . Please help me understand what you did to solve this issue. Appreciate it. Thanks.

2016-01-11 11:00:42 -0500 commented question rosserial_xbee Unable to sync with device

Hello K1B3, I am facing exact same problem and I am using same ROS version and Ubantu as you. Here is the problem I reported. http://answers.ros.org/question/22303... Please help me understand what you did to solve this issue. Appreciate it.

Thanks.

2016-01-11 09:07:25 -0500 received badge  Famous Question (source)
2016-01-10 20:04:42 -0500 received badge  Notable Question (source)
2016-01-10 10:02:18 -0500 commented question ROS Serial Xbee - Unable to sync with device

Yes we can transmit and receive data. Verified using XCTU. Also when I start xbee_network.py from the machine where coordinator is connected, we see that it send some frame data to node Xbee. But we do not get any response from NodeXB back . Could it be something to do with baud rate ?

2016-01-03 17:16:46 -0500 commented question robot_upstart not finding install_script

Any one have more insight into this problem. Really appreciate your help.

2016-01-03 17:15:30 -0500 received badge  Popular Question (source)
2016-01-01 17:44:25 -0500 received badge  Notable Question (source)
2016-01-01 17:03:40 -0500 answered a question ROS Serial Xbee - Unable to sync with device

Wondering if any one have seen this error and know little bit more about this.

2015-12-26 18:45:16 -0500 asked a question robot_upstart not finding install_script

I need to start ros launch file at machine startup .

We are using Ubilinux on Intel/Edison. We are using ROS:

  • /rosdistro: indigo
  • /rosversion: 1.11.13

I am trying to follow these instructions http://docs.ros.org/api/robot_upstart... I have downloaded code from https://github.com/clearpathrobotics/... branch indigo-devel

Here is how my folder looks

hemant@127:~/catkin_ws/src/robot_upstart/src/robot_upstart$ ls -ltr 
total 36
-rw-rw-r-- 1 hemant hemant 2408 Dec 26 16:06 uninstall_script.py
-rw-rw-r-- 1 hemant hemant 6667 Dec 26 16:06 providers.py
-rw-rw-r-- 1 hemant hemant 9173 Dec 26 16:06 job.py
-rw-rw-r-- 1 hemant hemant 4814 Dec 26 16:06 install_script.py
-rw-rw-r-- 1 hemant hemant 1663 Dec 26 16:06 __init__.py

Following shows command I ran.

hemant@127:~/catkin_ws$ catkin_make
hemant@127:~/catkin_ws$ catkin_make install
hemant@127:~/catkin_ws$ source ~/catkin_ws/devel/setup.bash

Now creating a job

hemant@127:~/catkin_ws$ rosrun robot_upstart install myrobot mybotpackage/test.launch
Traceback (most recent call last):
  File "/home/hemant/catkin_ws/src/robot_upstart/scripts/install", line 29, in <module>
    from robot_upstart.install_script import main
ImportError: No module named robot_upstart.install_script

Question : Why it is not able to find robot_upstart.install_script ?

Thanks, Hemant

2015-12-24 15:29:49 -0500 received badge  Popular Question (source)
2015-12-23 17:06:12 -0500 asked a question ROS Serial Xbee - Unable to sync with device

I see this error when I run my coordinator xbee USB to connect to device Xbee.

Contacting Xbees :

[ERROR] [WallTime: 1450911586.913302] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

It used to work one day earlier and we have not changed any software version/code

This is how I am trying to connect

~/catkin_ws$ rosrun rosserial_xbee xbee_network.py /dev/ttyUSB6   3

/dev/ttyUSB6: This is where coordinator with address 0 is pluged in.

I did check in XCTU that it has same Channel, PAN id and baud rate 57600

I did try to change usb cables, but did not help We are using sparkfun explorer I am using Xbee S1.

2015-11-05 18:32:39 -0500 received badge  Notable Question (source)
2015-11-05 17:54:02 -0500 answered a question reading parameter in c

Based on suggestion above following code works. and I also set parameter at command line _my_number:=5

ros::NodeHandle nh_param("~");
int my_number;
nh_param.param("my_number", my_number ,int(0));

Thanks, Hemant

2015-11-05 15:15:45 -0500 received badge  Enthusiast
2015-11-04 06:24:35 -0500 received badge  Popular Question (source)
2015-11-04 01:42:31 -0500 asked a question reading parameter in c

Hello, I am trying to read parameters in my program based on this example http://wiki.ros.org/Parameter%20Server

Here is code snippet

std::string my_number;
nh_.getParam("my_number",my_number);

ROS_INFO("\n My Number %s",my_number.c_str());

And I am calling like this rosrun mypkg my_node my_number:=5

This value is not getting read.

Please help, how can I read in my C program.

Thanks, Hemant

2015-10-22 05:52:09 -0500 received badge  Popular Question (source)
2015-10-20 23:10:11 -0500 received badge  Scholar (source)
2015-10-20 23:08:49 -0500 asked a question Not able to find rosbridge_server

Hello, I am new to use zbar_ros package. I can use zbarcam independently and read QR code using this command zbarcam --raw /dev/video1.

I am on ros indigo and ubantu 14.04

Now I am trying to use zbar_ros to read QR code from by webcam at /dev/video1. My goal is to read the qr code and save in local file or database.

Here is the launch file, I am sure I am missing something here. Please advise.

sudo vi  /opt/ros/indigo/share/zbar_ros/launch/sample-roszbar.launch

<?xml version="1.0"?>
<launch>
<node pkg="nodelet" type="nodelet" name="zbar_manager" args="manager"/>
<!-- Example camera launch -->
<node pkg="nodelet" type="nodelet" name="uvc_camera" output="screen" args="load uvc_camera/CameraNodelet zbar_manager">

<param name="device" type="string"  value="/dev/video1"/>
</node>
<!--<node pkg="nodelet" type="nodelet" name="barcode_reader" args="load zbar_ros/barcode_reader_nodelet zbar_manager">-->
<!--<param name="throttle_repeated_barcodes" type="double" value="2.0"/>-->
<!--</node>-->
<node pkg="zbar_ros" type="barcode_reader_node" name="barcode_reader">
<param name="throttle_repeated_barcodes" type="double" value="2.0"/>
</node>
</launch>

Here is how I am launching it.

roslaunch zbar_ros  sample-roszbar.launch

Here is the error I get

started roslaunch server http://192.168.1.149:47556/

SUMMARY
========

PARAMETERS
 * /barcode_reader/throttle_repeated_barcodes: 2.0
 * /rosdistro: indigo
 * /rosversion: 1.11.13
 * /uvc_camera/device: /dev/video1

NODES
  /
    barcode_reader (zbar_ros/barcode_reader_node)
    uvc_camera (nodelet/nodelet)
    zbar_manager (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[zbar_manager-1]: started with pid [5653]
process[uvc_camera-2]: started with pid [5654]
[ INFO] [1445397784.366668437]: Loading nodelet /uvc_camera of type uvc_camera/CameraNodelet to manager zbar_manager with the following remappings:
process[barcode_reader-3]: started with pid [5687]

[ERROR] [1445397784.416193993]: Failed to load nodelet [/uvc_camera] of type [uvc_camera/CameraNodelet] even after refreshing the cache: **According to the loaded plugin descriptions the class uvc_camera/CameraNodelet with base class type nodelet::Nodelet does not exist**. Declared types are  depth_image_proc/convert_metric depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyz_radial depth_image_proc/point_cloud_xyzi depth_image_proc/point_cloud_xyzi_radial depth_image_proc/point_cloud_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/debayer image_proc/rectify image_rotate/image_rotate image_view/disparity image_view/image nodelet_tutorial_math/Plus pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB pcl/PCDReader pcl/PCDWriter pcl/PFHEstimation pcl/PassThrough pcl/PointCloudConcatenateDataSynchronizer pcl/PointCloudConcatenateFieldsSynchronizer pcl/PrincipalCurvaturesEstimation pcl/ProjectInliers pcl/RadiusOutlierRemoval pcl/SACSegmentation pcl/SACSegmentationFromNormals pcl/SHOTEstimation pcl/SHOTEstimationOMP pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/VFHEstimation pcl/VoxelGrid pointcloud_to_laserscan/pointcloud_to_laserscan_nodelet stereo_image_proc/disparity stereo_image_proc/point_cloud2 zbar_ros/barcode_reader_nodelet
[ERROR] [1445397784.416298624]: The error before refreshing the cache was: According to the loaded plugin descriptions the class uvc_camera/CameraNodelet with base class type nodelet::Nodelet does not exist. Declared types are  depth_image_proc/convert_metric depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyz_radial depth_image_proc/point_cloud_xyzi depth_image_proc/point_cloud_xyzi_radial depth_image_proc/point_cloud_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/debayer image_proc/rectify image_rotate/image_rotate image_view/disparity image_view/image nodelet_tutorial_math/Plus pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB ...
(more)
2015-10-19 09:25:49 -0500 received badge  Popular Question (source)
2015-10-17 12:34:44 -0500 asked a question zbar_ros how to install

Hello, My goal is to read qr code from video camera stream. I am first time trying to install zbar_ros. I am looking for tutorial to configure and install zbar_ros on Ubantu 14.04 . I did look at http://wiki.ros.org/zbar_ros but there wasn't enough instructions to install.

Please point me to instructions if they are available somewhere.

I have also read that this package can read video stream directly. So we do not need to install openCV. Thanks, Hemant