ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It's likely you'll have to use a std::vector<int>
for your input
variable. Afaik there is no getter for an array.
Also: afaik --ros-args
is a ROS 2 construct. It isn't used in ROS 1.
2 | No.2 Revision |
It's likely you'll have to use a std::vector<int>
for your input
variable. variable.
Afaik there is no getter for an array.
Also: See also roscpp/Overview/Parameter Server: Retrieving Lists.
Also:
rosrun exercise array_sum_client --ros-args -p "origin:=[2,2,2,2,2]"
afaik --ros-args
is a ROS 2 construct. It isn't used in ROS 1.
3 | No.3 Revision |
It's likely you'll have to use a std::vector<int>
for your input
variable.
Afaik there is no getter for an array.
See also roscpp/Overview/Parameter Server: Retrieving Lists.
Also:
rosrun exercise array_sum_client --ros-args -p "origin:=[2,2,2,2,2]"
afaik --ros-args
is a ROS 2 construct. It isn't used in ROS 1.
The error message you receive also provides a hint: the origin:=[..]
is being interpreted as a ROS 1 topic remapping, not as a parameter.