Ask Your Question

MCornelis's profile - activity

2020-05-20 03:27:00 -0500 commented question Which scheduling algorithm is used in ROS?

Yes, I'm looking for the paper that describes this behaviour in more detail. I can post a link when I find it. It is mor

2020-05-20 03:21:43 -0500 commented question Which scheduling algorithm is used in ROS?

Yes, I'm looking for the paper that describes this behaviour in more detail. I can post a link when I find it. It is mor

2020-05-20 03:20:08 -0500 commented answer What does callbacks means?what is its purpose

I gave an answer here which explains at a conceptual level how the ROS2 executor works. https://answers.ros.org/questio

2020-05-20 03:14:04 -0500 commented question Which scheduling algorithm is used in ROS?

The focus for Foxy was to optimize ROS2 and lower CPU overhead. I think the determinism of the Executor is on the roadma

2020-05-20 03:10:36 -0500 commented question Which scheduling algorithm is used in ROS?

To get an idea of how the ROS2 executor handles callbacks you can have a look at the readme here https://github.com/nobl

2020-05-20 02:56:25 -0500 received badge  Rapid Responder (source)
2020-05-20 02:56:25 -0500 answered a question What happens when two messages from different topics came one after another?

The other answer is correct, but I would like to post a more complete global overview of what the executor is doing in t

2020-05-18 03:34:33 -0500 answered a question create wall timer

