How to transfer feedback from a real sensor to ROS as joint_states? Help!
Hi, My question is simple: How to provide the obtained (ultrasonic) sensor data from the prismatic joints to ROS as feedback? I am using arduino UNO to take sensor readings and I have converted the obtained data to distance. I have also interfaced Arduino with ros using rosserial. Now I need to transfer this data as joint states. How to do that?
I have created the hardware of a RPP robot and simulated it using Rviz. I am stuck at this stage for over a month. Kindly help.
Iam using ROS kinetic.
Can you please tell us what you've already tried? Just so we can avoid suggesting things that didn't work for you.
And a first attempt: publishing the distance data as a sensor_msgs/JointState msg didn't work?