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

salime's profile - activity

2019-10-15 02:12:22 -0500 marked best answer Compute velocities from wheel-encoders for odometry model

I am working with the navigation of a two wheeled robot, I am looking at the odometry tutorial www.ros.org/wiki/navigation/Tutorials/RobotSetup/Odom, in this part:

//compute odometry in a typical way given the velocities of the robot
double dt = (current_time - last_time).toSec();
double delta_x = (vx * cos(th) - vy * sin(th)) * dt;
double delta_y = (vx * sin(th) + vy * cos(th)) * dt;
double delta_th = vth * dt;

x += delta_x;
y += delta_y;

it says "A real odometry system would, of course, integrate computed velocities instead"

so, if I have the velocity readings from the wheel encoders, how can I compute this velocities for the odometry model?

2017-07-20 23:37:43 -0500 received badge  Famous Question (source)
2015-11-02 01:57:14 -0500 marked best answer ROS Fuerte 3D collision avoidance navigation with Kinect

www.ros.org/wiki/3d_navigation link demonstrates a package for obstacle avoidance goal driven navigation. But, it is meant for ROS diamondback.Is there a similar version for ROS fuerte with kinect?The robot type is a non-ROS robot.

2015-06-22 00:58:03 -0500 marked best answer Translate velocity from encoder count per second to meters per second

I am working with a two wheeled robot, and I need the velocity of the wheels in meters per second, I have the encoder count per second, the wheel radius and the wheel distance. How can I translate this to meters per second?

2015-06-22 00:52:31 -0500 marked best answer Odometry model two wheeled robot with kinect

I am trying to implement the navigation with ROS and a two-wheeled robot with Kinect, I have access to the readings of the velocity and pose of the wheel encoders , so I need an odometry motion model . So is there some equation already done for the odometry in ROS that I can use for this purpose? or any person have experience with this topic?

2014-11-04 03:20:45 -0500 received badge  Famous Question (source)
2014-06-19 09:47:43 -0500 received badge  Notable Question (source)
2013-12-12 16:41:14 -0500 received badge  Famous Question (source)
2013-11-26 05:56:10 -0500 received badge  Notable Question (source)
2013-11-18 17:06:31 -0500 received badge  Famous Question (source)
2013-10-30 08:57:42 -0500 received badge  Famous Question (source)
2013-09-23 15:17:54 -0500 received badge  Famous Question (source)
2013-09-17 21:26:15 -0500 received badge  Famous Question (source)
2013-09-16 23:12:22 -0500 received badge  Notable Question (source)
2013-08-29 02:12:38 -0500 received badge  Notable Question (source)
2013-08-25 04:32:43 -0500 received badge  Notable Question (source)
2013-08-12 20:17:33 -0500 received badge  Popular Question (source)
2013-08-10 21:51:40 -0500 received badge  Famous Question (source)
2013-08-10 21:46:55 -0500 received badge  Popular Question (source)
2013-08-06 09:57:09 -0500 commented question map using gmapping Kinect waiting for the map

When I run rosrun tf view_frames... I get this: Listening to /tf for 5.000000 seconds Done Listening dot - graphviz version 2.26.3 (20100126.1600) Detected dot version 2.26.3 frames.pdf generated and when I run rostopic echo /map.... I get nothing.... the terminal is empty

2013-08-02 06:03:19 -0500 commented question map using gmapping Kinect waiting for the map

Yes, in the rostopic, is this list /cloud_throttled /goal /initialpose /kinect_laser/parameter_descriptions /kinect_laser/parameter_updates /map /map_metadata /openni_manager/bond /rosout /rosout_agg /scan /slam_gmapping/entropy /tf .... so the /map topic is there, but in rviz I can not see that topic

2013-08-02 05:45:45 -0500 commented question Navigation stack, rosparam error! [help!]

I have that file, I am completely sure, and the code is readable because it was in the tutorial, so I don't know what else could it be

2013-08-02 00:12:03 -0500 received badge  Famous Question (source)
2013-08-01 13:42:54 -0500 commented question Navigation stack, rosparam error! [help!]