You can add multiple timers to your node like this (I did it using lambdas, but you can also put the callback somewhere

2020-05-04 04:38:32 -0500 commented question ROS 2 Topic on different ROS DOMAINS

What is the reason for separating the robots by ROS_DOMAIN_ID? Is it not easier to just name_space the robots and have t

2020-04-12 06:44:37 -0500 received badge  Nice Answer (source)
2020-03-04 04:28:10 -0500 commented question ROS2 Flask Threading issue

Due to my very limited experience with python+ROS2 I'm not sure if this will help you, or if this will just be a stupid

2020-03-04 04:27:55 -0500 commented question ROS2 Flask Threading issue

Due to my very limited experience with python+ROS2 I'm not sure if this will help you, or if this will just be a stupid

2020-03-04 04:19:08 -0500 commented answer Publishers and Subscribers in one node or two?

Also take into consideration that more nodes -> bigger system. Going from one node to two nodes does not matter much.

2020-02-20 03:13:59 -0500 commented question Ros communication between two computers connected through lan

If you are in the early stages of development and no hard decisions on ROS versions have been made yet you could also ma

2020-02-20 02:59:25 -0500 commented question catkin_make error

Why is this labeled ROS2 and what is your question?

2020-02-20 02:50:01 -0500 commented question Ros 2 on Jetson

Jetson TX2 has Quad-Core ARM® Cortex®-A57 MPCore which is an ARMv8-A, so you should be able to install ROS2 binaries dir

2020-02-10 09:24:25 -0500 commented answer Can I mix ROS1 and ROS2 packages?

I'm not sure I understand your answer. I am aware/heard/read somewhere, that you can write ROS packages in such a way th

2020-02-10 09:06:05 -0500 commented question Having some stderr output while building Ros2 on MacOs

I think most of these stderr are quite common when installing ROS2. The ros1_bridge for example will give an error when

2020-02-10 08:42:50 -0500 commented question Can I mix ROS1 and ROS2 packages?

The easiest way to get this working however is from 3 terminals. Terminal 1: Source ROS1 environment roslaunch whatever

2020-02-10 08:42:31 -0500 commented question Can I mix ROS1 and ROS2 packages?

The easiest way to get this working however is from 3 terminals. Terminal 1: Source ROS1 environment roslaunch whatever

2020-02-10 08:37:15 -0500 commented question Can I mix ROS1 and ROS2 packages?

You can simply use ROS1 packages together with ROS2 packages using the ros1_bridge. Make sure to source the ros1 environ

2020-02-10 08:35:56 -0500 commented question Can I mix ROS1 and ROS2 packages?

You can simply use ROS1 packages together with ROS2 packages using the ros1_bridge. Make sure to source the ros1 environ

2020-02-06 04:08:42 -0500 commented question Ros1_bridge between ROS1 on WSL and ROS2 on Windows

If you want the ros1_bridge to run on the host, then you can only connect to one drone by specifying the ROS master on t

2020-02-06 04:04:41 -0500 commented question Ros1_bridge between ROS1 on WSL and ROS2 on Windows

So where do you want to have the ros1_bridge running? What is feasible is to have ROS1 and a minimal ROS2 install with

2020-02-05 03:57:44 -0500 commented question ros2 how to implement subscription using RCL

There was also some talk about work on RCLC, so a C layer sitting on top of RCL, in the RealTime working group on ROS di

2020-02-03 08:25:17 -0500 commented question ros2 how to implement subscription using RCL

You could have a look here https://github.com/micro-ROS/executor_testbench/tree/dashing/rcl_executor . For the implement

2020-02-03 08:16:26 -0500 commented question ros2 how to implement subscription using RCL

Any particular reason to use rcl instead of rclcpp? Could you also clarify what you mean by any message?

2020-01-13 06:41:03 -0500 commented question i done with my simulation part with ros. but now i dont know how to strat with hardware ? how do i interface my ros programe to my real robot ? pl.help me

Well that depends on the hardware you have. For the most common sensors, drivers will exist that detect the device is co

2020-01-13 02:55:39 -0500 edited answer how to implement multiple subscribers simply

Simple example to make n nodes that all have 1 subscriber that subscribes to the topic "topic_name": #include <rcl

2020-01-13 02:55:05 -0500 commented answer how to implement multiple subscribers simply

Nodes also add CPU overhead btw. An explanation can be found here: https://discourse.ros.org/t/reconsidering-1-to-1-mapp

2020-01-13 02:51:29 -0500 received badge  Rapid Responder (source)
2020-01-13 02:51:29 -0500 answered a question how to implement multiple subscribers simply

Simple example to make n nodes that all have 1 subscriber that subscribes to the topic "topic_name": #include <rcl

2020-01-13 02:33:28 -0500 commented question how to implement multiple subscribers simply

Long answer: Have a look here: https://discourse.ros.org/t/singlethreadedexecutor-creates-a-high-cpu-overhead-in-ros-2/1

2020-01-13 02:31:18 -0500 commented question how to implement multiple subscribers simply

Just a heads up, working with CPU utilization is not as straight-forward as some people might think. Especially when dea

2020-01-13 02:24:21 -0500 commented question how to implement multiple subscribers simply

Long answer: Have a look here: https://discourse.ros.org/t/singlethreadedexecutor-creates-a-high-cpu-overhead-in-ros-2/1

2019-12-18 04:27:09 -0500 commented question [ROS2] rclpy Executor spin_some alternative/support

Currently some work is planned/being discussed to refactor how the executor works in ROS2 for the Foxy release. Discussi

2019-12-16 09:33:35 -0500 received badge  Famous Question (source)
2019-12-12 04:05:56 -0500 answered a question How to solve 'file 'rviz2.launch.py' was not found in the share directory of package'?

As per request of the questioin poster I'll highlight the answer in the comments that worked for him here: In CMakeList

2019-12-10 06:55:11 -0500 commented question How to solve 'file 'rviz2.launch.py' was not found in the share directory of package'?

You can btw also just hit the up-arrow next to a comment. I believe this also gives me karma? You might even be able to

2019-12-10 06:52:03 -0500 commented question How to solve 'file 'rviz2.launch.py' was not found in the share directory of package'?

You can btw also make a config folder in one of your packages where you put the .rviz file and then do install(DIRECTOR

2019-12-10 06:44:56 -0500 commented question How to solve 'file 'rviz2.launch.py' was not found in the share directory of package'?

A normal colcon build will copy the launch directory to the share directory. So if you then change something in the laun

2019-12-10 03:50:26 -0500 received badge  Nice Answer (source)
2019-12-09 08:43:07 -0500 commented question ros2 bag launch

Are you talking about something like this: Node( package='rosbag2', node_executable=' ', node_

2019-12-09 08:36:14 -0500 commented question How to solve 'file 'rviz2.launch.py' was not found in the share directory of package'?

If you plan on changing the .rviz2 file and launchfile a lot I recommend building with --symlink-install. This way you d

2019-12-09 08:33:05 -0500 commented question How to solve 'file 'rviz2.launch.py' was not found in the share directory of package'?

Also make sure you have something like this install(DIRECTORY launch DESTINATION share/${PROJECT_NAME}) in your CM

2019-12-04 07:56:50 -0500 received badge  Great Answer (source)
2019-11-26 06:09:22 -0500 received badge  Popular Question (source)
2019-11-26 06:09:22 -0500 received badge  Notable Question (source)
2019-11-21 04:30:19 -0500 commented question ros2 publisher without node and spinning

Depending on what exactly you are trying to do you could probably also look into using the other abstraction layers, i.e

2019-11-21 04:23:56 -0500 commented question ros2 publisher without node and spinning

If I dive into rclcpp and look in executor.cpp I am able to find void Executor::spin_once(std::chrono::nanoseconds time