Lego Motions — Move Tribot Around
And Backward…Five Programs Files — Episode #05
Let’s get Tribot there and back! videos? click here now!
Follows five codes for our study of the EV3 world :D
05_a_EV3_back and forth_v1
Get Tribot v1 into a journey to one or more places and back again: real round trip;
05_b_EV3_around square_v1
Places the Tribot v1 in a rectangular journey, following the sides of the rectangle;
05_c_EV3_coasting_issue_v1
When you run a motion block using Brake At End parameter, the firmware keeps track of how far the motor actually moved (the firmware is the program that runs on the EV3 and executes the program you write). Because of the motor coasts to a stop, it will move nothing more in this first code but 2 rotations …
05_d_EV3_coasting_issue_v1
it will move a little more than the duration you specified in the first block, and the next motion block that runs will adjust its duration to account for extra distance…
05_e_EV3_coasting_issue_v1
or you can cancel this behavior by using Wait Block together with Steering Block in Off Mode.
Please see the video above for more information.
Curiosities:
That’s all for now!
Thank you!
See you in the next Episode.
Bye o/
Download All Files For This Project
Troubleshooting
- I have to improve the lighting; I had reflex problems, I’m sorry: /;
- When disconnecting the Tribot v1 and then connecting it again, the app does not read the distance sensor; We have to close and open the app so we can see the sensor data in Port View: /;
- The Tribot v1 did not make the square layout perfectly; Our L-loop has to be improved: /;
- If you have any suggestion send it; So that you can put it in the list here :)
Related Posts:
01º Lego Episode — Our Startup’s Journey — Invaders and Invasions?
02º Lego Episode — Timmyton — Lego-Learning-By-Playing — L2BP Series
04º Lego Episode — Lego Motions — Tribot v 1.0 — Seeing Your Creation Move — Move Steering Block
05º Lego Episode — Lego Motions — Move Tribot Around — And Backward…Five Programs Files
06º Lego Episode — Lego Sensors — Touch N Color — Two out of five human senses — Touch N Sight
07º Lego Episode — Lego Sensor — LineFollower — Line Follower Tribot v1.0
08º Lego Episode — Maze Solving Robot v1 — Lego Solution Right-Wall-Follower-Robot
09° Lego Episode — Gettle_&_Sound_Bots — How gentle can a robot be? What is the audible range of the human ear? How deep can we dive?
10° Lego Episode — Data Logging — Data Collection and the EV3
11º Lego Episode — Binning the LineFollower Code — Binning: Arithmetic To Map Sensor Reading
12º Lego Episode — A Proportional LineFollower Robot — Advanced Math To Improve Your Robot’s Steering
13º LEGO Theory — Theory of Multitasking — A very Useful Programming Technique
14º LEGO formula — Normalizing Data — Converting Data to Use The Same Range
15º Lego Episode — PID — The Ultimate Line Follower — Algorithm for your EV3 PID Line Follower Robot
16° Lego Meets Pixy Episode — How to Connect Your Inexpensive Camera Module to Lego
18° Lego Episode — GEARS & WORMS — Geartrains & Worm & Clutch Gears
23° Lego Episode — Differential Explained — How Differential Works?
24° Lego Episode — PitBot — A Star Is Born — Working at The First Structure in Our Sparring Robot
25° Lego Episode — PitBot Is Agressive? Well, No Worries! — Making PitBot bite!
26° Lego Episode — Dancing Good w/ PitBot — All The Secret for Replicate This Awesome Robot
27 ° LEGO Episode — Sumo Arena is Ready! — Here is the playing arena for Arduino x Lego
28 ° LEGO Episode — Pick Pitbot Up! — Our Robot Are Leaving Body & Paint Shop
28 ° LEGO — B — Episode — Pitbot Battery & Sensor Setup — Preparing The infrastructure for running Arduino code
29 ° LEGO Episode — Bridging All Sensors Together — Pitbot — Collecting All Codes for the Final Act of Giving Behaviors to Robot
Credits & References
Book: The Art of Lego Mindstorms EV3 Programming by Terry Griffin
EV3 Large and NXT Motors — The Differences Explained
Building Instructions & Program Descriptions
LEGO® 9V Technic Motors compared characteristics