turtlebot2 doesn't work with amcl_demo.launch.
I launched amcl with turtlebot2, but turtlebot2 doesn't move. I have installed ROS hydro on my PC. When I launched amcl on groovy, my turtlebot2 moved correctly. I checked some topic with rostopic echo command.
/navigation_velocity_smoother/raw_cmd_vel and /cmd_vel_mux/input/navi don't respond.
/move_base_simple/goal outputs values.
/mobile_base/commands/velocity outputs values when I touched bumper sensor.
I launched a following command.
- roslaunch turtlebot_bringup minimal.launch (on turtlebot PC)
- ssh turtlebot@turtlebot(on workstation)
- roslaunch turtlebot_navigation amcl_demo.launch map_file:=/tmp/my_map.yaml(on workstation set to point to turtlebot PC)
- roslaunch turtlebot_rviz_launchers view_navigation.launch(on workstation PC)
It has a warn. [Warn] Waiting on transform from base_footprint to map to become available before running costmap, tf error:
if anybody correctly moves a turtlebot on hydro, I want you to teach me how to move. and I want any clue to solve this problem.
I can move a turtlebot2 with keyboard_teleop and ps3 joystick.
If I hit a next message on a terminal in ssh turtlebot@turtlebot, my turtlebot went straight. $rostopic pub -1 /cmd_vel_mux/input/navi geometry_msgs/Twist -- '[0.3, 0.0, 0.0]' '[0.1, 0.0, 0.0]'
As I guessed this problem parameter, I refered the following URL to repair my yaml. http://answers.ros.org/question/78196/sensor-raytrace-error-when-maps-set-to-voxel/ After that, a warning said "you must specify at least three points for the robot footprint reverting to previous footprint.
This alarm was described on costmap_2d_ros.cpp. So, I added footprint to costmap_common_param.yaml. All warnings and error was gone on the terminal, but my turtlebot2 doesn't work!! I drag a mouse after pushing 2D Nav Goal on Rviz.
I hit next command on my workstation with ssh turtlebot@turtlebot. $rostopic pub -1 /move_base_simple/goal geometry_msgs/PoseStamped '{header: {frame_id:"map"}, pose:{position: {x: 0.5, y: 0.0, z: 0.0}, orientation: {x: 0.0, y: 0.0, z: 0.0, w: 1.0}}}' My Turtlebot moved, but my problem not yet.
I guessed that this problem was network configuration. if I hit rostopic pub -r10 /hello std_msgs/String "hello" on workstation and rostopic echo /hello on Turtlebot, The message " hello" doesn't begin printed. Does anybody know how to fix it?
@Ken_in_JAPAN For the next time, better post additional information by editing your initial question instead of multiple comments (hard to read).