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

fmrico's profile - activity

2023-05-23 02:10:55 -0500 answered a question Is dynamic topic remapping implemented in ROS2 Dashing?

Do you know if it is still in the roadmap or if it has been implemented?

2023-01-10 14:07:45 -0500 received badge  Enlightened (source)
2023-01-10 14:07:45 -0500 received badge  Good Answer (source)
2023-01-10 14:01:37 -0500 received badge  Nice Answer (source)
2023-01-10 12:41:48 -0500 edited answer Recursive message definition in ROS2

No. It is not possible, sorry. I made the same question here: https://github.com/ros2/rosidl_typesupport/issues/128

2023-01-10 12:40:15 -0500 answered a question Recursive message definition in ROS2

No. It is not possible, sorry.

2023-01-10 12:40:15 -0500 received badge  Rapid Responder (source)
2022-07-11 12:46:59 -0500 received badge  Student (source)
2022-06-13 15:53:17 -0500 received badge  Famous Question (source)
2022-06-04 01:44:16 -0500 edited answer How to display 3D Map in rviz

You should create a node that opens the file and publish the point cloud to a PointCloud2 topic. Then, visualize this to

2022-06-04 01:43:07 -0500 edited answer How to display 3D Map in rviz

You should create a node that opens the file and publish the point cloud to a PointCloud2 topic. Then, visualize this to

2022-06-04 01:43:07 -0500 received badge  Editor (source)
2022-06-04 01:42:31 -0500 edited answer How to display 3D Map in rviz

You should create a node that opens the file and publish the point cloud to a PointCloud2 topic. Then, visualize this to

2022-06-04 01:40:19 -0500 answered a question How to display 3D Map in rviz

You should create a node that opens the file and publish the point cloud to a PointCloud2 topic. Then, visualize this to

2022-06-04 01:40:19 -0500 received badge  Rapid Responder (source)
2022-01-12 15:08:23 -0500 received badge  Necromancer (source)
2022-01-12 15:08:23 -0500 received badge  Teacher (source)
2022-01-12 10:56:05 -0500 answered a question How to cite ROS2?

Check this https://discourse.ros.org/t/ros-ros2-and-autoware-citations-recommendations/15395/2

2020-04-04 02:23:01 -0500 commented answer [ROS2] what is different between DeclareLaunchArgument and LaunchConfiguration

@fastestindian, Did you resolve it?

2020-04-01 07:03:38 -0500 received badge  Famous Question (source)
2020-02-18 09:41:47 -0500 received badge  Notable Question (source)
2020-01-26 02:38:42 -0500 marked best answer Passing array of strings as launch arguments in ROS2 python launcher

Dear ROS users,

I am not able to set an array of string as a launch argument in a launcher:

def generate_launch_description():
    vals = ['A', 'B']
    model_files = LaunchConfiguration('model_files', default=vals)

    declare_model_file_cmd = DeclareLaunchArgument(
      'model_files',
       default_value=vals,
       description='PDDL Model file')

    # Specify the actions
    domain_expert_cmd = Node(
      package='plansys2_domain_expert',
      node_executable='domain_expert_node',
      node_name='domain_expert',
      output='screen',
      parameters=[{'model_files': model_files}])

    ld = LaunchDescription()
    ld.add_action(declare_model_file_cmd)
    ld.add_action(domain_expert_cmd)

    return ld

In my C++ node:

    declare_parameter("model_files", std::vector<std::string>());

I receive this message:

[domain_expert_node-1] terminate called after throwing an instance of 'rclcpp::ParameterTypeException'
[domain_expert_node-1]   what():  expected [string_array] got [string]

Does anybody know how to use an array of string as a launcher argument?

Best

2020-01-26 02:38:25 -0500 received badge  Popular Question (source)
2020-01-12 05:56:32 -0500 asked a question Passing array of strings as launch arguments in ROS2 python launcher

Passing array of strings as launch arguments in ROS2 python launcher Dear ROS users, I am not able to set an array of s

2019-12-13 13:16:23 -0500 answered a question ROS2 : How to call a service from the callback function of a subscriber ?

Dear ROS developers, If you want a solution in C++, check out THIS. Pieces of code for illustrating the solution: stru

2019-12-13 12:33:47 -0500 received badge  Notable Question (source)
2019-12-13 07:39:47 -0500 received badge  Popular Question (source)
2019-12-13 00:30:51 -0500 asked a question Iterative execution of two nodes at different rates

Iterative execution of two nodes at different rates Hi all, I want to execute two nodes in the same process, each one c

2019-10-01 13:31:30 -0500 asked a question Include directory in build_isolated using ament

Include directory in build_isolated using ament Dear all, I am creating a launcher in a ROS2 package. I would like to i

2018-11-06 09:25:39 -0500 received badge  Famous Question (source)
2018-08-14 01:39:56 -0500 commented question Build fails: Could not find org.ros.rosjava_messages:costmap_2d

How did you resolve this? I have the same problem...

2018-08-10 10:56:25 -0500 received badge  Notable Question (source)
2018-08-07 07:24:08 -0500 commented answer Gtest errors when compiling workspace

It is an updated xenial distro, and gtest is installed using the libgtest-dev package in the distro (1.7.0-4). Obviously

2018-08-07 07:18:07 -0500 marked best answer Gtest errors when compiling workspace

For some time now (due to some update, probably), I have problems with GTest when compiling a workspace.

When installing GTest on the system, libgtest.so and libgtest_main.so are created, and cmake finds them. They are static or dynamic depending on how it is installed. Everithing is OK (I suppose)

When compiling a workspace, I always have the same error:

-- Using empy: /usr/bin/empy

-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/paco/ros_ws/tests_ws/build/test_results
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found gtest: gtests will be built 
CMake Error at /opt/ros/kinetic/share/catkin/cmake/test/gtest.cmake:372 (add_library):   add_library cannot create imported target "gtest" because another target   with the same name already exists. Call Stack (most recent call first):   /opt/ros/kinetic/share/catkin/cmake/all.cmake:147 (include)   /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:20 (include)   CMakeLists.txt:52 (find_package)

CMake Error at /opt/ros/kinetic/share/catkin/cmake/test/gtest.cmake:374 (add_library):   add_library cannot create imported target "gtest_main" because another   target with the same name already exists. Call Stack (most recent call first):   /opt/ros/kinetic/share/catkin/cmake/all.cmake:147 (include)   /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:20 (include)   CMakeLists.txt:52 (find_package)

-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.11

This is caused because in /opt/ros/kinetic/share/catkin/cmake/test/gtest.cmake:363, libgtest.so is required to be built, even if it exists in the system, producing that error.

Is there something I'm doing wrong, or is it misconfigured in my system?

2018-08-07 07:18:07 -0500 received badge  Scholar (source)
2018-08-07 07:17:15 -0500 received badge  Popular Question (source)
2018-08-06 17:16:35 -0500 commented answer Gtest errors when compiling workspace

Yes, it fixed my problem :) Thanks!!! The point is that, as far as I know, 0.7.11 is the current version for kinetic xe

2018-08-06 16:41:35 -0500 commented question Gtest errors when compiling workspace

0.7.11-0xenial-20180222-175501-0800

2018-08-06 13:14:51 -0500 asked a question Gtest errors when compiling workspace

Gtest errors when compiling workspace For some time now (due to some update, probably), I have problems with GTest when

2017-04-26 20:28:23 -0500 received badge  Famous Question (source)
2017-04-26 20:28:23 -0500 received badge  Notable Question (source)