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

Robocop87's profile - activity

2022-11-17 02:49:22 -0500 received badge  Popular Question (source)
2022-11-17 02:49:22 -0500 received badge  Notable Question (source)
2022-11-17 02:49:22 -0500 received badge  Famous Question (source)
2021-06-17 09:28:44 -0500 marked best answer Building nodes as 32bit on 64 bit machine

Hey everyone!

I am using a node that was developed using a 32 bit closed source library. I only have access to a 64bit computer, and there is no 64 bit version of the library. I would like to build my node which depends on the 32 bit library as a 32 bit application in order to make this work.

I found this website which shows how to do it using rosbuild: https://code.ros.org/gf/project/ros/m...

but I need a solution for catkin. Any ideas?

2021-04-16 06:40:00 -0500 marked best answer Husky Description Launch Has No Wheels

Hey everyone,

I am working on a robot that uses a husky base but also has a lot of other custom attached components. I am being asked to create a urdf for it. I learned about urdfs through the tutorials and ran the description.launch file provided by the husky package that is supposed to publish the robot model.

Upon opening rviz, I saw that there were no transforms for the wheels. I looked in the urdf, and there is indeed no reference to the wheels. There is another urdf which creates the wheels, but there is no obvious connection between the two files. The launch file only runs base.urdf, not wheel.urdf.

I want to use the husky materials as a base to begin making my robot's urdf. I don't understand why these files are not connected, however, or what I am supposed to do to load the whole model.

Could someone please explain why the package was made so that the launch file only loads the base without any mention of the wheels? Also, how do I incorporate the wheels so that all transforms are published and the model and be seen in rviz?

Thanks!

2020-01-21 03:48:57 -0500 received badge  Famous Question (source)
2018-12-21 08:11:44 -0500 received badge  Nice Question (source)
2018-04-16 15:16:08 -0500 marked best answer Broken message runtime dependencies

Hey guys,

I accidentally deleted something out of my apt/sources.list and I didn't see the name before it got deleted.

Now whenever I try to use apt-get install I get this message:

The following packages have unmet dependencies: ros-hydro-message-runtime : Depends: ros-hydro-cpp-common but it is not going to be installed Depends: ros-hydro-roscpp-serialization but it is not going to be installed Depends: ros-hydro-roscpp-traits but it is not going to be installed Depends: ros-hydro-rostime but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

How do I fix this?

2017-09-25 03:33:55 -0500 marked best answer How to use GMapping

Hey everyone,

I'm honestly surprised I have not been able to find a similar question anywhere. I am just getting started with ROS and I would like to start using gmapping for SLAM.

The robot I am using has a kinect and publishes odometry data through a topic called /Odometry. I used depthimage_to_laserscan to convert the kinects native output to the laser scan that gmapping wants. I confirmed that this works using rviz.

My problem comes when it is time to use gmapping. I don't really know what I need to do or provide to make gmapping work. From reading the documentation (And I can't say I understand too much of it) it seems like this is all I need to do:

rosrun gmapping slam_gmapping scan:=scan

However when I run this nothing happens. And I can't say I would expect otherwise, because I have not told gmapping where it can find my odometry. The documentation also mentioned something about required transforms, but I don't have any, know how to make any, or how to provide them when I have them.

What I need, and I'm sure other people need as well, is some kind of beginners guide to using gmapping. If any of you guys can help me with my specific problem, that would be great, or if you could direct me to a tutorial I overlooked (not the logged data one) that would be even better.

More on my actual problem: When I run gmapping using the command I wrote above, rviz complains that there is no transform that links my laser scanner to the map and the terminal window where I ran gmapping just replays the message "Dropped 100% of messages so far"

Thanks in advance for your help!

2017-08-11 23:02:01 -0500 received badge  Famous Question (source)
2017-05-07 04:58:21 -0500 received badge  Famous Question (source)
2017-03-31 09:57:08 -0500 received badge  Notable Question (source)
2017-03-08 05:12:08 -0500 received badge  Famous Question (source)
2017-01-26 11:42:15 -0500 received badge  Nice Answer (source)
2016-12-20 20:47:25 -0500 received badge  Famous Question (source)
2016-10-30 10:18:45 -0500 received badge  Famous Question (source)
2016-10-25 08:11:12 -0500 received badge  Notable Question (source)
2016-10-05 20:18:05 -0500 received badge  Popular Question (source)
2016-07-12 09:20:36 -0500 received badge  Popular Question (source)
2016-07-12 03:19:51 -0500 commented question Why does ROS use macros for logs?

Interesting observation! And since __LINE__ and __FILE__ are read by the preprocessor, something like an inline function wouldn't be able to use them.

2016-07-12 01:33:04 -0500 asked a question Why does ROS use macros for logs?

This is purely an academic question, to sate my curiosity.

What were the advantages gained by using macros as the logging interface for C++, and not some ros::logError() function? Is there a reason this approach was chosen? As I understand, most people in the C++ community hate macros with a passion, so it seems odd to see them used for something that seems trivially accomplished through other means.

