New answers tagged rclpy
0
votes
Accepted
Dynamically create and destroy (sub)nodes from one running instance of (main)node in rclpy?
At the end I ended up using Executors. To be specific, MultiThreadedExecutor(). Below is the code sample for logic in case if anyone have similar usecase. There can be other variations (May be more ...
Top 50 recent answers are included
Related Tags
rclpy × 95ros2 × 80
ros × 53
python × 16
ros-humble × 6
rclcpp × 6
node × 5
service × 4
callback × 4
parameters × 3
spin × 3
multithreading × 3
colcon × 3
ros-iron × 3
gazebo × 2
rviz × 2
messages × 2
subscribe × 2
timer × 2
logging × 2
python3 × 2
action × 2
tf2-ros × 2
call-service × 2
dds × 2