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

hdbot's profile - activity

2020-10-17 07:54:18 -0500 received badge  Famous Question (source)
2020-04-21 17:16:48 -0500 received badge  Notable Question (source)
2020-04-21 17:16:48 -0500 received badge  Famous Question (source)
2020-04-21 17:16:48 -0500 received badge  Popular Question (source)
2020-03-17 08:34:33 -0500 received badge  Famous Question (source)
2019-09-06 18:29:01 -0500 received badge  Famous Question (source)
2019-09-03 21:05:38 -0500 received badge  Notable Question (source)
2019-08-11 12:43:08 -0500 received badge  Famous Question (source)
2019-07-22 03:35:30 -0500 received badge  Famous Question (source)
2019-07-22 02:11:06 -0500 received badge  Popular Question (source)
2019-05-27 08:40:29 -0500 received badge  Famous Question (source)
2019-04-10 08:48:22 -0500 received badge  Notable Question (source)
2019-03-26 11:31:25 -0500 commented answer How to create a costmap layer to avoid downward stairs

@Jean_jierrre, have you figured out the solutions? I am having same problem as you for using depth_nav_tools

2019-03-26 11:26:33 -0500 commented answer Stairs' detection and avoidance using nav2d

@gerson_n were you able to apply it?

2019-03-26 11:23:05 -0500 edited question cliff_detector not working

cliff_detector not working Hello, I am trying to detect down the stairs as an obstacle. I am using depth_nav_tools for

2019-03-26 11:20:22 -0500 edited question cliff_detector not working

cliff_detector not working Hello, I am trying to detect downstair as an obstacle. I am using depth_nav_tools for doing

2019-03-26 11:17:54 -0500 edited answer cliff_detector not working

The issue gets temporarily fixed, just have to open the cliff_detector and depth_pose in the rviz. I am able to connect

2019-03-26 11:16:16 -0500 answered a question cliff_detector not working

The issue gets fixed, just have to open the cliff_detector and depth_pose in the rviz.

2019-03-26 11:13:58 -0500 marked best answer SLAM Gmapping map to odom remapping error

Hello,

I am trying to perform slam_gmapping for my project, and using filtered odometry obtained using ekf. However, the tf_tree shows that map->odom (this is for slam_gmapping), and second side of the tree has map->/odometry/filtered (this is ekf odometry).

I am attaching my file which classifies tfs, and the tf diagram I got while running the system. I have remapped odom->/odometry/filtered in the slam_gmapping section of the code, but seems like it is not being activated. Currently, no map is being received.

Can anyone tell me how to fix it so I can map the environment using the filtered odometry from ekf for gmapping?

This is the tf when the code runs first time: C:\fakepath\tf.png

This is the tf I get after waiting few minutes and finding the tf: C:\fakepath\frames.png

Code:

<launch> 

  <arg name="frame_id"                default="/base_link" />
  <arg name="rgb_topic"               default="/zed/rgb/image_rect_color" />
  <arg name="depth_topic"             default="/zed/depth/depth_registered" />
  <arg name="camera_info_topic"       default="/zed/rgb/camera_info" />
  <arg name="imu_topic"               default="/imu/data" />
  <arg name="imu_ignore_acc"          default="true" />
  <arg name="imu_remove_gravitational_acceleration" default="false" />
  <arg name="wheelchair"          default="/odom"/>
  <arg name="rtabmap_args"            default=""/>

<!--Wheelchair Launch-->

<node pkg="roboteq_driver" type="driver_node" name="roboteq_driver" output="screen">
    <!-- enable broadcast of odom tf -->
    <param name="pub_odom_tf" value="true" />
    <!-- specify odom frame -->
    <param name="odom_frame" value="odom" />
    <!-- specify base frame -->
    <param name="base_frame" value="wheelchair_base" />
    <!-- specify cmd_vel topic -->
    <param name="cmdvel_topic" value="cmd_vel" />
    <!-- specify port for roboteq controller -->
    <param name="port" value="/dev/ttyACM0" />
    <!-- specify baud for roboteq controller -->
    <param name="baud" value="115200" />
    <!-- specify whether to use open-loop motor speed control (as opposed to closed-loop)-->
    <param name="open-loop" value="false" />
    <!-- specify robot wheel circumference in meters  -->
    <param name="wheel_circumference" value="0.3429" />
    <!-- specify robot track width in meters  -->
    <param name="track_wdith" value="0.5715" />
    <!-- specify pulse-per-revolution for motor encoders  -->
    <param name="encoder_ppr" value="900" />
    <!-- specify counts-per-revolution for motor encoders (ppr*4 for quadrature encoders)  -->
    <param name="encoder_cpr" value="3600" />
</node>

<!--Zed Camera Launch-->

<group ns="zed">
    <node name="zed_wrapper_node" pkg="zed_wrapper" type="zed_wrapper_node" />
</group>

<!-- Depth_image to Laser_Scan -->
<node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="depthimage_to_laserscan">
        <param name="scan_height" value="100"/>
        <param name="output_frame_id" value="/base_frame"/>
        <param name="range_min" value="0.3"/>
        <param name="range_max" value="60"/>
        <remap from="image" to="/zed/depth/image_rect_color"/>
    <remap from="scan" to ="/scan"/>
 </node>


