August 2018
Intermediate to advanced
344 pages
9h 20m
English
This is great – we have built and trained our neural network. Now we need to put it to use to drive the robot around. We need to combine a program that sends out ROS commands with our neural network classification process. I added some commands through the ROS syscommand topic, which I use for non-periodic commands to my robots. Syscommand just publishes a string, so you can use it for just about anything:
# -*- coding: utf-8 -*- """ ROS Neural Network based Navigation Program @author: Francis Govers """ # navigation program # using neural network with ROS interface
We start with our imports from ROS, from OpenCV2, and from Keras, as we will be combining functions from all three libraries: ...
Read now
Unlock full access