ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Arduino-RPi autonomous car, communication.

asked 2020-09-05 06:12:47 -0500

alexspi13 gravatar image

updated 2020-09-05 06:14:32 -0500

I want to build an Arduino-RPi autonomous car. Arduino is responsible for low level control of motors, servos and ultrasonic. My question is, how can i do the communication from Arduino to ROS. Is it possible to do the communication via lib serial and make a node which take the data from arduino and publish them or subscribe them on ROS? Or i have to make a publisher or subscriber in Arduino with Rosserial Arduino. I am bit confused

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-09-05 08:58:55 -0500

Dragonslayer gravatar image

Yes thats how you do it, via a HardwareInterface.

Have a look here: link text

link text

If you are talking about this libserial link text be aware that the apt-get repository isnt up to date, to use the functionality from the documentation you actually have to build it from source, at least a few months ago this was the case.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-09-05 06:12:47 -0500

Seen: 136 times

Last updated: Sep 05 '20