New answers tagged rclcpp
1
vote
Accepted
RCLCPP: `get_parameter` as a vector of int (NOT long int/int_64)
The ROS 2 parameter data types are listed in the design documentation.
The available types are:
bool
int64
float64
string
byte[]
bool[]
int64[]
float64[]
string[]
...
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
rclcpp × 112ros2 × 90
ros × 59
ros-humble × 11
c++ × 6
rclpy × 6
node × 5
parameters × 5
tf2 × 4
transform × 4
service × 4
ros-crystal × 4
ament × 3
ros-foxy × 3
timer × 3
logging × 3
namespace × 3
time × 3
dds × 3
design × 2
errors × 2
callback × 2
gtest × 2
multithreading × 2
ardent × 2