Ask Your Question
0

Arduino-RPi autonomous car, communication.

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

alexspi13 gravatar image

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 69 times

Last updated: Sep 05 '20