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

kenhero's profile - activity

2019-05-20 01:04:25 -0500 marked best answer Issue installing turtlebot3 simulation on ubuntu 16.04

I switched from ubuntu 14.04 to ubuntu 16.04 and try to completely remove ros indigo and install ros kinetic and gazebo9 I followed a guide to install . This is a lists of my command on terminal:

cd ~/catkin_ws/src

1) git clone https://github.com/ROBOTIS-GIT/turtle...

2) git clone https://github.com/ROBOTIS-GIT/turtle...

3) git clone https://github.com/ROBOTIS-GIT/turtle...

4) cd ~/catkin_ws && catkin_make && source ~/catkin_ws/devel/setup.bash

cd ..

catkin_make

This is the last part of output

Scanning dependencies of target turtlebot3_fake_node
[ 70%] Built target turtlebot3_example_generate_messages_cpp
[ 80%] Built target turtlebot3_example_generate_messages_eus
[ 89%] Built target turtlebot3_example_generate_messages_lisp
make[2]: *** No rule to make target '/usr/lib/liblog4cxx.so', needed by '/home/me/catkin_ws/devel/lib/turtlebot3_gazebo/turtlebot3_drive'.  Stop.
CMakeFiles/Makefile2:4337: recipe for target 'turtlebot3_simulations/turtlebot3_gazebo/CMakeFiles/turtlebot3_drive.dir/all' failed
make[1]: *** [turtlebot3_simulations/turtlebot3_gazebo/CMakeFiles/turtlebot3_drive.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target '/usr/lib/liblog4cxx.so', needed by '/home/me/catkin_ws/devel/lib/turtlebot3_bringup/turtlebot3_diagnostics'.  Stop.
CMakeFiles/Makefile2:1680: recipe for target 'turtlebot3/turtlebot3_bringup/CMakeFiles/turtlebot3_diagnostics.dir/all' failed
make[1]: *** [turtlebot3/turtlebot3_bringup/CMakeFiles/turtlebot3_diagnostics.dir/all] Error 2
[ 89%] Built target turtlebot3_msgs_generate_messages
make[2]: *** No rule to make target '/usr/lib/liblog4cxx.so', needed by '/home/me/catkin_ws/devel/lib/turtlebot3_fake/turtlebot3_fake_node'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 91%] Building CXX object turtlebot3_simulations/turtlebot3_fake/CMakeFiles/turtlebot3_fake_node.dir/src/turtlebot3_fake.cpp.o
CMakeFiles/Makefile2:3683: recipe for target 'turtlebot3_simulations/turtlebot3_fake/CMakeFiles/turtlebot3_fake_node.dir/all' failed
make[1]: *** [turtlebot3_simulations/turtlebot3_fake/CMakeFiles/turtlebot3_fake_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Suggestions? I'm a newbie on ROS

2019-01-11 12:38:12 -0500 marked best answer Autonomous navigation with Turtlebot3 algorithm

Hi, i tried to develop in C++ with success (basically i'm still a beginner with ROS development) a way for autonomous exploration of n turtlebot3 in an unknown environment (like turtlebot3 house for example). The algorithm is too much "simple",basically i check the laserscan distance from an obstacle and if obstacle distance is less than 0.5 meter robots turn left by 90 degrees.

What i'm looking for now is a more sophisticated algorithm to implement in C++ and an algorithm that "turn aroung" fixed and mobile obstacles (like walking human for example)

I found the relaxed A* algorithm on github but it's useless for me cause it's based on well known map and find the optimal path from a start to a goal point. Suggestions?

2018-09-19 16:08:59 -0500 marked best answer map_server can't load map

I have this launch file in order to use nagigation stack. I follower a tutorial on robotigniteacademy path planning but he used husky robots to simulate path planning on gazebo,i want to do the same thing with turtlebot3 on gazebo simulation but there isn't on turtlebot3 manual the chance to simulate path planning (only if you have real robot)

<launch>

 <!-- Turtlebot3 -->
 <include file="$(find turtlebot3_bringup)/launch/turtlebot3_remote.launch" />


 <!-- Run the map server -->
 <arg name="map_file" default="$(find my_move_base_launcher)/maps/map.yaml"/>

 <node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)" />


 <!--- Run AMCL -->
 <include file="$(find my_move_base_launcher)/launch/amcl.launch.xml" />

 <!--- Run Move Base -->
 <include file="$(find my_move_base_launcher)/launch/turtlebot3_navigation_path_planning_2.launch" />

</launch>

When i launch this file i have this error :

NODES

/ amcl (amcl/amcl) map_server (map_server/map_server) move_base (move_base/move_base) robot_state_publisher (robot_state_publisher/robot_state_publisher)

ROS_MASTER_URI=http://localhost:11311

process[robot_state_publisher-1]: started with pid [25865]
process[map_server-2]: started with pid [25866]
process[amcl-3]: started with pid [25868]
process[move_base-4]: started with pid [25880]
[ INFO] [1526983048.924109442]: Subscribed to map topic.
[map_server-2] process has died [pid 25866, exit code 255, cmd /opt/ros/kinetic/lib/map_server/map_server /home/bera/catkin_ws/src/my_move_base_launcher/maps/map.yaml __name:=map_server __log:=/home/bera/.ros/log/17326908-5da3-11e8-afab-9c2a7033abfa/map_server-2.log].
log file: /home/bera/.ros/log/17326908-5da3-11e8-afab-9c2a7033abfa/map_server-2*.log
[ WARN] [1526983054.004897998]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 0.1015 timeout was 0.1.

Obv i have a maps folder with map.pgm and map.yaml files and inside yaml file i have to right path of the image file. Suggestion?

------------EDIT:UPDATE --------------

this is my amcl.launch.xml that i call inside turtlebot3_navigation_path_planning_1.launch

<launch> <arg name="scan_topic" default="scan"/> <arg name="use_map_topic" default="true"/> <arg name="initial_pose_x" default="0.0"/> <arg name="initial_pose_y" default="0.0"/> <arg name="initial_pose_a" default="0.0"/>

<node pkg="amcl" type="amcl" name="amcl">

<param name="use_map_topic" value="$(arg use_map_topic)"/>

<param name="min_particles"             value="500"/>
<param name="max_particles"             value="3000"/>
<param name="kld_err"                   value="0.02"/>
<param name="kld_z" value="0.99"/>
<param name="update_min_d"              value="0.20"/>
<param name="update_min_a"              value="0.20"/>
<param name="resample_interval"         value="1"/>
<param name="transform_tolerance"       value="0.5"/>
<param name="recovery_alpha_slow"       value="0.00"/>
<param name="recovery_alpha_fast"       value="0.00"/>
<param name="initial_pose_x"            value="$(arg initial_pose_x)"/>
<param name="initial_pose_y"            value="$(arg initial_pose_y)"/>
<param name="initial_pose_a"            value="$(arg initial_pose_a)"/>
<param name="gui_publish_rate"          value="50.0"/>

<remap from="scan"                      to="$(arg scan_topic)"/>
<param name="laser_max_range"           value="3.5"/>
<param name="laser_max_beams"           value="180"/>
<param name="laser_z_hit"               value="0.5"/>
<param name="laser_z_short"             value="0.05"/>
<param name="laser_z_max"               value="0.05"/>
<param name="laser_z_rand"              value="0.5"/>
<param name="laser_sigma_hit"           value="0.2"/>
<param name="laser_lambda_short"        value="0.1"/>
<param name="laser_likelihood_max_dist" value="2.0"/>
<param name="laser_model_type"          value="likelihood_field"/>

<param name="odom_model_type"           value="diff"/>
<param name="odom_alpha1"               value="0.1"/>
<param name="odom_alpha2"               value="0.1"/>
<param name="odom_alpha3"               value="0.1 ...
(more)
2018-07-10 12:34:59 -0500 received badge  Famous Question (source)
2018-07-06 05:55:30 -0500 received badge  Notable Question (source)
2018-07-05 12:22:10 -0500 received badge  Organizer (source)
2018-07-05 06:02:52 -0500 received badge  Popular Question (source)
2018-07-04 11:06:29 -0500 asked a question Autonomous navigation with Turtlebot3 algorithm

Autonomous navigation with Turtlebot3 algorithm Hi, i tried to develop in C++ with success (basically i'm still a beginn

2018-06-05 08:10:21 -0500 commented question A star algorithm doesn't work on gazebo house

@PeterBlackerThe3rd could you link me doc about how to setup map?

2018-06-04 10:02:45 -0500 commented question A star algorithm doesn't work on gazebo house

when you talking about threshold do you intend ,for example: <param name="resampleThreshold" value="0.5"/> insi

2018-06-04 09:55:58 -0500 commented question A star algorithm doesn't work on gazebo house

when you talking about threshold do you intend ,for example: <param name="resampleThreshold" value="0.5"/> insi

2018-06-04 08:23:20 -0500 commented question A star algorithm doesn't work on gazebo house

Could you explain what is it for vector <int> RAstarPlannerROS::findFreeNeighborCell (int CellID) Why it has 2

2018-06-03 20:15:06 -0500 commented question A star algorithm doesn't work on gazebo house

link text

2018-06-03 08:59:04 -0500 edited question A star algorithm doesn't work on gazebo house

A star algorithm doesn't work on gazebo house I used relaxed A star algorithm for ROS found on github and used it on gaz

2018-06-03 08:56:46 -0500 edited question A star algorithm doesn't work on gazebo house

A star algorithm doesn't work on gazebo house I used relaxed A star algorithm for ROS found on github and used it on gaz

2018-06-03 08:56:01 -0500 edited question A star algorithm doesn't work on gazebo house

A star algorithm doesn't work on gazebo house I used relaxed A star algorithm for ROS found on github and used it on gaz

2018-06-03 08:53:20 -0500 edited question A star algorithm doesn't work on gazebo house

A star algorithm doesn't work on gazebo house I used relaxed A star algorithm for ROS found on github and used it on gaz

2018-06-03 06:45:36 -0500 commented answer A star algorithm doesn't work on gazebo house

I can't use comment because comment has very low chararcters available

2018-06-03 06:45:36 -0500 received badge  Commentator
2018-06-03 06:43:22 -0500 received badge  Famous Question (source)
2018-06-02 14:03:01 -0500 edited answer A star algorithm doesn't work on gazebo house

link text process[robot_state_publisher-1]: started with pid [7925] process[map_server-2]: started with pid [7926

2018-06-02 14:02:25 -0500 edited answer A star algorithm doesn't work on gazebo house

link text process[robot_state_publisher-1]: started with pid [7925] process[map_server-2]: started with pid [7926] p

2018-06-02 14:01:33 -0500 edited answer A star algorithm doesn't work on gazebo house

link text process[robot_state_publisher-1]: started with pid [7925] process[map_server-2]: started with pid [7926] p

2018-06-02 14:00:49 -0500 edited answer A star algorithm doesn't work on gazebo house

link text process[robot_state_publisher-1]: started with pid [7925] process[map_server-2]: started with pid [7926] p

2018-06-02 13:58:24 -0500 answered a question A star algorithm doesn't work on gazebo house

link text process[robot_state_publisher-1]: started with pid [7925] process[map_server-2]: started with pid [7926] proc

2018-06-01 11:16:23 -0500 received badge  Notable Question (source)
2018-06-01 06:54:32 -0500 commented question A star algorithm doesn't work on gazebo house

link text The map is turtlebot3 house world. Later i try to upload the image but I think map is good. Carrot planner do

2018-06-01 06:52:45 -0500 commented question A star algorithm doesn't work on gazebo house

link text

2018-06-01 02:23:36 -0500 received badge  Popular Question (source)
2018-05-31 16:36:23 -0500 edited question A star algorithm doesn't work on gazebo house

A start algorithm doesn't work on gazebo house I used relaxed A start algorithm for ROS found on github and used it on g

2018-05-31 16:07:02 -0500 asked a question A star algorithm doesn't work on gazebo house

A start algorithm doesn't work on gazebo house I used relaxed A start algorithm for ROS found on github and used it on g

2018-05-25 11:54:32 -0500 edited answer Adding Relaxed Astar Global Path Planner As Plugin in ROS Indigo

maybe you need to source your setup.bash file I did it the same package without problem

2018-05-25 11:54:11 -0500 answered a question Adding Relaxed Astar Global Path Planner As Plugin in ROS Indigo

maybe you need to source your setup.bash file

2018-05-25 03:18:28 -0500 edited answer map_server can't load map

Ok I solved. I made several errors : 1)I didn't generate map with gmapping node 2)Error of localization , in the amcl.la

2018-05-25 03:14:08 -0500 edited answer map_server can't load map

Ok I solved. I made several errors : 1)I didn't generate map with gmapping node 2)Error of localization , in the amcl.la

2018-05-25 03:13:32 -0500 edited answer map_server can't load map

Ok I solved. I made several errors : 1)I didn't generate map with gmapping node 2)Error of localization , in the amcl.la

