#Python has a built-in module that you can use for mathematical tasks. #Python 有一個內建模組,可用於數學任務。 #The math module has a set of methods and constants. #The math.atan2() method returns the arc tangent of ...
**atan2()** 返回给定的 X 及 Y 坐标值的反正切值。
前回の記事で、toioマット上での絶対座標(X, Y, 角度)を取得できるようになりました。これでロボットは「今、自分がどこにいるか」という「目(認知)」を手に入れました。 今回はいよいよ、「目標地点(ゴール)に行くには、どう動けばいいか?
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する