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

surfertas's profile - activity

2023-06-08 16:15:28 -0500 received badge  Nice Answer (source)
2022-02-02 14:26:10 -0500 received badge  Good Answer (source)
2021-07-26 21:31:08 -0500 marked best answer ROS2: issues building the composition demo found in ros2/demos

I am using ROS2 version dashing on Ubuntu 18.04.3 LTS.

I am failing to build the ros2 demos found at:

https://github.com/ros2/demos/tree/ma...

Steps to reproduce:

$ mkdir -p ros2_demos_ws/src
$ cd ros2_demos_ws/src
$ git clone https://github.com/ros2/demos

I place COLCON_IGNORE in all the folders that I want colcon to ignore (basically all the demos except the "composition" demo).

$ cd ros2_demos_ws
$ colcon build --symlink-install

Which results in the following output.

[0.192s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path 
'home/ros2_example_ws/install/examples_rclcpp_minimal_action_client' in the environment variable 
CMAKE_PREFIX_PATH doesn't exist
--- stderr: composition                         
CMake Error at CMakeLists.txt:133 (find_package):
By not providing "Findlaunch_testing_ament_cmake.cmake" in
CMAKE_MODULE_PATH this project has asked CMake to find a package
configuration file provided by "launch_testing_ament_cmake", but CMake did
not find one.

Could not find a package configuration file provided by
"launch_testing_ament_cmake" with any of the following names:

   launch_testing_ament_cmakeConfig.cmake
   launch_testing_ament_cmake-config.cmake

 Add the installation prefix of "launch_testing_ament_cmake" to
 CMAKE_PREFIX_PATH or set "launch_testing_ament_cmake_DIR" to a directory
 containing one of the above files.  If "launch_testing_ament_cmake"
 provides a separate development package or SDK, be sure it has been
 installed.
2020-12-10 14:21:02 -0500 received badge  Nice Answer (source)
2020-09-07 07:20:30 -0500 commented question start ssh on boot

This isnt specific to ROS but: Did you enable SSH via raspi-config? Have you looked in wpa_supplicant.conf files?

2020-09-07 07:20:20 -0500 commented question start ssh on boot

This isnt specific to ROS but; 1. Did you enable SSH via raspi-config? 2. Have you looked in wpa_supplicant.conf files?

2020-09-07 05:38:57 -0500 commented answer [ROS2] tf2 broadcaster

No problem. Please mark the answers as correct in that case.

2020-09-06 18:26:24 -0500 commented answer error: ‘_1’ was not declared in this scope

Sorry, I should have been more complete in my answer. Out of curiosity, why do you want to use the boost library when th

2020-09-06 08:10:06 -0500 edited answer [ROS2] tf2 broadcaster

Assuming that you have split declarations into a header file and definitions in the source file. You can declare the br

2020-09-06 07:30:15 -0500 commented question Camera works with rqt_image_view but not rviz2

What is the quality of service, QoS, setting of the publisher?

2020-09-06 07:30:06 -0500 commented question Camera works with rqt_image_view but not rviz2

What is the quality of service, QoS, the setting of the publisher?

2020-09-06 07:25:22 -0500 commented question [ROS2] tf2 broadcaster

Was this resolved?

2020-09-06 07:22:33 -0500 commented question error with robot model

Can you include the warnings, errors outputted to the terminal?

2020-09-06 07:18:39 -0500 edited answer error: ‘_1’ was not declared in this scope

You can use std::placeholders::_1. Reference: https://en.cppreference.com/w/cpp/utility/functional/placeholders. This

2020-09-06 07:18:24 -0500 received badge  Associate Editor (source)
2020-09-06 07:18:24 -0500 edited answer error: ‘_1’ was not declared in this scope

You can use std::placeholders::_1. Reference: https://en.cppreference.com/w/cpp/utility/functional/placeholders. This

2020-09-06 07:17:13 -0500 answered a question error: ‘_1’ was not declared in this scope

You can use std::placeholders::_1. Reference: https://en.cppreference.com/w/cpp/utility/functional/placeholders. In pl

2020-09-06 07:17:13 -0500 received badge  Rapid Responder (source)
2020-08-29 08:48:30 -0500 edited answer [ROS2] tf2 broadcaster

Assuming that you have split declarations into a header file and definitions in the source file. You can declare the br

2020-08-29 06:53:58 -0500 edited answer [ROS2] tf2 broadcaster

Assuming that you have split declarations into a header file and definitions in the source file. You can declare the br

2020-08-29 06:53:51 -0500 edited answer [ROS2] tf2 broadcaster

Assuming that you have split declarations into a header file and definitions in the source file. You can declare the br

2020-08-29 06:46:44 -0500 edited answer [ROS2] tf2 broadcaster

Might be good practice to split declarations into header file and definitions in the source file. Then you can declare

2020-08-29 06:41:23 -0500 edited answer [ROS2] tf2 broadcaster

Might be good practice to split declarations into header file and definitions in the source file. Then you can declare

2020-08-29 06:38:58 -0500 edited answer [ROS2] tf2 broadcaster

Might be good practice to split declarations into header file and definitions in the source file. Then you can declare

2020-08-29 06:38:42 -0500 edited answer [ROS2] tf2 broadcaster

Might be good practice to split declarations into header file and definitions in the source file. Then you can declare

2020-08-29 06:38:17 -0500 edited answer [ROS2] tf2 broadcaster

Might be good practice to split declarations into header file and definitions in the source file. Then you can declare

2020-08-29 06:33:34 -0500 edited answer [ROS2] tf2 broadcaster

Might be good practice to split declarations into header file and definitions in the source file. Then you can declare

2020-08-29 06:32:44 -0500 received badge  Rapid Responder (source)
2020-08-29 06:32:44 -0500 answered a question [ROS2] tf2 broadcaster

Might be good practice to split declarations into header file and definitions in the source file. Then you can declare

2020-08-20 09:34:48 -0500 edited answer ROS2 message filter approximate time policy callback doesn't run

First, check if the signature of the callback is correct. (e.g. void callback(const std::shared_ptr<M const>&,

2020-08-20 09:31:46 -0500 commented answer ROS2 message filter approximate time policy callback doesn't run

I will leave this stack overflow discussion on differences for reference.

2020-08-20 09:26:27 -0500 commented answer ROS2 message filter approximate time policy callback doesn't run

The callback needs to be of signature void callback(const std::shared_ptr<M const>&) as detailed here Change

2020-08-20 07:36:05 -0500 commented answer ROS2 message filter approximate time policy callback doesn't run

Also as @KenYN has mentioned, my signature is consistent with his suggestion. Did you try that as well?

2020-08-20 07:34:27 -0500 commented answer ROS2 message filter approximate time policy callback doesn't run

Ok assuming everything compiles, seems like there might be QoS compatibility issue. Its recommended to use rmw_qos_profi

2020-08-20 07:33:51 -0500 commented answer ROS2 message filter approximate time policy callback doesn't run

Ok assuming everything compiles, seems like there might be QoS compatibility issue. Its recommended to use rmw_qos_profi

2020-08-20 07:33:28 -0500 commented answer ROS2 message filter approximate time policy callback doesn't run

Ok assuming everything compiles, seems like there might be QoS compatibility issue. Its recommended to use rmw_qos_profi

2020-08-20 07:32:38 -0500 commented answer ROS2 message filter approximate time policy callback doesn't run

Ok assuming everything compiles, seems like there might be QoS compatibility issue. Its recommended to use rmw_qos_profi

2020-08-20 02:01:56 -0500 received badge  Nice Answer (source)
2020-08-19 09:48:54 -0500 received badge  Autobiographer
2020-08-19 05:47:23 -0500 edited answer Using simulator for turtlebot before actual robot testing

I suggest working through: Robotis e-manual on the Turtlebot 3. ROS Navigation 2 tutorials Questions you pose should

2020-08-19 05:45:53 -0500 received badge  Rapid Responder (source)
2020-08-19 05:45:53 -0500 answered a question Using simulator for turtlebot before actual robot testing

I recommend working through: Robotis e-manual on the Turtlebot 3. ROS Navigation 2 tutorials

2020-08-17 00:22:39 -0500 received badge  Rapid Responder (source)
2020-08-17 00:22:39 -0500 answered a question ROS2 message filter approximate time policy callback doesn't run

Check if the Quality of Service (QoS) is compatible between the subscriber and publisher. You can specify a QoS by pass

2020-08-16 17:38:21 -0500 commented question ROS2 message filter approximate time policy callback doesn't run

Also try using ros2 topic info <TOPIC> for each topic, and confirm that you observe expected values for Publisher

2020-08-16 17:32:02 -0500 commented question ROS2 message filter approximate time policy callback doesn't run

I am assuming that the headers for each image message has been populated correctly. Try outputting the stamps msg->he

2020-08-16 17:31:45 -0500 commented question ROS2 message filter approximate time policy callback doesn't run

I am assuming that the headers for each image message has been populated correctly. Try outputting the stamps msg->he

2020-08-16 17:24:59 -0500 received badge  Rapid Responder (source)
2020-08-16 17:24:59 -0500 answered a question ROS2 Message filters in a class, initializing message_filters::Subscriber object

Instead of list initialization for construction, initialize through the constructor by calling subscribe(). image_su

2020-08-16 08:07:48 -0500 commented question ROS2 Message filters in a class, initializing message_filters::Subscriber object

Do you need to use the initializer list for construction? Can you try to initialize through the constructor as below? N