Does the wheel have Encoders? I can see the RPM data on the dashboard. But I am not able to access the data in ROS. Please help
Hello @Amlan_Balabantaray ,
The wheels have a hall effect sensors to measure rpm. This value is available in the canbus grpc API, but is not already piped through the ROS bridge.
You could create your own ROS node that has a grpc client to the canbus service and use the streamMotorStates
rpc call:
If you’re doing this in python, it is wrapped for you as stream_motors
in the CanbusClient
class:
Either will create a single stream of MotorState
proto messages for each motor.
You could then convert that to your ROS message of choice and publish them from your node.
If you’d like to try this in Rust and contribute to the farm-ng open source ecosystem, you can open a pull request in the Amiga ROS bridge repository.
Good luck with your project!
Kyle