<!-- Laser Scan Match -->
<node pkg="laser_scan_matcher" type="laser_scan_matcher_node" name="laser_scan_matcher_node" output="screen">

    <param name="fixed_frame" value = "odom"/>
    <param name="base_frame" value="base_link"/>
    <param name="use_alpha_beta" value="false"/>
    <param name="use_odom" value="false"/>
    <param name="use_imu" value="false"/>
    <param name="max_iterations" value="10"/>
    <param name="publish_pose" value="true"/>
    <param name="publish_tf" value="true"/>
    <param name="use_vel" value="false"/>

 </node>

<!-- IMU: MPU6050 Launch -->
<node pkg="mpu6050_serial_to_imu" type="mpu6050_serial_to_imu_node" name="mpu6050_serial_to_imu_node">
      <param name="frame_id"                       value="imu_link"/>
      <param name="remove_gravitational_acceleration" type="bool" value="true"/>
</node>

<!-- Static Transform (TF) -->

<!--<node pkg="tf" type="static_transform_publisher" name="wheelchair_base" args=" 0.0 0.0 0.0 0 0 0  /map /odometry/filtered 100" /> -->
<node pkg="tf" type="static_transform_publisher" name="wheelchair" args=" -9.0 ...
(more)
2019-03-26 11:12:16 -0500 received badge  Popular Question (source)
2019-03-26 08:07:09 -0500 marked best answer scaning error for Laser Scan Matcher

Hello,

I am using ZED camera and the wheel odometry, fused together with robot_localization. My code uses laser_scan_matcher with gmapping to build the map of the environment. I am using deptimage_to_laserscan to convert 3D point cloud to 2D laser scan.

    <launch>

<!--EKF Launch -->
<include file="$(find robot_localization)/launch/EKF_Odom.launch" />

<!--Zed Camera Launch -->
<include file="$(find zed_wrapper)/launch/zed.launch" />

<arg name="base_frame"              default="zed_camera_center"/>


<!-- Depth_image to Laser_Scan -->
<node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="depthimage_to_laserscan">
        <param name="scan_height" value="100"/>
        <param name="output_frame_id" value="$(arg base_frame)"/>
        <param name="range_min" value="0.3"/>
        <param name="range_max" value="60"/>
        <remap from="image" to="/zed/depth/depth_registered"/>
    <remap from="scan" to ="/scan"/>

 </node>


<!-- Laser Scan Match -->
<node pkg="laser_scan_matcher" type="laser_scan_matcher_node" name="laser_scan_matcher_node" output="screen">

    <param name="fixed_frame" value = "world"/>
    <param name="base_frame" value="wheelchair_base"/>
    <param name="use_alpha_beta" value="false"/>
    <param name="use_odom" value="true"/>
    <param name="use_imu" value="false"/>
    <param name="max_iterations" value="10"/>
    <param name="publish_pose" value="true"/>
    <param name="publish_tf" value="false"/>
    <param name="use_vel" value="false"/>

 </node>

<!-- Gmapping -->

 <node pkg="gmapping" type="slam_gmapping" name="slam_gmapping" output="screen">
    <param name="map_udpate_interval" value="2.0"/>
    <param name="delta" value="0.02"/>
    <param name="base_frame" value="base_frame"/>
 </node> 

<!--RVIZ launch -->
<node pkg="rviz" type="rviz" name="rviz"/>

</launch>

This is my launch file. When I launch it I get error:

[ WARN] [1552782652.945326528]: Laser has to be mounted planar! Z-coordinate has to be 1 or -1, but gave: 1.14000
  icp_loop: failed: after trimming, only 51 correspondences.
icp: ICP failed for some reason. 
[ WARN] [1552782652.949929738]: Error in scan matching
[ WARN] [1552782652.978282773]: Laser has to be mounted planar! Z-coordinate has to be 1 or -1, but gave: 1.14000

Any idea how I can fix this? Any suggestions are appreciated.

Thanks, Hdbot

2019-03-26 08:07:01 -0500 received badge  Notable Question (source)
2019-03-24 16:29:25 -0500 edited question cliff_detector not working

cliff_detector not working Hello, I am trying to detect downstair as an obstacle. I am using depth_nav_tools for doing

2019-03-24 16:28:56 -0500 asked a question cliff_detector not working

cliff_detector not working Hello, I am trying to detect downstair as an obstacle. I am using depth_nav_tools for doing

2019-03-24 16:06:38 -0500 commented answer How to create a costmap layer to avoid downward stairs

@Jean_jierre, have you figured out the solutions? I am having same problem as you for using depth_nav_tools

2019-03-19 08:56:21 -0500 commented answer error installing depth_nav_tools

@gvdhoorn, Yes I had tried deleting old build and devel. I got the package installed. It needed #include <tf/transfor

2019-03-19 08:54:50 -0500 marked best answer error installing depth_nav_tools

Hi All,

I am trying to install depth_nav_tools, however, the catkin_make fails with errors:

