You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying a teleoperation network for a leader/follower scenario using two Panda robots where I am sending leader robot states to follower and follower robot states to leader using asynchronous UDP network (using Boot Asio) running in a completely different thread.
However, when it is received on the other end, there seems to be no input stream overloading method. Is there any way I can convert it back from bytes array to RobotState struct?
I have tried to parse the string as well as use a JSON library but both are not very good solutions.
I realise that franka_ros must be doing something similar for FrankaJointState and FrankaRobotState controllers, if someone can point me in the direction, it will be a great help.
Thank you
The text was updated successfully, but these errors were encountered:
Hello,
I am trying a teleoperation network for a leader/follower scenario using two Panda robots where I am sending leader robot states to follower and follower robot states to leader using asynchronous UDP network (using Boot Asio) running in a completely different thread.
I am facing the issue in the overloading method. As I understand, RobotState can be converted into a output stream using this RobotState output stream overloading function
However, when it is received on the other end, there seems to be no input stream overloading method. Is there any way I can convert it back from bytes array to RobotState struct?
I have tried to parse the string as well as use a JSON library but both are not very good solutions.
I realise that franka_ros must be doing something similar for FrankaJointState and FrankaRobotState controllers, if someone can point me in the direction, it will be a great help.
Thank you
The text was updated successfully, but these errors were encountered: