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

neuronet's profile - activity

2021-06-16 09:55:54 -0500 marked best answer turtlebot not moving with teleop in indigo

tl;dr
Running the simulation of turtlebot in Gazebo, I can't get the turtlebot to move with the turtlebot_teleop package. I launch the appropriate nodes, the right windows come up, and when I hit the q/w/e keys, nothing happens.

Long version
I did a fresh install of Ubuntu 14 and ROS Indigo today so I could get going with Turtlebot. I'm using Gazebo 2.2.3.

I am working through the turtlebot tutorial, and everything is fine up to the Stage Simulator. for the world navigation simulation, I entered:

roslaunch turtlebot_gazebo turtlebot_world.launch
roslaunch turtlebot_teleop keyboard_teleop.launch

Things generally seem to be working: when I launche turlebot_world.launch, it says:

[spawn_turtlebot_model-4] process has finished cleanly

On the other hand I do get one error during initialization:

Error [SDF.cc:788] Missing element description for [pointCloudCutoffMax]

The nodes after launch:

/bumper2pointcloud
/cmd_vel_mux
/depthimage_to_laserscan
/gazebo
/laserscan_nodelet_manager
/mobile_base_nodelet_manager
/robot_state_publisher
/rosout
/turtlebot_teleop_keyboard

Ouptut of rqt_graph:

image description

The Gazebo screen is up, I see the simulated turtlebot in its little room. It is not stuck against a bureau or anything. I get the following output on the teleop screen when I press different keys to try to make the thing move:

image description

I expect the little guy to be moving by default, and especially when I enter q/w/e (maybe there is some additional launch code or GO signal I'm ignorant of?). [edit: that last parenthetic remark was key] Nothing. He's just sitting there. Unlike the problem at the following link, I do not have multiple distributions of ROS (or Gazebo) on my system, so this likely isn't an issue with conflicting software versions: http://answers.ros.org/question/29983...

2021-06-16 09:55:54 -0500 received badge  Self-Learner (source)
2021-06-16 09:55:54 -0500 received badge  Teacher (source)
2018-11-16 15:53:49 -0500 commented answer rosnode list for not active nodes

this is useful for folks working at the command line, but note the question explicitly asked for a way to do it programm

2018-10-13 12:52:23 -0500 commented question Tutorial for creating package: I get error that cpp_common depends on non-existent package

Sorry fixed that line, I didn't think it would be important. It's from this lab that has some packages I use: https://gi

2018-10-13 12:50:37 -0500 received badge  Notable Question (source)
2018-10-13 12:50:00 -0500 commented question Tutorial for creating package: I get error that cpp_common depends on non-existent package

Sorry fixed that line, I didn't think it would be important.

2018-10-12 10:56:41 -0500 edited question Tutorial for creating package: I get error that cpp_common depends on non-existent package

Tutorial for creating package: I get error that cpp_common depends on non-existent package I am setting up Kinetic on Ub

2018-10-12 10:56:07 -0500 commented question Tutorial for creating package: I get error that cpp_common depends on non-existent package

@gvdhoorn I've updated my question with the output of rosdep update.

2018-10-12 10:55:50 -0500 edited question Tutorial for creating package: I get error that cpp_common depends on non-existent package

Tutorial for creating package: I get error that cpp_common depends on non-existent package I am setting up Kinetic on Ub

2018-10-11 03:52:00 -0500 received badge  Popular Question (source)
2018-10-10 10:05:01 -0500 edited question Tutorial for creating package: I get error that cpp_common depends on non-existent package

Tutorial for creating package: I get error that cpp_common depends on non-existent package I am setting up Kinetic on Ub

2018-10-10 10:04:40 -0500 asked a question Tutorial for creating package: I get error that cpp_common depends on non-existent package

Tutorial for creating package: I get error that cpp_common depends on non-existent package I am setting up Kinetic on Ub

2018-10-07 21:47:09 -0500 commented question importErrors when coding with rospy

Python 2.7 is not regular python anymore. This should not be the advice in 2018. Nobody is using Python 2.

2018-10-07 21:45:46 -0500 commented answer importErrors when coding with rospy

it's highly recommended that you stick with the system version of python instead of downloading and installing advanc

2018-10-01 21:09:53 -0500 edited answer Unmet dependencies for ros desktop full

I just spent a few hours getting this to work, and the solution turned out to be simple. First just install the qt bindi

2018-10-01 21:09:36 -0500 answered a question Unmet dependencies for ros desktop full

I just spent a few hours getting this to work, and the solution turned out to be simple. First just install the qt bindi

2018-03-14 11:38:28 -0500 marked best answer amcl demo: map_server could not open yaml file (yaml file exists)

tl;dr
I am trying to open amcl demo with:

 roslaunch chefbot_gazebo amcl_demo.launch map_file:=home/neuronet/hotel_world.yaml

And I am getting error:

Map_server could not open home/neuronet/hotel_world.yaml

Long version
I'm in indigo, ros version 1.11.20 on Ubuntu 14, and I am working through a project (chefbot) that is based on turtlebot:

http://www.instructables.com/id/Chefb...

I have run the gmapping_demo and created a map, and saved the map using

rosrun map_server map_saver -f ~/hotel_world

This has saved hotel_world.yaml and hotel_world.pgm in my home directory. Then the goal is to run the amcl demo. First (as instructed at instructables) I open the robot in gazebo, which works:

roslaunch chefbot_gazebo chefbot_hotel_world.launch

And then I launch the amcl_demo:

roslaunch chefbot_gazebo amcl_demo.launch map_file:=home/neuronet/hotel_world.yaml

It seems to start working (nodes start) but eventually I get the error that the map server could not open the yaml file:

core service [/rosout] found
process[map_server-1]: started with pid [6488]
process[amcl-2]: started with pid [6489]
process[move_base-3]: started with pid [6491]
**[ERROR] [1471437118.250759705]: Map_server could not open home/neuronet/hotel_world.yaml.**

Strangely, the. yaml file does exist in the intended directory. Here are the yaml file contents:

image: /home/neuronet/hotel_world.pgm
resolution: 0.010000 origin:
[-11.240000, -12.200000, 0.000000]
negate: 0 occupied_thresh: 0.65
free_thresh: 0.196

Further, the pgm file (image) does exist, here it is: image description

Note I'm working with rospy, if that matters (any technical c++ stuff will likely go over my head).

Finally, here is the file amcl_demo.launch file:

<launch>
  <!-- Map server -->
  <arg name="map_file" default="$(find chefbot_gazebo)/maps/playground.yaml"/>

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

  <!-- Localization -->
  <arg name="initial_pose_x" default="0.0"/>
  <arg name="initial_pose_y" default="0.0"/>
  <arg name="initial_pose_a" default="0.0"/>
  <include file="$(find chefbot_bringup)/launch/includes/amcl.launch.xml">
    <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 -->
  <include file="$(find chefbot_bringup)/launch/includes/move_base.launch.xml"/>
</launch>
2018-02-15 03:36:39 -0500 received badge  Notable Question (source)
2018-02-15 03:36:39 -0500 received badge  Famous Question (source)
2016-11-24 05:29:24 -0500 received badge  Famous Question (source)
2016-11-15 19:36:26 -0500 received badge  Famous Question (source)
2016-10-27 21:11:53 -0500 received badge  Famous Question (source)
2016-09-06 04:33:38 -0500 received badge  Nice Question (source)
2016-09-06 04:33:35 -0500 marked best answer Installing Indigo after Kinetic?

For reasons detailed here, I have been using Kinetic but need to install Indigo: http://answers.ros.org/question/24065...

As is clear there, I am a total noob to ROS. Is there a protocol for installing a new (old) distribution of ROS once you already have one? I've googled it and didn't find anything explicit. For instance, once I run roscore, which version will run? If I just install indigo and then source the bash will that become the default? Or are there collisions/conflicts I'll need to resolve such that it might be best just to uninstall Kinetic Kame?

I'm in Ubuntu 16.04.

2016-09-06 04:32:17 -0500 received badge  Famous Question (source)
2016-08-24 17:23:05 -0500 received badge  Notable Question (source)
2016-08-22 21:06:33 -0500 received badge  Popular Question (source)
2016-08-22 15:42:22 -0500 commented question error launching world file in gazebo

Should mention x-posted at gazebo site: http://answers.gazebosim.org/question...

2016-08-21 19:17:41 -0500 commented answer Saving changes to objects in gazebo_ros world file?

Why is the default to install an unsupported version of gazebo with an actively supported version of ROS? Gazebo is up to version 7 now! #roswtf

2016-08-21 19:13:35 -0500 received badge  Associate Editor (source)
2016-08-21 19:11:46 -0500 answered a question Saving changes to objects in gazebo_ros world file?

From gazebo answers:

There were a few issues scaling shapes and saving the world which have been fixed in newer versions of Gazebo. Since Gazebo 2 is no longer officially supported, I suggest you change to the latest long term support version, Gazebo 7.

Unfortunately, Gazebo 2.N is what comes packaged with Indigo. It is indeed possible to go renegade and install more recent versions of Gazebo:
http://gazebosim.org/tutorials/?tut=r...
Those intrepid souls who want to follow those instructions, live it up!

One workaround is to build walls out of cubes.

2016-08-21 09:30:17 -0500 asked a question Saving changes to objects in gazebo_ros world file?

I'm working in ROS (Indigo, Ubuntu 14), starting gazebo 2.2.3 with

rosrun gazebo_ros gazebo

I go in and create a little corner of a room by dropping in a couple of cubes and scaling them:

image description

I save the file as corner.world. Then later open it, and the scaling I did is gone:

image description

I've now just got two cubes. Where did my walls go?

Note: cross-posted at: http://answers.gazebosim.org/question...