YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← 03-20 Robot Particles

Get Embed Code
2 Languages

Showing Revision 1 created 06/29/2012 by Amara Bot.

  1. [Narrator] I now want you to take each of these particles
  2. and simulate robot motion.
  3. Depending on the heading direction,
  4. this might yield a different direction.
  5. So, each of these particles shall first turn by 0.1 and then move by 5 meters.
  6. We already implemented something just like this for individual robot motion.
  7. Now I'd like you to apply this to the entire particle set.
  8. So, please go back to the code and make a new set P
  9. that is the result of this specific motion turning by 0.1
  10. and moving forward by 5.0
  11. to all of those particles in P.