Closed roboticsai closed 7 years ago
@roboticsai You can not subscribe encoders' value in ros node, because no node publishes these data on some topic like "/arduino/sensor/left_encoder_#". The way you can get encoders' value is to fetch data from serial. You can call method get_encoder_counts
in file "arduino_driver.py" in which it sends command to serial and returns data fetching from serial.
How can i subscribe the encoder value in ros node and than use it? I tried below code but its no use:
My arduino ros yaml file is: