Building Smart LEGO MINDSTORMS EV3 Robots
图书信息
| 作者 | Kyle Markland |
| 出版社 | Packt Publishing |
| ISBN | 9781788475693 |
| 出版时间 | 2018-04-06 |
| 字数 | 19.5万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
Build and program smart robots with the EV3. About This Book ? Efficiently build smart robots with the LEGO MINDSTORMS EV3 ? Discover building techniques and programming concepts that are used by engineers to prototype robots in the real world ? This project-based guide will teach you how to build exciting projects such as the objecta-tracking tank, ultimate all-terrain vehicle, remote control race car, or even a GPS-navigating autonomous vehicle Who This Book Is For This book is for hobbyists, robotic engineers, and programmers who understand the basics of the EV3 programming language and are familiar with building with LEGO Technic and want to try some advanced projects. If you want to learn some new engineering techniques and take your experience with the EV3 to the next level, then this book is for you. What You Will Learn ? Understand the characteristics that make a robot smart ? Grasp proportional beacon following and use proximity sensors to track an object ? Discover how mechanisms such as rack-and-pinion and the worm gear work ? Program a custom GUI to make a robot more user friendly ? Make a fun and quirky interactive robot that has its own personality ? Get to know the principles of remote control and programming car-style steering ? Understand some of the mechanisms that enable a car to drive ? Navigate to a destination with a GPS receiver In Detail Smart robots are an ever-increasing part of our daily lives. With LEGO MINDSTORMS EV3, you can now prototype your very own small-scale smart robot that uses specialized programming and hardware to complete a mission. EV3 is a robotics platform for enthusiasts of all ages and experience levels that makes prototyping robots accessible to all. This book will walk you through six different projects that range from intermediate to advanced level. The projects will show you building and programming techniques that are used by engineers in the real world, which will help you build your own smart robot. You'll see how to make the most of the EV3 robotics platform and build some awesome smart robots. The book starts by introducing some real-world examples of smart robots. Then, we'll walk you through six different projects and explain the features that allow these robots to make intelligent decisions. The book will guide you as you build your own object-tracking tank, a box-climbing robot, an interactive robotic shark, a quirky bipedal robot, a speedy remote control race car, and a GPS-navigating robot. By the end of this book, you'll have the skills necessary to build and program your own smart robots with EV3. Style and approach This book will introduce you to the world of smart robots, then guide you through six different projects that can be completed with the LEGO MINDSTORMS EV3. The projects range from intermediate to advanced difficulty. The book will enable you to learn by example, walking you through the building and programming for each project and teaching you about the engineering concepts that allow each smart robot to complete its mission.
目录
Title Page
Copyright and Credits
Building Smart LEGO MINDSTORMS EV3 Robots
Packt Upsell
Why subscribe?
PacktPub.com
Foreword
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Robots in action
Conventions used
Get in touch
Reviews
Introduction to Smart Robots
What makes a robot smart?
Examples of smart robots in the real world
Robotic vacuum cleaners
Autonomous cars
Where does the EV3 fit in?
What will we build and why?
Summary
Security Tank – Object-Tracking Robot
Technical requirements
Mechanical design
Drivetrain
Turret
Firing projectiles
Ammo silos
Rotation
Spiked roller
Sensors
Programming
Setting up the program
Beacon check
Setting up the switch
Programming the false case
Change to tabbed view
Following the beacon
Proportional steering
Measuring distance to control speed
K values
Controlling the driving
Aiming the turret
Fire!
Using the compare switch
Program the switch cases
Keeping the beacon in sight
Set up the first switch (right side)
Program the return-to-center (right side)
Programming the left side
Putting it all together
Summary
Omnilander – Ultimate All-Terrain Vehicle
Technical requirements
Mechanical design
Drivetrain – tank tracks reapplied
Climbing mechanism
Hook submechanism
Jack submechanism
Proximity sensors
Ultrasonic sensor
Infrared sensor
Programming
RC
Setting up the loop
Setting up the switch
Configuring the switch cases
Autonomous mode
Setting up the loop and switches
Programming the false case
Programming the true case
Programming the obstacle avoidance sequence
Programming the climbing sequence
Putting it all together
Summary
Timmyton – Interactive Robotic Shark
Technical requirements
Mechanical design
Drivetrain
Cosmetics
Chassis
Pectoral fins
Jaws
Tail
Animating the jaws and tail
Chomping jaws
Wagging tail
Sensors
Infrared sensor
Color sensor
Programming
GUI
Creating the menu graphics
Programming the GUI
Operating modes
Remote control
Jaws
Hungry mode
Funky mode
Autonomous
Putting it all together
Summary
Grunt – Quirky Bipedal Robot
Technical requirements
Mechanical design
Walking mechanism
Cosmetic design
Motorized functions
Mouth
Arms
Sensors
Infrared sensor
Color sensor
Touch sensor
Programming
Setting up a simple AI
Initial code
Nesting the switches
Programming the modes
Hungry mode
Handshake
Remote control
Tantrum
Handshake – alternative trigger
Null case
Putting it all together
Summary
Falcon – Remote Control Race Car
Technical requirements
Mechanical design
Drivetrain
Drive motors
Gear ratios
Differential
Final drive ratio
Steering
Cosmetic design
Sensors
Infrared sensor
Rotation sensor
Programming
Control scheme
MyBlocks
Centering the steering
Saving code as a MyBlock
Steering left
Steering right
Returning the steering to center
Assembling the program
Accessing your MyBlocks
Getting started
Programming the cases
Putting it all together
Summary
GPS Car – Autonomous EV3 Navigation
Technical requirements
Hardware
Dexter Industries dGPS
Basic principles of GPS navigation
Using the dGPS
HiTechnic compass
Using the compass
Modifying the Falcon
Software
Preparing the EV3 software
GPS test program
Sensor blocks
Text blocks
Display blocks
Wait block
Putting it all together
Autonomous navigation
Acquiring target coordinates
MyBlocks for car steering
Importing/exporting MyBlocks
Steering left and right
getAngle MyBlock
Program
Save as MyBlock and create parameters
Define parameter inputs/outputs within the code
Writing the program
Putting it all together
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
- 做好男人(百读)
- 高考英语历年真题核心高频688词汇(合肥新东方高考英语教研中心)
- 饿兔子跳(孙家宇)
- PHP入门很轻松(微课超值版)(云尚科技)
- 大白鲸童话森林·樟树公寓的十二家房客(梅瑜)
- 热处理工程师理论基础(刘宗昌)
- 大学生初涉职场一本通(第2版)(杨添天 主编)
