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

maziarser's profile - activity

2020-12-04 23:04:36 -0500 received badge  Famous Question (source)
2020-12-04 23:04:36 -0500 received badge  Notable Question (source)
2020-12-04 23:04:36 -0500 received badge  Popular Question (source)
2019-07-23 23:05:53 -0500 received badge  Famous Question (source)
2019-04-24 18:15:42 -0500 received badge  Nice Question (source)
2019-04-24 18:15:38 -0500 received badge  Enlightened (source)
2019-04-24 18:15:38 -0500 received badge  Good Answer (source)
2019-04-08 01:10:43 -0500 marked best answer Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

I am working with TurtleBot 3-Burger (Rasberry Pi 3) and ROS Kinetic.

On Turtlebot 3, we have a 360-degree Planner LiDAR for slam and autonomous navigation.

What I need/want to do is to make this scanner looking at certain angles for data collection.

For example, I want it to collect the data from those angles which are highlighted using Slashes (front and rear), and ignore the data from those angles which are highlighted using Brackets (left and right).

  \                              /
     \                          /
      \                        /
       ]                       [    
       ]                       [      
       ] ]   LiDAR Scanner   [ [
       ]                       [    
       ]                       [    
       /                       \
     /                          \
   /                              \

**Sorry for my figure, I can't upload the actual image as i am new in ROS community and I don't have enough points to upload an image.

Any help and hint needed and I will appreciate it.

2018-07-31 16:53:11 -0500 received badge  Notable Question (source)
2018-07-31 16:53:11 -0500 received badge  Popular Question (source)
2018-05-25 03:46:10 -0500 asked a question Installing the Openni Package for Asus Xtion Pro Live 3D Sensor on TurtleBot3

Installing the Openni Package for Asus Xtion Pro Live 3D Sensor on TurtleBot3 The default sensor which is used in ROS In

2018-03-11 14:50:26 -0500 received badge  Student (source)
2018-03-11 14:50:24 -0500 received badge  Nice Answer (source)
2018-02-12 02:30:36 -0500 received badge  Self-Learner (source)
2018-02-12 02:30:36 -0500 received badge  Teacher (source)
2018-01-05 03:23:08 -0500 commented answer Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

@gvdhoom, thanks for your comment. No, that would be another solution. I think, the posted answer can help those people

2018-01-05 02:41:54 -0500 edited answer Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

I have solved this issue and I was thinking that sharing the real solution is a good idea with others: import rospy imp

2018-01-05 02:30:39 -0500 received badge  Editor (source)
2018-01-05 02:30:39 -0500 edited answer Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

I have solved this issue and I was thinking that sharing the real solution is a good idea with others: import rospy imp

2018-01-05 02:28:56 -0500 answered a question Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

I have solved this issue and I was thinking that sharing the real solution is a good idea with others: import rospy imp

2018-01-05 02:01:22 -0500 marked best answer TF_OLD_DATA ignoring data from the past for frame base_footprint

I am new in working with Turtlebot 3 and ROS.

I am working with TurtleBot 3-Burger (Rasberry Pi 3) and ROS Kinetic.

I have a lunch file to lunch all my necessary nodes. When I run the lunch file in the workstation PC, I will get this error:

Warning: TF_OLD_DATA ignoring data from the past for frame base_link at time 26.5 according to authority unknown_publisher
Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained
     at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.16/src/buffer_core.cpp

I run roscore on the workstation PC and run roslaunch turtlebot3_bringup turtlebot3_robot.launch on robot PC. Then, I launch mt launch file.

My launch file code:

<!-- PC: roscore-->
<!-- ROBOT: roslaunch turtlebot3_bringup turtlebot3_robot.launch-->

<!-- PC-run this launcher: roslaunch tb3Navigation mapNavigation.launch !!!!!-->
<!-- PC-run the code: rosrun tb3Navigation map_navigation !!!!!-->

<launch>
  <param name="use_sim_time" value="true"/>

  <!-- roslaunch turtlebot3_bringup turtlebot3_model.launch-->
  <arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger]"/>
  <include file="$(find turtlebot3_bringup)/launch/includes/description.launch.xml">
    <arg name="model" value="$(arg model)" />
  </include>

 <node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher" output="screen">
    <param name="publish_frequency" type="double" value="50.0" />
  </node>

  <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
    <param name="use_gui" value="true"/>
  </node>

  <!--<node name="rviz1" pkg="rviz" type="rviz" args="-d $(find turtlebot3_description)/rviz/model.rviz"/>-->

  <!-- Map -->
  <!-- call Map and World file -->
  <arg name="map_file"       default=" $(find tb3Navigation)/maps/mapFloor01.yaml"/>
  <arg name="world_file"     default=" $(find tb3Navigation)/maps/stage/mapFloor01.world"/>

 <!-- Stage -->
  <node pkg="stage_ros" type="stageros" name="stageros" args="$(arg world_file)">
    <param name="base_watchdog_timeout" value="0.5"/>
    <remap from="odom" to="odom"/>
    <remap from="base_pose_ground_truth" to="base_pose_ground_truth"/>
    <remap from="cmd_vel" to="mobile_base/commands/velocity"/>
    <remap from="base_scan" to="scan"/>
  </node> 

<node pkg="nodelet" type="nodelet" name="mobile_base_nodelet_manager" args="manager"/>
  <node pkg="nodelet" type="nodelet" name="cmd_vel_mux" args="load yocs_cmd_vel_mux/CmdVelMuxNodelet mobile_base_nodelet_manager">
    <param name="yaml_cfg_file" value="$(find turtlebot_bringup)/param/mux.yaml"/>
    <remap from="cmd_vel_mux/output" to="mobile_base/commands/velocity"/>
  </node>

  <!-- Map server -->
  <node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)">
    <param name="frame_id" value="/map"/>
  </node>

  <!-- need to change -->
  <arg name="initial_pose_x" default="3.31"/>
  <arg name="initial_pose_y" default="4.20"/>
  <arg name="initial_pose_a" default="0.0"/>

  <!-- AMCL - the first location -->
  <include file="$(find turtlebot3_navigation)/launch/amcl.launch.xml">
    <arg name="scan_topic" value="scan"/>
    <!--<arg name="use_map_topic" value="true"/>-->
    <arg name="initial_pose_x" value="$(arg initial_pose_x)"/>
    <arg name="initial_pose_y" value="$(arg initial_pose_y)"/>
    <arg name="initial_pose_a" value="$(arg initial_pose_a)"/>
  </include>

  <!-- Move_base -->
  <arg name="cmd_vel_topic" default="/cmd_vel" />
  <arg name="odom_topic" default="odom" />
  <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">

    <param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" />

    <rosparam file="$(find turtlebot3_navigation)/param/costmap_common_params_$(arg model).yaml" command="load" ns="global_costmap" />
    <rosparam file="$(find turtlebot3_navigation)/param/costmap_common_params_$(arg model).yaml" command="load" ns="local_costmap" />
    <rosparam file="$(find turtlebot3_navigation)/param/local_costmap_params.yaml" command="load" />
    <rosparam file="$(find turtlebot3_navigation)/param/global_costmap_params.yaml" command="load" />
    <rosparam file="$(find turtlebot3_navigation)/param/move_base_params.yaml" command="load" />
    <rosparam file="$(find turtlebot3_navigation)/param/dwa_local_planner_params.yaml" command="load" />

    <remap from="cmd_vel" to="$(arg cmd_vel_topic)"/>
    <remap from="odom ...
(more)
2018-01-05 02:01:22 -0500 received badge  Scholar (source)
2018-01-04 05:28:51 -0500 received badge  Famous Question (source)
2018-01-02 06:32:56 -0500 received badge  Supporter (source)
2017-12-20 06:24:27 -0500 received badge  Notable Question (source)
2017-12-20 06:21:10 -0500 commented answer Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

Thanks for your comment. Is it possible for me to have more explanation about your hint?

2017-12-20 06:14:47 -0500 commented answer Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

Thanks for your reply. Did you publish your previous job somewhere which is open to public and I can see how it works?

2017-12-20 03:36:23 -0500 received badge  Popular Question (source)
2017-12-20 02:53:35 -0500 asked a question Applying restrictions on 360-degree LiDAR for slam and autonomous navigation

Applying restrictions on 360-degree LiDAR for slam and autonomous navigation I am working with TurtleBot 3-Burger (Rasbe

2017-10-25 15:45:46 -0500 received badge  Famous Question (source)
2017-10-19 14:42:19 -0500 received badge  Notable Question (source)
2017-09-11 04:56:21 -0500 received badge  Popular Question (source)
2017-09-08 11:17:18 -0500 commented answer TF_OLD_DATA ignoring data from the past for frame base_footprint

Thank you for your answer. It was part of the problem. The other mistake was about the "stage" part and also the "world

2017-09-08 06:34:40 -0500 edited question TF_OLD_DATA ignoring data from the past for frame base_footprint

TF_OLD_DATA ignoring data from the past for frame base_footprint I am new in working with Turtlebot 3 and ROS. I am wor

2017-09-08 06:33:42 -0500 asked a question TF_OLD_DATA ignoring data from the past for frame base_footprint

TF_OLD_DATA ignoring data from the past for frame base_footprint I am new in working with Turtlebot 3 and OpenHAB 2 and

2017-08-29 10:48:01 -0500 received badge  Enthusiast
2017-08-22 05:53:54 -0500 asked a question How to control my robot in OpenHAB 2?

How to control my robot in OpenHAB 2? I am new in working with Turtlebot 3 and OpenHAB 2 and ROS. I am working with Tur