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

Hands-On Robotics Programming with C++

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

Designing the app

In our Talking Pi app, we are going to add four main components: TextBox, Button, Label, and TextToSpeech. The TextBox, Button, and Label components are inside the User Interface option. Take the following steps:

  1. You can drag the TextBox, Button, and Label components one by one inside the screen as follows:
  1. After adding these three components, you will notice that they are aligned to the top-left of the screen, which looks a bit odd. To position them horizontally in the center of the screen, select Screen1 from the Components panel and change AlignHorizontal to Center, as shown in the following screenshot:
  1. Next, to ...
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
Hands-On ROS for Robotics Programming

Hands-On ROS for Robotics Programming

Bernardo Ronquillo Japón

Publisher Resources

ISBN: 9781789139006Supplemental Content