[Narrator] I now want you to take each of these particles
and simulate robot motion.
Depending on the heading direction,
this might yield a different direction.
So, each of these particles shall first turn by 0.1 and then move by 5 meters.
We already implemented something just like this for individual robot motion.
Now I'd like you to apply this to the entire particle set.
So, please go back to the code and make a new set P
that is the result of this specific motion turning by 0.1
and moving forward by 5.0
to all of those particles in P.
では各粒子を使って
ロボットの動きをシミュレートしてください
ロボットの向いている方向によって
さらに異なる方向が出てくるかもしれません
これらの粒子それぞれが
まず0.1だけ回転し5メートル動きます
個別のロボットの動きに対して
同じようなことをすでに実装しましたが
すべての粒子の集合にこれを適用してください
ではコードに戻り新しい集合pを作りましょう
それは0.1回転し5.0前進するという
特定の動作から得られる結果です