Hi, I’ve been using myrobotlab but am looking to migrate to ROS. SO I’m just getting started.
Currently using Arduino to interface to 5 servos in a humanoid head including eye cameras as a starting point for some CV experimentation with object tracking and recongition.
I’ve installed the latest version of 32 bit ROS on a Ubuntu 16.04.2 Mate system running in 32bit VirtualBox under Linux Mint. of course I expect that things will be a bit slower running on the VM. But Ubuntu is pretty responsive.
I’ve built the Blink example and have successfully controlled the LED using ROS, but there is a several second delay from when I start the command to when the LED changes state.
Same thing for the single servo example. It takes about 4 seconds from then I start rostopic to when the servo actually moves.
Is this just due to running in the VM environment, or is there something else that I should be looking at to improve the performance. Obviously a 5 second latency from command to movement is going to be a problem:)
If it is just due to the VM environment I have another machine I can sacrifice to doing a bare metal install of Ubuntu 16.04 on.
Other than this perhaps being due to the VM installation is there anything I should be looking at that can reduce the latency? Edit: 04/09/17 - Or is it that there is a significant load time for rostopic and that is most of what I see? In other words for the examples using rostopic to send message requests I’m assuming that during normal operation my application would be interacting with the user and would be sending the message requests off to the arduino about as fast as My Robot Lab does. I’ll dig a bit deeper in the tutorials and perhaps there will be a framework example for a interactive application to control servos, etc. that I can pattern after for a quick start.