2018-05-25 03:12:09 -0500 answered a question map_server can't load map

Ok I solved. I made several errors : 1)I didn't generate map with gmapping node 2)Error of localization , in the amcl.la

2018-05-25 03:08:35 -0500 answered a question map_server can't load map

Ok I solved. I made several errors : 1)I didn't generate map with gmapping node 2)Error of localization , in the amcl.la

2018-05-24 03:56:37 -0500 commented answer map_server can't load map

image: map.pgm resolution: 0.050000 origin: [0.000000, 0.000000, -nan] negate: 0 occupied_thresh: 0.65 free_thresh: 0.1

2018-05-24 03:52:08 -0500 commented answer map_server can't load map

image: map.pgm resolution: 0.050000 origin: [0.000000, 0.000000, -nan] negate: 0 occupied_thresh: 0.65 free_thresh: 0.1

2018-05-24 03:51:49 -0500 commented answer map_server can't load map

image: map.pgm resolution: 0.050000 origin: [0.000000, 0.000000, -nan] negate: 0 occupied_thresh: 0.65 free_thresh: 0.1

2018-05-24 03:51:33 -0500 commented answer map_server can't load map

image: map.pgm resolution: 0.050000 origin: [0.000000, 0.000000, -nan] negate: 0 occupied_thresh: 0.65 free_thresh: 0.1

2018-05-23 12:29:14 -0500 received badge  Famous Question (source)
2018-05-23 10:37:31 -0500 edited question map_server can't load map

map_server can't load map I have this launch file in order to use nagigation stack. I follower a tutorial on robotignite

2018-05-23 10:36:51 -0500 edited answer map_server can't load map

edit: updated original post

2018-05-22 22:02:15 -0500 commented answer map_server can't load map

Just an updated because @davidportugal asked me to show the files

2018-05-22 19:34:38 -0500 answered a question map_server can't load map

this is my amcl.launch.xml that i call inside turtlebot3_navigation_path_planning_1.launch <launch> <arg na

2018-05-22 19:30:18 -0500 commented answer map_server can't load map

i tried,no output ,map doesn't crash but if i run : rospitc /list i only have: 1)rosout 2)rosout_agg

2018-05-22 19:29:26 -0500 commented answer map_server can't load map

i tried,no output but map doesn't crash

2018-05-22 19:25:45 -0500 received badge  Notable Question (source)