did u solve this??? that thing is happening to me....

2013-07-30 09:29:02 -0500 asked a question map using gmapping Kinect waiting for the map

I am trying to complete the 2D-Navigation with Kinect and a two-wheel robot, when I following this tutorial to build the map http://www.ros.org/wiki/slam_gmapping/Tutorials/MappingFromLoggedData#record.

What I do is the following: 1) I run the pointcloud_to_laserscan: roslaunch pointcloud_to_laserscan kinect_laser.launch which it works, because I ` have proved it before. 2)rosrun rviz rviz 3) rosrun gmapping slam_gmapping scan:=scan (scan is the base_scan topic) 4) rosbag play --clock example.bag, I wait for this to finish and finally rosrun map_server map_saver.

But it says waiting for the map every time.

I use rosrun gmapping slam_gmapping scan:=scan, (being scan my base_scan topic), and

2013-07-26 05:28:21 -0500 received badge  Notable Question (source)
2013-07-25 11:54:19 -0500 received badge  Popular Question (source)
2013-07-24 23:56:14 -0500 received badge  Popular Question (source)
2013-07-24 07:40:24 -0500 received badge  Commentator
2013-07-24 07:40:24 -0500 commented answer PointCloud to LaserScan Kinect

I installed the ros-fuerte-perception-pcl and ros-fuerte-pcl which are the ones most likely similar in name to point cloud, but I keep getting the same result....

2013-07-24 05:58:06 -0500 received badge  Famous Question (source)
2013-07-23 21:54:18 -0500 received badge  Popular Question (source)
2013-07-23 17:12:37 -0500 commented answer PointCloud to LaserScan Kinect

thanks for the reply, could u tell me how can I install it?

2013-07-23 12:32:26 -0500 asked a question Scan topic is not published

I am working with slam_gmapping, and When I launch the pointcloud to laser scan with this file, I do the following steps:

<launch>
  <!-- kinect nodes -->
  <include file="$(find openni_camera)/launch/openni_node.launch"/>

  <!-- openni_manager -->
  <node pkg="nodelet" type="nodelet" name="openni_manager" output="screen" respawn="true" args="manager"/>

  <!-- throttling -->
  <node pkg="nodelet" type="nodelet" name="pointcloud_throttle" args="load pointcloud_to_laserscan/CloudThrottle openni_manager">
    <param name="max_rate" value="2"/>
    <remap from="cloud_in" to="/camera/depth/points"/>
    <remap from="cloud_out" to="cloud_throttled"/>
  </node>

  <!-- fake laser -->
  <node pkg="nodelet" type="nodelet" name="kinect_laser" args="load pointcloud_to_laserscan/CloudToScan openni_manager">
    <param name="output_frame_id" value="/openni_depth_frame"/>
    <remap from="cloud" to="cloud_throttled"/>
  </node>
</launch>

1) After launch the file I open rviz , I set the fixed name to /openni_depth_frame and add a Laser Scan Display.

I followed this tutorial http://answers.ros.org/question/10606/problem-launching-pointcloud-to-laserscan/, and it says that I should see the /scan topic, but I am not able to see it.

How can I solve this?

2013-07-23 08:20:02 -0500 commented answer odometry navigation

I have done some tests in the particular case when vl !=0 and vr != 0, incrementing the x, y, ant theta just in these cases, but the results do not look correct either

2013-07-23 08:17:48 -0500 commented answer odometry navigation

Thank you for your reply, I did that, the R thing, and now looks like the nan is gone, but the final pose (x,y, theta) keeps getting bigger and bigger when I start moving the robot, even though when I stop moving it.. it keeps getting bigger and bigger in the x, y and theta, and of course these values are not correct for the pose

2013-07-23 08:17:12 -0500 received badge  Notable Question (source)
2013-07-23 06:30:00 -0500 received badge  Notable Question (source)
2013-07-23 06:28:59 -0500 commented answer PointCloud to LaserScan Kinect

Thanks for the reply, I am working with ROS Fuerte, Ubuntu 12.04, do I need to use the depthimage_to_laserscan too? Because I saw some posts with that, and I already tried it, but same problem

2013-07-23 04:07:41 -0500 received badge  Popular Question (source)
2013-07-22 11:52:22 -0500 asked a question PointCloud to LaserScan Kinect

I am working with the slam_gmapping, and I have created this launch file, that is mentioned here http://answers.ros.org/question/10606/problem-launching-pointcloud-to-laserscan/, but when I try to run it... this error comes:

[ INFO] [1374529520.364476474]: Initializing nodelet with 8 worker threads.
process[kinect_laser-25]: started with pid [23477]
[ERROR] [1374529520.386493921]: Failed to load nodelet [/pointcloud_throttle] of type [pointcloud_to_laserscan/CloudThrottle]: According to the loaded plugin descriptions the class pointcloud_to_laserscan/CloudThrottle 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_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/debayer image_proc/rectify image_view/disparity image_view/image nodelet_topic_tools/NodeletThrottleString nodelet_tutorial_math/Plus openni_camera/driver pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D 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/SACSegmentation pcl/SACSegmentationFromNormals pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/TestListener pcl/TestPingPong pcl/TestTalker pcl/VFHEstimation pcl/VoxelGrid stereo_image_proc/disparity stereo_image_proc/point_cloud stereo_image_proc/point_cloud2 test_nodelet/ConsoleTest test_nodelet/Plus
[FATAL] [1374529520.386692115]: Service call failed!
[ERROR] [1374529520.400198187]: Failed to load nodelet [/kinect_laser] of type [pointcloud_to_laserscan/CloudToScan]: According to the loaded plugin descriptions the class pointcloud_to_laserscan/CloudToScan 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_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/debayer image_proc/rectify image_view/disparity image_view/image nodelet_topic_tools/NodeletThrottleString nodelet_tutorial_math/Plus openni_camera/driver pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D 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/SACSegmentation pcl/SACSegmentationFromNormals pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/TestListener pcl/TestPingPong pcl/TestTalker pcl/VFHEstimation pcl/VoxelGrid stereo_image_proc/disparity stereo_image_proc/point_cloud stereo_image_proc/point_cloud2 test_nodelet/ConsoleTest test_nodelet/Plus
[FATAL] [1374529520.400328595]: Service call failed!
[pointcloud_throttle-24] process has died [pid 23434, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pointcloud_to_laserscan/CloudThrottle openni_manager cloud_in:=/camera/depth/points cloud_out:=cloud_throttled __name:=pointcloud_throttle __log:=/root/.ros/log/0096b582-f318-11e2-85b3-001d7e0aced1/pointcloud_throttle-24.log].
log file: /root/.ros/log/0096b582-f318-11e2-85b3-001d7e0aced1/pointcloud_throttle-24*.log
[kinect_laser-25] process has died [pid 23477, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pointcloud_to_laserscan/CloudToScan openni_manager cloud:=cloud_throttled __name:=kinect_laser __log:=/root/.ros/log/0096b582-f318-11e2-85b3-001d7e0aced1/kinect_laser-25.log].
log file: /root/.ros/log/0096b582-f318-11e2-85b3-001d7e0aced1/kinect_laser-25*.log
[ERROR] [1374529520.973861837]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressedDepth/set_parameters]
[ERROR] [1374529520.987485340]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressed/set_parameters]
[ERROR] [1374529521.000773838]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/theora/set_parameters]
[ INFO] [1374529521.770846682]: Number devices connected: 1
[ INFO] [1374529521.771127177]: 1. device on bus 002:10 is a Xbox NUI Camera (2ae) from Microsoft (45e ...
(more)
2013-07-22 11:35:02 -0500 marked best answer odometry navigation

I want to implement the navigation in a two wheeled robot with the ROS navigation-package using Kinect , How can I calculate the odometry if I have the radius, the wheeled distance, the poses and the velocity of the wheels???