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

Gonçalo Cabrita's profile - activity

2022-04-12 16:13:46 -0500 received badge  Taxonomist
2020-05-14 19:23:36 -0500 received badge  Famous Question (source)
2020-03-10 22:37:50 -0500 received badge  Notable Question (source)
2020-02-11 02:12:33 -0500 received badge  Popular Question (source)
2020-02-10 09:46:30 -0500 commented answer Whats the proper way to use a proprietary software license according to ament_copyright?

So I just experimented cloning the ament_copyright package to my workspace, added my proprietary license to ament_copyri

2020-02-05 13:49:48 -0500 commented answer Whats the proper way to use a proprietary software license according to ament_copyright?

Yes I understood that, let me rephrase, I like having the information on the files thus I like the idea of having the te

2020-02-05 13:22:52 -0500 commented answer Whats the proper way to use a proprietary software license according to ament_copyright?

Extending the package seems like a very good option for this use case, I'll give it a try and report on my findings.

2020-02-05 13:21:40 -0500 commented answer Whats the proper way to use a proprietary software license according to ament_copyright?

That's definitely an option, thinking about it licensing is extremely relevant for open source software, maybe not so mu

2020-02-05 13:20:32 -0500 marked best answer Whats the proper way to use a proprietary software license according to ament_copyright?

I'm exploring ROS2, and I'm currently looking into unit testing.

I'm running the following commands,

colcon test
colcon test-result --verbose

I'm always getting a warning for a missing license:

test/test_something.py: copyright=My Company (2020), license=<unknown>

This is the header for my test_something.py file:

# Copyright 2020 My Company
# Proprietary License

Whats the proper text to include in the header for the warning to go away, for a Proprietary Software License? I've taken a look at the ament_copyright documentation but I didn't find an answer to my question.

2020-02-05 06:42:25 -0500 asked a question Whats the proper way to use a proprietary software license according to ament_copyright?

Whats the proper way to use a proprietary software license according to ament_copyright? I'm exploring ROS2, and I'm cur

2019-02-24 01:42:28 -0500 received badge  Good Answer (source)
2016-10-20 01:07:58 -0500 received badge  Great Question (source)
2015-01-13 11:55:30 -0500 received badge  Nice Answer (source)
2014-04-20 06:52:50 -0500 marked best answer Is it possible to compile Wmake projects in ROS?

I am trying to compile a ROS node using OpenFOAM C++ libraries. OpenFOAM uses Wmake while ROS uses Cmake. How can I modify my CMakeLists.txt file so that the Cmake can:

  1. Find the OpenFOAM .H files recursively installed in /opt/openfoam211/src
  2. Find the pre-compiled OpenFOAM libraries (.so) also in /opt/openfoam211/platforms/linuxGccDPOpt/lib

I tried making a small Cmake script to recursively add all directories containing .H files using include_directories(). It finds all the .H files but I get the following error:

c++: error trying to exec 'usr/lib/gcc/i686-linux-gnu/4.6/cc1plus': execv: Argument list too long

I'm guessing I'm getting all the .H files making an enormous argument list.

I used target_link_libraries() for linking the libraries but I have no idea if it works since it never reaches that stage.

I'm using ROS fuerte on an Ubuntu 12.04 VM on Mac OS X Lion.

Thanks in advance!!!

2014-04-20 06:51:36 -0500 marked best answer Where can I download swistrack for ROS?

Hi everyone! I noticed that swistrack appears as one of the many stacks that uses roscpp however there's no wiki page, thus I have no idea where to download the source from.

Does anyone know where swistrack for ROS is hosted?

Best regards,

Gonçalo Cabrita

2014-04-20 06:50:53 -0500 marked best answer How to compile stage on Mac OS X Lion?

Hi!

I'm trying to compile stage on my OS X but I'm getting an error with libjpeg:

