osrf / rosbook

Example code to accompany the book Programming Robots with ROS
Apache License 2.0
484 stars 236 forks source link

Wander-bot issue #4

Closed jorgevargas1 closed 7 years ago

jorgevargas1 commented 8 years ago

In the exercise in chapter 7 I have a problem when I send the command "roslaunch turtlebot_gazebo turtlebot_world.launch" I get some errors and warnings.

Msg Connected to gazebo master @ http://127.0.0.1:11345 Msg Publicized address: 192.168.1.37 Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov] Error [Param.cc:181] Unable to set value [0,100000001] for key[near] Error [SDF.cc:788] Missing element description for [pointCloudCutoffMax] [ INFO] [1453359094.565551428, 0.400000000]: Camera Plugin (robotNamespace = /), Info: Using the 'robotNamespace' param: '/' [ INFO] [1453359094.743534238, 0.400000000]: Camera Plugin (ns = /) , set to "" [ INFO] [1453359094.862222063, 0.400000000]: Starting plugin Kobuki(ns = //)! [ WARN] [1453359094.862647699, 0.400000000]: Kobuki(ns = //): missing default is na [ INFO] [1453359094.868740176, 0.400000000]: Kobuki(ns = //): = Dbg Plugin model name: mobile_base [ INFO] [1453359094.870111584, 0.400000000]: Will publish tf. [mobile_base]

[ INFO] [1453359094.876919980, 0.400000000]: Kobu

Then when I sent the command rostopic echo scan I get nothing. nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan]

intensities: []

Please help me, I am trying to learn ROS

codebot commented 8 years ago

Thanks for reporting this issue. I haven't seen it before; can you tell me more about your system? Are you using Ubuntu Linux? If so, which version?

jorgevargas1 commented 8 years ago

Hi, of course. I am using Ubuntu linux. Here are more details of my system: jorge jorge-thinkpad-l440 _001

codebot commented 8 years ago

Can you also paste the output of these commands, so we can know which versions of ROS and Gazebo packages you're using?

dpkg -l | grep ros-
dpkg -l | grep gazebo

Also, can you describe what else is happening when you run roslaunch turtlebot_gazebo turtlebot_world.launch ? Does anything else happen on your screen (windows pop up, etc.)?

jorgevargas1 commented 8 years ago

Sorry for answer you so late, but I was traveling for work. The firts output is

selection_002

The second one is: selection_003

For your third question, yes a windows pop up with gazebo, it has a room with objects in it.

codebot commented 7 years ago

corrected in updated text.