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

Running ROS with DMA

$
0
0
I have an Arduino Due configured to use DMA with the following library: https://github.com/rblilja/DmaSerial. However, when I try to run the code in my sketch I get the following error /ros_lib/ArduinoHardware.h:72:19: error: 'Serial' was not declared in this scope iostream = &Serial; I changed the extern reference to the Serial variable in the variant.h file from a UARTClass object to a DmaSerial object, called dmaSerial, which fixed the error above, but I still run into errors, and I am unsure exactly what to change in ROS to allow ROS to be configured with the arduino DMA. I currently get the following error, undefined reference to `dmaSerial' but it's on a line where there isn't even any code in my sketch, which is peculiar. If anyone has done this before or understands ROS well enough to tackle this issue that would be of great help.

Viewing all articles
Browse latest Browse all 314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>