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

Willy Lambert's profile - activity

2015-07-03 13:32:24 -0500 received badge  Great Question (source)
2014-01-28 17:25:21 -0500 marked best answer Using rosmake offline

Hi

I am on electric in a Debian squeeze linux. everything is working perfectly for now when I am online (I mean with an internet connection).

But as soos as I loose the web connection, rosmake don't want to work anymore with this :

ard@ard-host(9.2):~$ rosmake arp_master
[ rosmake ] Packages requested are: ['arp_master']                              
[ rosmake ] Logging to directory/opt/ros/rosmake/rosmake_output-20120416-223036 
[ rosmake ] Expanded args ['arp_master'] to:
['arp_master']                     
[ rosmake ] Checking rosdeps compliance for packages arp_master.  This may take a few seconds.
Traceback (most recent call last):
  File "/opt/ros/ros/bin/rosmake", line 65, in <module>
    if rma.main():
  File "/opt/ros/ros/tools/rosmake/src/rosmake/engine.py", line 865, in main
    self.rosdep_check_result = self.check_rosdep(buildable_packages)
  File "/opt/ros/ros/tools/rosmake/src/rosmake/engine.py", line 296, in check_rosdep
    failed_rosdeps = r.check()
  File "/opt/ros/ros/tools/rosdep/src/rosdep/core.py", line 449, in check
    if not self.install_rosdep(r, rdlp, default_yes=False, execute=False, display=display):
  File "/opt/ros/ros/tools/rosdep/src/rosdep/core.py", line 527, in install_rosdep
    my_installer = installer(rosdep_dict[mode])
  File "/opt/ros/ros/tools/rosdep/src/rosdep/installers.py", line 130, in __init__
    raise rosdep.core.RosdepException("Failed to load a rdmanifest from %s, and no alternate URI given"%(self.url))
RosdepException: Failed to load a rdmanifest from https://kforge.ros.org/rosrelease/viewvc/sourcedeps/eigen/eigen-3.0.1-1.rdmanifest, and no alternate URI given
Traceback (most recent call last):
  File "/opt/ros/ros/bin/rosmake", line 65, in <module>
    if rma.main():
  File "/opt/ros/ros/tools/rosmake/src/rosmake/engine.py", line 865, in main
    self.rosdep_check_result = self.check_rosdep(buildable_packages)
  File "/opt/ros/ros/tools/rosmake/src/rosmake/engine.py", line 296, in check_rosdep
    failed_rosdeps = r.check()
  File "/opt/ros/ros/tools/rosdep/src/rosdep/core.py", line 449, in check
    if not self.install_rosdep(r, rdlp, default_yes=False, execute=False, display=display):
  File "/opt/ros/ros/tools/rosdep/src/rosdep/core.py", line 527, in install_rosdep
    my_installer = installer(rosdep_dict[mode])
  File "/opt/ros/ros/tools/rosdep/src/rosdep/installers.py", line 130, in __init__
    raise rosdep.core.RosdepException("Failed to load a rdmanifest from %s, and no alternate URI given"%(self.url))
rosdep.core.RosdepException: Failed to load a rdmanifest from https://kforge.ros.org/rosrelease/viewvc/sourcedeps/eigen/eigen-3.0.1-1.rdmanifest, and no alternate URI given

I think this may be due to packages that are trying to getting dependencies online.

Does anyone has the same behavior ? Does anyone now how to go over this ?

UPDATE :

After correcting Cmake logic and manifests, the problem is still here.

What allows me to overcome this problem is not to define the <rosdep name="eigen"> line in my manifest. This is because eigen3 is already installed, but rosdep is always trying to connect to the net to get the last version. Is this a bug of rosdep ?

