ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2016-06-20 06:35:49 -0500 | received badge | ● Nice Question (source) |
2016-01-11 06:03:26 -0500 | received badge | ● Good Answer (source) |
2015-08-31 21:16:14 -0500 | marked best answer | Compilation error ROS_PACKAGE_PATH in groovy Hi all, I recently installed groovy. I'm trying to rosmake my packages but I getting this error all the time: My environment variables: I'm running ROS groovy on Ubuntu 12.04. Any idea what is missing in the environment configuration? or why rosmake complains about the ROS_PACKAGE_PATH? |
2015-01-25 13:48:40 -0500 | received badge | ● Notable Question (source) |
2015-01-25 13:48:40 -0500 | received badge | ● Famous Question (source) |
2015-01-25 13:48:40 -0500 | received badge | ● Popular Question (source) |
2014-04-20 06:48:31 -0500 | marked best answer | How to create a diff file from gazebo development version Hi everyone! I downloaded the gazebo development version and I'm working on it. How can I create a diff file of all gazebo package (including the sourcecode) to see my changes and easily make a patch?? I downloaded the simulator gazebo from: svn co https://code.ros.org/svn/ros-pkg/stacks/simulator_gazebo/branches/simulator_gazebo-1.2 ~/simulator_gazebo/ Added the new simulator gazebo path to ROS_PACKAGE_PATH and build. It takes like 700 seconds and then all is OK, in build folder is all the source code. If I do a "svn st" all the folders are with a "?" If I do a svn info it returns: Path: . URL: https://code.ros.org/svn/ros-pkg/stacks/simulator_gazebo/branches/simulator_gazebo-1.2/gazebo
Repository Root: https://code.ros.org/svn/ros-pkg
Repository UUID: eb33c2ac-9c88-4c90-87e0-44a10359b0c3
Revision: 38270 And if I do a svn diff it don't return anything (even if a made some changes in the source code). What am I doing wrong? or what is the proper way of do it? |
2014-04-20 06:48:14 -0500 | marked best answer | rosmake --pre-clean without svn update Hi, I was working with "simulator_gazebo" developers version adding some sensors, now that i'm done and want to integrate my package into my repository, it should be easy but it isn't! The problems is when i do a "make clean" or a "rosmake --pre-clean" (fresh make) the package is pre-configured to download the package from his original repository and after that all my work is lost because it overwrite my code with the original version.... Where is the svn configuration of the package or how can I avoid that the package is svn updated doing make clean or rosmake --pre-clean?? I see several files that specify a SVN_URL, SVN_PACKAGE, SVN_PATCH... but i don't know which or how i should modify it. Thanks |
2014-04-20 06:48:13 -0500 | marked best answer | Moving packages to different directory Hi all, I was working on a package in a folder (~/workspace/Mypackage) the package was originally at this place when i came. I work on it and now that is ready I want to move it to (~/svn/stacks/Mypackage) this in order to update the svn repository with my modifications. I copy the entire folder, delete the CMakeCache.txt (" So ROS only know the package at svn folder... When i delete the original package (the one at workspace) and then re-run my package it fails. If i rebuild it, it say that it dind't find some files (at the build folder in workspace location) How i should do the transition between my packages? and why it complain for some files (the folders are exactly the same) how i should rebuild in order to generate all the files needed in the new location? UPDATE: The error that return the package when i move it to a different location is that it doesn't find the files included "No such file or directory" Thanks |
2014-04-20 06:48:13 -0500 | marked best answer | irBeams inside IRSensor I'm working with gazebo simulator, in the IRSensor.hh file (in gazebo/build/gazebo/server/sensors/ir/IRSensor.hh) is declared And then, in the IRSensor.cc file (in gazebo/build/gazebo/server/sensors/ir/IRSensor.cc) is used this structure in order to use the parameters of the sensor like But this structure is nowhere defined or filled inside this file. How is this possible? Where is it? I ask because i try to use this function (GetIRCount) after configuring a IRSensor through a XML file and it always return 0 because it is empty and i really don't why. https://kforge.ros.org/gazebo/trac/browser/server/sensors/ir/IRSensor.cc |
2014-04-20 06:48:12 -0500 | marked best answer | Gazebo IRSensor parameters configuration xml Hi everyone, I was working with simulator_gazebo developer version to create IR and SonarSensor for gazebo (in diamondback), and i made it!! but now, in order to use my work everyone need to install my modified gazebo instead of using the ros gazebo (this because i needed to modify some gazebo files in order to make it work). Because of that I'll try to implement my sensors without modifying the original gazebo simulator code (a proper plugin). But i have now some problems, my function for IR readings do (i create my own package and i mimic the hokuyo node implementation): The getIRCount() always return 0, and then my code doesn't read. (This GetIRCount() is a function from IRSensor.hh (gazebo/gazebo/include/gazebo) it should return the number of ir specified in the configuration xml file, looking the source code the reading from xml inside https://kforge.ros.org/gazebo/trac/browser/server/sensors/ir/IRSensor.cc">IRSensor do: This mean that irBeams isn't fulfilled anywhere and then it's always 0. Looking at the source code I didn't find where the irBeams is created and fulfilled. In my loading parameters xml (for pr2) i do: Where gazebo load/save the configuration parameters? How is the good way to configure the IRSensor parameters in order to use my implementation? |
2014-04-20 06:48:09 -0500 | marked best answer | how to create a patch Hi I'm working with gazebo simulator and I developed some new stuff (sensors) that i would like to share, what is the normal procedure to do that? To share my package, have I to send my entire gazebo package (with my modifications)? or, should I do something like: diff -rupN original/ new/ > original.patch And send only the patch-file? I ask this because i want to try it in other PC before share it with the whole community. |
2014-04-20 06:48:07 -0500 | marked best answer | vslam, Running on Your Own Data Hi all! I want to use the vslam package in diamondback for visual odometry. I made all the installation steps, downloaded the stereo tutorial data and tested. It works fine, but know i have some problems trying to use my own data instead of the tutorial bag. In the section "1.4 Running on Your Own Data" you explain how to use your own data just changing some lines in the stereo_vslam.launch. My bag had the stereo images unsynchronized, I play my bag and launch the sync_images node and had the stereo images synchronized. But still have some problems using the vslam node. I can run the sync images and the vslam_system without problems, but when i play the bag the vslam_system node says: [wide_stereo/stereo_vslam_node-1] process has died [pid 20722, exit code -11]. log files: /home/joser/.ros/log/d398d566-cdd9-11e0-8873-f30ac7586bf8/wide_stereo-stereo_vslam_node-1*.log The only difference that i can see between the playing the two bags (tutorial and my own) using the rxgraph is the subscription of "/tf" topic (with the tutorial bag the vslam_node achieved the subscription and with my bag it didn't) In the log file it say : [roscpp_internal] [2011-08-24 00:47:55,900] [thread 0x7f53a928c860]: [DEBUG] XML-RPC call [searchParam] returned an error (-1): [Cannot find parameter [tf_prefix] in an upwards search] |
2014-04-20 06:47:23 -0500 | marked best answer | vslam tutorial CameraInfo error Hi all, I am running the vslam tutorial, I achieved to compile it but like other I got an error in the vslam-tutorial.bag $ rosbag play --clock /path/to/your/bag/vslam_tutorial.bag Client [/wide_stereo/stereo_vslam_node] wants topic /wide_stereo/right/camera_info to have datatype/md5sum [sensor_msgs/CameraInfo/c9a58c1b0b154e0e6da7578cb991d214], but our version has [sensor_msgs/CameraInfo/1b5cf7f984c229b6141ceb3a955aa18f]. Dropping connection. Client [/wide_stereo/stereo_vslam_node] wants topic /wide_stereo/left/camera_info to have datatype/md5sum [sensor_msgs/CameraInfo/c9a58c1b0b154e0e6da7578cb991d214], but our version has [sensor_msgs/CameraInfo/1b5cf7f984c229b6141ceb3a955aa18f]. Dropping connection. if I still want to use the vslam-tutorial.bag, how can I change the CameraInfo or what can I do to solve this problem? Thanks |
2014-01-28 17:27:26 -0500 | marked best answer | Gazebo empty_world simulation crash in Fuerte I recently move from Electric to Fuerte. Now if I try to launch a gazebo simulation, it crashed all the time. I Found this related question [http://answers.ros.org/question/34209/gazebo-failed-on-virtualbox-with-fuerte/] But in my case I'm running the simulation on a real machine instead of the virtual one Here is the error: I'm trying to run the simulation in a HP pavillion dv3: (more) |
2014-01-28 17:24:49 -0500 | marked best answer | costmap clearing Hello! I'm working with the navigation stack and I found some issues in the costmap clearing. I have one laser and some sonars and I use all of them to build the costmap. With the laser all works fine (the marking and clearing is done ok) with my sonars instead some of the obstacles remains in the costmap even if the sonar is publishing max_range. Each sonar is referenced to base link while the laser is refereced to base_laser_link in the costmap_common_params.yaml: |
2014-01-28 17:23:38 -0500 | marked best answer | voxel_grid visualization in rviz Hi all! I'm working with the navigation stacks, I made a costmap_2d/VoxelGrid with all my sensor data in it and I use this to navigate through the environment. I can see the laser and all my sensor in rviz but it would be nice to just visualize my costamp (VoxelGrid data type) instead of all the sensor separately. Is it possible to visualize the costamp_2d in rviz?? of is there any plug-in to convert my costmap in a data type that rviz can plot?? Thanks! |
2014-01-28 17:23:36 -0500 | marked best answer | rosmake don't create .so file for gazebo plugins Hello! I made some gazebo plugins (a diffdrive and a range sensor) and it works fine. The problem that i have is if I do just a rosmake of my packages it compiles but don't generate the ".so" library plugin. I have to do separately a "cmake ." and later a "make" in order to obtain the ".so" file. Anyone knows why is it happening? or is it the normal procedure? Thanks CMakeList.txt Makefile |
2014-01-28 17:23:24 -0500 | marked best answer | How to debug gazebo Hi all, I'm migrating to electric and i have some issues setting my gazebo simulation on, i can launch gazebo and my .world map and i seem to works fine (i had to make some changes to remove some errors but in this moment all seem to work fine) now i'm including my robot into the simulation, the problems is that i try to mimic the pr2 launch file to load the world and the robot, but when gazebo start, loads the world and then anything happen... it doesn't fail but also it doesn't load my robot model, i don't know where is stall... is there some way to run gazebo in "debug" mode to see what is happening?, or is a way to add some lines in the xml/launchs files to print messages? or is there any file that gazebo should write the issues (different that /tmp/gazebo*) ? Thanks |
2014-01-28 17:23:23 -0500 | marked best answer | AMCL freeze Hi all, I'm using the AMCL node to localize my robot, I launch the AMCL and localized the robot whitin rviz (using default configuration rosrun amcl amcl scan:=laser), I see the particle cloud and all seem to work fine, then when i start to move the robot the particles freeze out. The AMCL node don't report any issue but still it doesn't publish anything. I was trying different configurations and i realize that if i set the maximun particle number up to 500 the node work fine and it doesn't freeze out, for any particle cloud larger than that the AMCL stop working Any advice? |