$ rosmake stage --rosdep-install Using environment variable ROS_OS_OVERRIDE name = osxbrew version = lion [ rosmake ] Packages requested are: ['stage']
[ rosmake ] Logging to directory/Users/user/.ros/rosmake/rosmake_output-20120316-145058
[ rosmake ] Expanded args ['stage'] to: ['stage']
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . . Using environment variable ROS_OS_OVERRIDE name = osxbrew version = lion Failed to find rosdep libjpeg for package stage on OS:osxbrew version:lion [ rosmake ] rosdep install failed: Rosdep install failed

Also:

$ brew install libjpeg Warning: jpeg already installed

I followed the Homebrew Mac OS X install tutorial here: http://www.ros.org/wiki/electric/Installation/OSX/Homebrew

My version of OS X is 10.7.3

Thanks in advance!

2014-04-20 06:50:17 -0500 marked best answer How to rosmake pcl_ros in Mac OS X?

Hi everyone!

I'm trying to rosmake pcl_ros but I'm bumping into this error:

{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package pcl_ros
  [rosbuild] Cached build flags older than manifests; calling rospack to get flags
  Failed to invoke /Users/cabrita/ros/ros/bin/rospack cflags-only-I;--deps-only pcl_ros
  CMake Error at /usr/local/lib/vtk-5.8/VTKTargets.cmake:16 (ADD_EXECUTABLE):
    Command add_executable() is not scriptable
  Call Stack (most recent call first):
    /usr/local/lib/vtk-5.8/VTKConfig.cmake:231 (INCLUDE)
    /usr/local/Cellar/cmake/2.8.7/share/cmake/Modules/FindVTK.cmake:73 (FIND_PACKAGE)
    /Users/cabrita/ros/perception_pcl/pcl/vtk_include.cmake:1 (find_package)


  [rospack] warning: got non-zero exit status from executing backquote expression "ret="-I/Users/cabrita/ros/perception_pcl/pcl/include/pcl-1.1/ -I`cmake -P /Users/cabrita/ros/perception_pcl/pcl/vtk_include.cmake`" && echo $ret" in [/Users/cabrita/ros/perception_pcl/pcl/manifest.xml]
  [rospack] error in backquote expansion for pcl_ros


  CMake Error at /Users/cabrita/ros/ros/core/rosbuild/public.cmake:129 (message):


    Failed to invoke rospack to get compile flags for package 'pcl_ros'.  Look
    above for errors from rospack itself.  Aborting.  Please fix the broken
    dependency!

  Call Stack (most recent call first):
    /Users/cabrita/ros/ros/core/rosbuild/public.cmake:230 (rosbuild_invoke_rospack)
    CMakeLists.txt:4 (rosbuild_init)


  -- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}

I have vtk installed:

$ brew install vtk
Warning: vtk already installed

I am running Mac OS X Lion 10.7.3 and ROS electric, I followed the tutorial on how to install ROS using Homebrew. Any suggestions? Thanks in advance!

2014-04-20 06:50:02 -0500 marked best answer Tools bar missing from rviz on Mac OS X

Hi everyone!

I've just noticed that my rviz is not showing the Tools bar, this is the bar on the top that has buttons for moving the camera, selecting, setting goals, etc.

I installed ros electric using the homebrew tutorial. My Mac OS X version is 10.7.3. Rviz compiled just fine, though I do get some warnings at the rviz startup.

Does anyone else have this problem? Any ideas on how to get the Tools bar?

2014-04-20 06:50:00 -0500 marked best answer How can a Vector3 axis be used to produce a Quaternion?

Hi everyone!

I'm extracting a cylinder using PCL and the Kinect as shown in this tutorial:

http://pointclouds.org/documentation/tutorials/cylinder_segmentation.php#cylinder-segmentation

One of the characteristics of the cylinder that the algorithm provides me with is its axis. In order to show it in rviz as a Marker however I need to convert this Vector3<x, y, z> into a Quaternion<x, y, z, w>.

I am aware that both things cannot hold the same information, I am trying to calculate the look at quaternion given to me by the vector that represents the axis of the cylinder that provides me a direction and not a rotation. How do I do that?

Thanks!

2014-04-20 06:49:53 -0500 marked best answer Why can't ogre_tools find wxWidgets for rviz on OS X?

Hi!

