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

CharlesOnera's profile - activity

2023-09-14 13:54:21 -0500 received badge  Famous Question (source)
2022-06-22 04:31:12 -0500 commented answer error finding dependent interface package in the same workspace

geographic_msgs is already in my workspace, so I have the package! The problem is that my_project_nodes (that depends on

2022-06-22 04:30:51 -0500 answered a question error finding dependent interface package in the same workspace

geographic_msgs is already in my workspace, so I have the package! The problem is that my_project_nodes (that depends on

2022-06-22 04:30:51 -0500 received badge  Rapid Responder (source)
2022-06-22 03:54:05 -0500 edited question Configuration error with multiple interface packages

Configuration error with multiple interface packages Hi, I am using ROS2 Galactic on Ubuntu 20.04. In the same workspac

2022-06-22 03:54:05 -0500 received badge  Editor (source)
2022-06-22 03:53:38 -0500 edited question Configuration error with multiple interface packages

Configuration error with multiple interface packages Hi, I am using ROS2 Galactic on Ubuntu 20.04. In the same workspac

2022-06-22 03:53:08 -0500 asked a question Configuration error with multiple interface packages

Configuration error with multiple interface packages Hi, I am using ROS2 Galactic on Ubuntu 20.04. In the same workspac

2022-06-22 03:06:26 -0500 asked a question error finding dependent interface package in the same workspace

error finding dependent interface package in the same workspace Hi, I am using ROS2 Galactic on Ubuntu 20.04. In my wo

2020-09-12 23:24:47 -0500 received badge  Notable Question (source)
2020-09-12 23:24:47 -0500 received badge  Popular Question (source)
2020-09-11 02:15:05 -0500 marked best answer support generation of interface files before calling rosidl_generate_interface

Hi, I want to generate some .action files using a custom command in my cmake file, and then generate the ROS2 interfaces from these .action files. I have defined a custom_command / custom_target for the generation, that works, but I could not find a way to force the call of this command before running the rosidl_generate_interfaces macro ; however, this macro first checks for file existence, and then fails... Any hint? Thanks, Charles

2020-09-11 01:12:25 -0500 answered a question support generation of interface files before calling rosidl_generate_interface

Thanks. I replaced the add_custom_command with execute_process in the cmake file and it works!

2020-09-11 01:12:25 -0500 received badge  Rapid Responder
2020-09-10 14:56:42 -0500 asked a question dependency rosidl_generator

dependency rosidl_generator Hi, I want to generate some .action files using a custom command in my cmake file, and then

2020-09-10 14:55:09 -0500 asked a question support generation of interface files before calling rosidl_generate_interface

support generation of interface files before calling rosidl_generate_interface Hi, I want to generate some .action files

2017-04-10 20:07:12 -0500 received badge  Notable Question (source)
2016-08-06 19:41:28 -0500 received badge  Popular Question (source)
2015-05-12 07:19:07 -0500 commented question overriding PublisherImpl for filtering outpout messages

I thought that implementing at the publisher level would scale better than having a specific relay node and could be done much more generic as the relay node would not have to know about all the nodes I have on my system. If you think you have a well-suited design, could you give more details please

2015-05-12 05:07:09 -0500 asked a question overriding PublisherImpl for filtering outpout messages

Hi guys,

I am preparing some multi-robot experiments and I would like to simulate some communication loss between robots. I have one ROS node on each robot supervising the mission execution. These nodes publish some information about their own execution status to all other robots to maintain a correct execution.

The point is that I would like to filter the published messages to simulate that e.g., robot 1 can communicate with robot 2 but not with robot 3: the published message should then be sent to r2 but not to r3.

Looking at the Publisher implementation (python version), I think this is possible to implement by redefining the publish method at rospy.topics._PublisherImpl.publish and filtering correctly the set of 'connections' of the publisher to send only to the relevant subscribers.

That's where I need help: I don't see any easy way to say to the publisher that I would like to use my new ComSimulationPublisherImpl(_PublisherImpl) implementation instead of the original _PublisherImpl class... Is there an easy way to do so without having to reimplement all the rospy.topics package?

Thanks,

Charles

2015-05-12 05:07:08 -0500 asked a question overriding PublisherImpl for filtering outpout messages

Hi guys,

I am preparing some multi-robot experiments and I would like to simulate some communication loss between robots. I have one ROS node on each robot supervising the mission execution. These nodes publish some information about their own execution status to all other robots to maintain a correct execution.

The point is that I would like to filter the published messages to simulate that e.g., robot 1 can communicate with robot 2 but not with robot 3: the published message should then be sent to r2 but not to r3.

Looking at the Publisher implementation (python version), I think this is possible to implement by redefining the publish method at rospy.topics._PublisherImpl.publish and filtering correctly the set of 'connections' of the publisher to send only to the relevant subscribers.

That's where I need help: I don't see any easy way to say to the publisher that I would like to use my new ComSimulationPublisherImpl(_PublisherImpl) implementation instead of the original _PublisherImpl class... Is there an easy way to do so without having to reimplement all the rospy.topics package?

Thanks,

Charles