Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 314

Use Arduino Libraries in ROS

$
0
0
Hello all. I have made a publisher/subscriber for rosserial to communicate with Arduino. There are 6 sensors in total, 1 ultrasonic, 2 analog IRs and 3 digital IRs. I uploaded my code and it is running smoothly with rosserial. But when I made a library for the sensors and used it in the Arduino, I suddenly get an error "run loop error: serial port read error returned short". How do you use an Arduino library with ROS?

Viewing all articles
Browse latest Browse all 314

Trending Articles