I'm trying to compile rviz on Mac OS X Lion 10.7.3 but I'm having some problems with ogre_tools and wxWidgets. Apparently ogre_tools is not finding wxWidgets. Here's the output:

{------------------------------------------------------------------------------- mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake .. [rosbuild] Building package ogre_tools [rosbuild] Including /Users/cabrita/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake [rosbuild] Including /Users/cabrita/ros/ros_comm/clients/rospy/cmake/rospy.cmake [rosbuild] Including /Users/cabrita/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake CMake Error at /usr/local/Cellar/cmake/2.8.7/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find wxWidgets (missing: wxWidgets_FOUND) Call Stack (most recent call first): /usr/local/Cellar/cmake/2.8.7/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/2.8.7/share/cmake/Modules/FindwxWidgets.cmake:831 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:17 (find_package)

-- Configuring incomplete, errors occurred! -------------------------------------------------------------------------------} [ rosmake ] Output from build of package ogre_tools written to: [ rosmake ] /Users/cabrita/.ros/rosmake/rosmake_output-20120319-140458/ogre_tools/build_output.log [rosmake-2] Finished <<< ogre_tools [FAIL] [ 0.71 seconds ]
[ rosmake ] Halting due to failure in package ogre_tools. [ rosmake ] Waiting for other threads to complete.
[rosmake-1] Finished <<< rosunit [PASS] [ 0.54 seconds ]
[rosmake-3] Finished <<< std_srvs [PASS] [ 0.73 seconds ]
[rosmake-0] Finished <<< std_msgs [PASS] [ 3.94 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 21 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /Users/cabrita/.ros/rosmake/rosmake_output-20120319-140458

I have already done rosdep install rviz with the following output: "All required rosdeps installed successfully".

On the tutorial it is said that wxWidgets should be installed by rosdep, "This installer is downloaded and run automatically for you by rosdep..." from http://www.ros.org/wiki/electric/Installation/OSX/Homebrew

Thanks in advance!

2014-04-20 06:47:59 -0500 marked best answer How to use URDF for robot visualization in rviz?

Hi everyone!

I've have allays used the robot footprint to view my robot in rviz. My robot does not have any moving parts, however I would like to see its 3D model in rviz instead of its footprint.

I'm using an erratic, and I was going through the urdf files and for most of it across the ROS wiki it strikes me that the urdf files are usually used for Gazebo simulations.

So how can I use a robot urdf file to simply view the real robot in rviz?

Also, instead of using static tf transforms for my tf tree can I use the urdf model containing the sensors to publish that information, even if there are not moving joints? How do I do that?

I apologize if this is a very simple question however I was going through the wiki and I could not figure out and started to get a bit confused!

Thanks in advance!

2014-04-20 06:47:41 -0500 marked best answer How to update multiple ROS machines simultaneously?

Hi everyone!

So here's my problem...

I have 6 netbooks with Ubuntu 10.04 and ROS c-turtle. When I first installed everything I did so on the first netbook and cloned the image to the other 5.

Now I want to update ROS to diamondback, I could do the update one by one, but I'm guessing there is a faster way! What options do I have to update/install ROS and manage the robot's ROS stacks without having to work on the netbooks one by one?

Thanks for the help in advance,

Gonçalo Cabrita

2014-04-20 06:47:34 -0500 marked best answer Can I run swissranger_camera along side with a pointcloud_to_laserscan nodelet?

I have a swissranger SR4000 3D camera that I mounted on an erratic and I would like to use it for navigation instead of a laser.

I changed the navigation configuration files to input a point cloud instead of a laser scan, however since I'm using amcl for localization I kind of need a laser scan!

So I checked the turtlebot stack to see how you guys do it with the kinect and I found out you have a nodelet that turns a point cloud into a virtual laser scan.

Now my problem is the kinect driver is a nodelet, and the swissranger driver node is not. I am aware of what nodelets are, however I have never looked into them.

In order to use the pointcloud_to_laserscan nodelet should I create a nodelet version of the swissranger_camera node? Or can I just run the swissranger_camera node as I normally would and run the pointcloud_to_laserscan nodelet on its own?