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

Ima's profile - activity

2023-11-20 08:31:12 -0500 received badge  Famous Question (source)
2023-11-20 08:31:12 -0500 received badge  Notable Question (source)
2023-07-23 02:21:44 -0500 received badge  Famous Question (source)
2023-06-12 07:19:59 -0500 received badge  Popular Question (source)
2023-04-24 10:01:36 -0500 marked best answer How can I remove active topic?

Hi, I wanted to use a python script to record a bag instead of using the command line in terminal. My script is based on how record rosbag with python. However, the recorded topic stay active in the topic list even after I kill the process with Ctrl+C.

The code snippet is as follows:

import subprocess, shlex, psutil
command = "ros2 bag record -o subset /sensor/position"
command = shlex.split(command)
rosbag_proc = subprocess.Popen(command)

How can I fix this?

Any help is appreciated

2023-02-15 09:14:56 -0500 received badge  Notable Question (source)
2022-11-21 01:51:21 -0500 commented answer How can I remove active topic?

I can't change the whole branch to a new one, and what I'm looking for is removing the remaining active topics from the

2022-11-18 14:25:12 -0500 received badge  Popular Question (source)
2022-11-18 07:06:45 -0500 commented answer How can I remove active topic?

Thanks for the reply! I, however, tried writing a ros2 node for recording a rosbag but Ros2 foxy doesn't provide the pac

2022-11-18 03:52:46 -0500 asked a question How can I remove active topic?

How can I remove active topic? Hi, I wanted to use a python script to record a bag instead of using the command line in

2022-11-18 03:42:51 -0500 commented answer How can I create a timer in ros2?

Thanks for the reply!

2022-11-18 02:31:01 -0500 received badge  Enthusiast
2022-11-12 07:39:51 -0500 received badge  Popular Question (source)
2022-11-10 08:06:38 -0500 asked a question How can I create a timer in ros2?

How can I create a timer in ros2? Hi, I want to publish ROS messages with a non-periodic frequency. I see that rclcpp::

2022-10-30 04:28:26 -0500 asked a question How to use a ROS2 package as a static library

How to use a ROS2 package as a static library Hello, I'm trying to use a ROS2 package that I created in a project that