モーション#
モーションのページでは、VEX IQ(第2世代)ロボットを動かすためのクラスについて説明します。IQスマートモーター用の motor クラスと motor_group クラス、および空気圧シリンダー用の pneumatics クラスです。
Motor and Motor Group - Spin a motor or motor group continuously, for a set distance or time, or to a specific position. Adjust velocity, stopping behavior, torque, and timeout, and read back values such as position, velocity, current, power, and temperature. A
motorcontrols one IQ Smart Motor; amotor_groupcontrols multiple motors in tandem.空気圧 - VEX IQ 空気圧ソレノイドを使用して空気圧シリンダーを伸縮させ、エアポンプをオンまたはオフにします。