In file included from /home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:37:0:
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/include/nav_layer_from_points/costmap_layer.h:95:3: error: ‘tf’ does not name a type
   tf::TransformListener tf_;
   ^
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp: In member function ‘virtual void nav_layer_from_points::NavLayerFromPoints::updateBounds(double, double, double, double*, double*, double*, double*)’:
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:127:13: error: request for member ‘transformPoint’ in ‘((nav_layer_from_points::NavLayerFromPoints*)this)->nav_layer_from_points::NavLayerFromPoints::<anonymous>.costmap_2d::Layer::tf_’, which is of pointer type ‘tf2_ros::Buffer*’ (maybe you meant to use ‘->’ ?)
         tf_.transformPoint(global_frame, pt, out_pt);
             ^
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:136:13: error: ‘tf’ does not name a type
       catch(tf::LookupException& ex)
             ^
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:136:32: error: expected unqualified-id before ‘&’ token
       catch(tf::LookupException& ex)
                                ^
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:136:32: error: expected ‘)’ before ‘&’ token
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:136:32: error: expected ‘{’ before ‘&’ token
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:136:34: error: ‘ex’ was not declared in this scope
       catch(tf::LookupException& ex)
                                  ^
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:141:7: error: expected primary-expression before ‘catch’
       catch(tf::ConnectivityException& ex)
       ^
/home/mars-lab/catkin_ws/src/depth_nav_tools/nav_layer_from_points/src/costmap_layer.cpp:146:7: error: expected primary-expression before ‘catch’
       catch(tf::ExtrapolationException& ex)
       ^

I am not sure how to fix this, can anyone suggest a way to fix this?

Regards, hdbot

2019-03-19 08:54:48 -0500 commented answer error installing depth_nav_tools

@gvdhoorn, I got the package installed. It needed #include <tf transform_listener.h=""> in the costmap_layer.h fil

2019-03-19 08:37:50 -0500 commented answer error installing depth_nav_tools

@gvdhoorn I tried this, and it didn't work. Still getting same error when building the package.

2019-03-19 08:37:28 -0500 commented answer error installing depth_nav_tools

I tried this, and it didn't work. Still getting same error when building the package.

2019-03-19 08:17:10 -0500 commented answer scaning error for Laser Scan Matcher

this is correct way. If you notice in my original code I had it as base_frame. So the system was confused as to while i

2019-03-19 01:13:43 -0500 received badge  Popular Question (source)
2019-03-18 17:25:42 -0500 answered a question scaning error for Laser Scan Matcher

I figured out the issues, the base_frame was wrongly written.

2019-03-18 17:24:24 -0500 asked a question error installing depth_nav_tools

error installing depth_nav_tools Hi All, I am trying to install depth_nav_tools, however, the catkin_make fails with e

2019-03-16 19:48:58 -0500 asked a question scaning error for Laser Scan Matcher

scaning error for Laser Scan Matcher Hello, I am using ZED camera and the wheel odometry, fused together with robot_loc

2019-03-03 23:46:54 -0500 received badge  Famous Question (source)
2019-02-17 16:58:05 -0500 edited question Octomap: No Map Recieved

Octomap: No Map Recieved Hello, I tried to follow various solutions and examples to launch my octomap in RVIZ. However,

2019-02-17 16:57:20 -0500 asked a question Octomap: No Map Recieved

Octomap: No Map Recieved Hello, I tried to follow various solutions and examples to launch my octomap in RVIZ. However,

2019-02-16 19:08:43 -0500 received badge  Famous Question (source)
2019-01-19 13:11:54 -0500 commented answer SLAM Gmapping map to odom remapping error

I did the modifications, but I am still getting no map received. The tf looks like it flows properly when i run it the f

2019-01-19 13:11:24 -0500 commented answer SLAM Gmapping map to odom remapping error

I did the modifications, but I am still getting no map received. The tf looks like it flows properly when i run it the f

2019-01-19 13:09:42 -0500 edited question SLAM Gmapping map to odom remapping error

SLAM Gmapping map to odom remapping error Hello, I am trying to perform slam_gmapping for my project, and using filtere

2019-01-19 13:03:04 -0500 commented answer SLAM Gmapping map to odom remapping error

I did the modifications, but I am still getting no map received. The tf looks like it flows properly this time, but I am

2019-01-19 11:25:37 -0500 received badge  Notable Question (source)
2019-01-16 10:22:46 -0500 commented question SLAM Gmapping map to odom remapping error

@kazi ataul goni, you may want to post this question in the forum. This way lot more people will be able to help.

2019-01-16 06:15:16 -0500 received badge  Popular Question (source)
2019-01-15 14:07:55 -0500 edited question SLAM Gmapping map to odom remapping error

SLAM Gmapping map to odom remapping error Hello, I am trying to perform slam_gmapping for my project, and using filtere

2019-01-15 14:06:50 -0500 asked a question SLAM Gmapping map to odom remapping error

SLAM Gmapping map to odom remapping error Hello, I am trying to perform slam_gmapping for my project, and using filtere

2018-11-23 00:28:07 -0500 received badge  Notable Question (source)
2018-10-30 01:21:15 -0500 received badge  Popular Question (source)