I can isolate the problem just doing "rosdep install" (so the problem seems to be in rosdep instead of rosmake ... (more)

2014-01-28 17:23:07 -0500 marked best answer How to handle OS Dependant manifest.xml ?

Hi all,

I am working with a double gnulinux/xenomai system. The switch from one to the other is done like Orocos does with the "OROCOS_TARGET" env variable. But When I have a package depending of another, I need to define 2 different manifest, for exemple :

<export>
    <cpp cflags="-L${prefix}/lib -larp_core-gnulinux"/>
</export>

or

    <export>
    <cpp cflags="-L${prefix}/lib -larp_core-xenomai"/>
</export>

How could I handle this ?

2014-01-28 17:22:35 -0500 marked best answer How to find the list of stack on which you depend ?

Hi,

I have a personnal stack "ard", and I would like to find the list of other stack I depend on. I have all my packages that declares other dependencies in their manifest.xml, and I would like to create the list of stacks that contains a package that is in all those manifests.

They underground aim is to create a "ligth" embedded ros distribution with only the required stuff for the robot, and keep a full ROS electric distribution on my development host.

An easy way would be to copy all directories find by "rosstack depends ard" but this suppose that my stack.xml file is completed correctly, but it is currently out of sync with the bunch of manifest.xml. So is it a way to automate this completion ?

2014-01-28 17:22:31 -0500 marked best answer rosmake failed : AttributeError: 'NoneType' object has no attribute 'timeout'

I do'nt know what I changed but since a short time rosmake doesn't want to work anymore. Note that I am using a Dedian squeeze 6.0.1 2.6.35.7 64b with Electric (so it may be an electric issue, but I really don't think it is).

here is the complete log :

ard@ard-host:/media/data/ros_electric/ard$ rosmake arp_master [ rosmake ] Packages requested are: ['arp_master'] [ rosmake ] Logging to directory/opt/ros/rosmake/rosmake_output-20110728-225747 [ rosmake ] Expanded args ['arp_master'] to: ['arp_master']
[ rosmake ] Checking rosdeps compliance for packages arp_master. This may take a few seconds.
Traceback (most recent call last):
File "/media/data/ros_electric/ros/bin/rosmake", line 63, in <module> if rma.main(): File "/media/data/ros_electric/ros/tools/rosmake/src/rosmake/rosmake.py", line 857, in main self.rosdep_check_result = self.check_rosdep(buildable_packages) File "/media/data/ros_electric/ros/tools/rosmake/src/rosmake/rosmake.py", line 288, in check_rosdep failed_rosdeps = r.check() File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/core.py", line 463, in check if not self.install_rosdep(r, rdlp, default_yes=False, execute=False, display=display):
File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/core.py", line 539, in install_rosdep my_installer = installer(rosdep_dict[mode]) File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/installers.py", line 133, in __init__ contents = fetch_file(self.alt_url, self.md5sum) File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/installers.py", line 80, in fetch_file fh= urllib2.urlopen(url) File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 382, in open req.timeout = timeout AttributeError: 'NoneType' object has no attribute 'timeout' Traceback (most recent call last): File "/media/data/ros_electric/ros/bin/rosmake", line 63, in <module> if rma.main(): File "/media/data/ros_electric/ros/tools/rosmake/src/rosmake/rosmake.py", line 857, in main self.rosdep_check_result = self.check_rosdep(buildable_packages) File "/media/data/ros_electric/ros/tools/rosmake/src/rosmake/rosmake.py", line 288, in check_rosdep failed_rosdeps = r.check() File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/core.py", line 463, in check if not self.install_rosdep(r, rdlp, default_yes=False, execute=False, display=display):
File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/core.py", line 539, in install_rosdep my_installer = installer(rosdep_dict[mode]) File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/installers.py", line 133, in __init__ contents = fetch_file(self.alt_url, self.md5sum) File "/media/data/ros_electric/ros/tools/rosdep/src/rosdep/installers.py", line 80, in fetch_file fh= urllib2.urlopen(url) File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 382, in open req.timeout = timeout AttributeError: 'NoneType' object has no attribute 'timeout'

2014-01-28 17:22:04 -0500 marked best answer What is the difference between canonical_scan_matcher and polar_scan_matcher ?

My main question after having read quickly the ROS documentation is the difference beetween the canonical and the polar scan matching.

I know there must be answers in the related documentations : http://www.irrc.monash.edu.au/adiosi/... http://www.cds.caltech.edu/~andrea/re...

But, it'll help to have a synthesis of differences (I imagin it is about performance on axis, robustness, consumed cpu ...) on the scan_tools main page. Just some words for newbies like me in this domain :)

2014-01-28 17:22:03 -0500 marked best answer Is it possible to change "msg" and "srv" folder position in a package ?

As I am working on a multi-framework environment I wanted to separate what is related to ROS from the other. I would like to put the "msg" and "srv" folder into ros/msg and ros/srv. Is there any Cmake variable to configure this ?

In the same way, I would like to customize the position of srv_gen and msg_gen, is there also a variable ?

2014-01-28 17:21:52 -0500 marked best answer Parallel compilation : does --jobs works ?

Hi,

I have a debian installation of Diamondback and I did not succeed usung parallel compilation. I may build 2 packages at the same time using --threads, but when only building one package I can't ask it to build in parallel the exe. If I go into my package I can run make -j3 without any problem and it works.

Is it an issue in my CMakeLists or a rosmake issue ?

2014-01-28 17:21:39 -0500 marked best answer How to create an executable in the $package/bin directory ?

I tried to use this in my CMakefile :

rosbuild_add_executable(arp_core.arp arp_core_main.c) INSTALL(TARGETS arp_core.arp RUNTIME DESTINATION bin)

but the exe does go into the bin directory, it stays in the root of the package folder.

I also defined theses : set( CMAKE_INSTALL_PREFIX ${${CMAKE_PROJECT_NAME}_SOURCE_DIR}) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

2014-01-28 17:21:39 -0500 marked best answer Including a package dependency in your personnal packages

I am a quite new ROS user and created my ros package which take a dependency (in my case eigen) I took my ages to find how to build this with thefollowing lines in my CMakelists.txt :

#add the eigen dependency rosbuild_find_ros_package( eigen ) include_directories( ${eigen_PACKAGE_PATH}/include/src )

At the end it seems logical. I don't know if it is about my low knownledge about CMake, but I passed sometime searching in the documentation without any clue about this. First question, is it documented somewhere ? If not I would like to update the documentation but I don't know where is the rigth place : http://www.ros.org/wiki/rosbuild/CMak... : adding the use of another package for building, espacially the "include" directory (not so easy to find this page from scratch) http://www.ros.org/wiki/rosbuild/CMak... : adding details about what you have to do after http://www.ros.org/wiki/eigen/Tutorials : adding the details in each packages tutorial "how to use me ?"

Then, is it a roadmap in ROS on how a package gives the information to being used ? In my example is the include_directories( ${eigen_PACKAGE_PATH}/include/src ) package specific ? or is it a ROS habits ?

Isn't it the job of ros dependencies system to add the includes ? for example in the <export> section of the manifest.xml ?

2014-01-28 17:21:37 -0500 marked best answer How may I find the version of an installed stack ?

when a stack is not in the .rosinstall file, do I have a mean to know what's the package version.

To be concrete I don't know if which version of orocos_toolcahin_ros is installed http://www.ros.org/wiki/orocos_toolch...

2013-10-26 11:43:19 -0500 received badge  Nice Question (source)
2013-03-08 05:49:10 -0500 received badge  Popular Question (source)
2013-03-08 05:49:10 -0500 received badge  Famous Question (source)
2013-03-08 05:49:10 -0500 received badge  Notable Question (source)
2012-11-26 06:49:38 -0500 received badge  Famous Question (source)
2012-11-26 06:49:38 -0500 received badge  Popular Question (source)
2012-11-26 06:49:38 -0500 received badge  Notable Question (source)
2012-11-14 10:05:18 -0500 received badge  Famous Question (source)
2012-11-14 10:05:18 -0500 received badge  Popular Question (source)
2012-11-14 10:05:18 -0500 received badge  Notable Question (source)
2012-09-24 01:31:33 -0500 received badge  Notable Question (source)
2012-09-24 01:31:33 -0500 received badge  Famous Question (source)