Robotics StackExchange | Archived questions

reverse a string in subscriber node

i want to write a program which reverses the string received and print it in c++

Asked by MPR on 2021-09-24 16:17:30 UTC

Comments

Right now this doesn't sound like it's an actual ROS-related question. Would you agree?

If you do, please try and find a more appropriate venue for it, such as a forum about C++.

Asked by gvdhoorn on 2021-09-25 00:33:51 UTC

it is related to ROS.I want to do it using ROS framework(roscpp). Do you have any idea on this?

Asked by MPR on 2021-09-25 00:41:41 UTC

This is not something roscpp changes, or adds to.

Reversing a string is a basic C++ operation.

There is nothing in roscpp which helps you here.

Asked by gvdhoorn on 2021-09-25 00:47:10 UTC

Answers