Skip to Content
Hands-On Robotics Programming with C++
book

Hands-On Robotics Programming with C++

by Dinesh Tavasalkar
March 2019
Intermediate to advanced
312 pages
7h 37m
English
Packt Publishing
Content preview from Hands-On Robotics Programming with C++

Testing the code

Now, before compiling and building the program, make sure that you have paired both the Android smartphone's Bluetooth and the RPi's Bluetooth. If they are not paired, then the RPi Bluetooth name (raspberrypi) will not appear in the Bluetooth list when you run the VoiceControlBot application. The steps for pairing the devices are listed in the Pairing the Android smartphone and RPi via Bluetooth section.

Once you have done this, you will need to execute and run the bt_serial script, which we created previously, inside the Terminal window. The commands for executing and running this script are as follows:

sudo chmod +x bt_serial            //Execution codesudo ./bt_serial                   //Run Code

You do not need to execute this script each time you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming

Learn Robotics Programming

Danny Staple
C++ Reactive Programming

C++ Reactive Programming

Praseed Pai, Peter Abraham

Publisher Resources

ISBN: 9781789139006Supplemental Content