Thanks!

2016-06-23 03:33:50 -0500 received badge  Notable Question (source)
2016-05-09 20:55:37 -0500 marked best answer Turtlebot2 does not move in Gazebo

Hi all!

So according to this tutorial: http://wiki.ros.org/turtlebot_simulator/Tutorials/hydro/Explore%20the%20Gazebo%20world

All I need to do to tele-op the turtlebot2 in gazebo is:

roslaunch turtlebot_gazebo turtlebot_empty_world.launch
roslaunch turtlebot_teleop keyboard_teleop.launch

However when I do this, the turtlebot does not move. I have also tried running:

roslaunch turtlebot_bringup minimal.launch

and creating a python node to move it, all to no avail. What am I missing?

Thank you to bit-pirate for catching my missing specs: Ubuntu 12.04, ROS Hydro, i used sudo apt-get install ros-hydro-turtlebot* to get the packages.

EDIT: My Turtlebot2 simulation IS MOVING, however it is moving so slow that you can't even see it move unless you leave Gazebo running for a while and come back to it. How can I make Gazebo run faster?

2016-05-06 09:22:11 -0500 received badge  Popular Question (source)
2016-05-06 09:22:11 -0500 received badge  Popular Question (source)
2016-05-04 07:54:43 -0500 received badge  Self-Learner (source)
2016-05-03 17:15:22 -0500 answered a question Costmap not inflating all obstacles

Hi all,

The problem was the ordering of the plugins. If the inflation_layer plugin gets loaded before the obstacle_layer plugin, you get the above behavior. Loading the obstacle layer first solves this problem.

2016-05-02 13:02:35 -0500 asked a question Costmap not inflating all obstacles

Hi all,

Sometimes my local costmap does not inflate all obstacles. It marks everything that it should as LETHAL, but then doesn't mark some of the cells around the lethal cells. Picture attached for reference.

image description

Might this be a bug in the inflation_layer? I've used dynamic_reconfigure to play with my costmap settings and nothing has helped it.

ROS Indigo standard navigation stack

2016-04-19 20:35:06 -0500 received badge  Guru (source)
2016-04-19 20:35:06 -0500 received badge  Great Answer (source)
2016-03-29 10:35:28 -0500 received badge  Notable Question (source)
2016-03-26 13:59:20 -0500 marked best answer Cannot import custom service

Hi everyone!

I made a custom service following this tutorial: http://wiki.ros.org/ROS/Tutorials/Cre...

I edited the CMakeLists.txt and package.xml files as instructed.

I can see my service when I run rossrv list, but the .py file does not appear in devel/lib/python2.7/dist-packages/my_package/srv. The full path exists, but the srv directory is empty.

When I try and import the service in my python file using

from my_package.srv import my_service

I get the error:

ImportError: No module named srv

Here is my CMakeLists.txt file for your review:

cmake_minimum_required(VERSION 2.8.3)
project(my_package)


find_package(catkin REQUIRED COMPONENTS
  geometry_msgs
  nav_msgs
  roscpp
  rospy
  std_msgs
  message_generation
)


add_service_files(
  FILES
  my_service.srv
)


 generate_messages(
   DEPENDENCIES
   geometry_msgs   nav_msgs   std_msgs  
 )

catkin_package(
  CATKIN_DEPENDS geometry_msgs nav_msgs roscpp rospy std_msgs message_runtime
)


include_directories(
  ${catkin_INCLUDE_DIRS}
)

Any help?

Ubuntu 12.04 ROS Hydro

2016-03-01 18:07:45 -0500 marked best answer rosbag will not create bag file

Hi everyone!

I am running rosbag from a launch file, and the terminal says the process starts cleanly. After ending the process however, I cannot find the bag file and all my data is lost. Here is the launch file:

<launch>
    <include file="$(find AK_Loc)/launch/ak_localize.launch" />

    <node name="Command_Predictor" pkg="cmd_predictor" type="TL_Predictor.py" />

    <node pkg="rosbag" type="record" name="cmds" args="-o act_and_pred_cmds /actCmds /cmdPreds" />

</launch>

and I am running ROS Groovy on Ubuntu 12.04.

Any ideas? Thanks in advance!

2016-02-02 12:04:10 -0500 commented question SimpleActionGoalState doesn't include INACTIVE

Thank you mig, you are correct.

2016-02-02 02:56:54 -0500 received badge  Famous Question (source)
2016-01-27 13:19:40 -0500 asked a question SimpleActionGoalState doesn't include INACTIVE

Hi everyone,

I needed to check to see if my SimpleActionClient had sent a goal to the ActionServer, and if it had, whether it was in progress or finished. I wanted to use the getState() method, but if you use getState before a goal is given, you get an error saying "Trying to getState() when no goal is running. You are incorrectly using SimpleActionClient". In light of this, I settled for a simple member variable boolean flag. While this works, I would prefer to only have to deal with one interface when asking about the status of an action.

Why doesn't SimpleActionGoalState include an INACTIVE state which can be returned when no goal has been sent by the Client?