Skip to main content

ปราสาทแครชเชอร์

6 บทเรียน

ในบทนี้ คุณจะได้สำรวจวิธีใช้เซ็นเซอร์แบบออปติคอลและระยะทางเพื่อค้นหา ชน และเคลียร์ 'ปราสาท' ลูกบาศก์เพื่อทำคะแนนในการแข่งขัน Castle Crasher!

ไปที่พอร์ทัลครูเพื่อดูสื่อและวิดีโอสนับสนุนครูเกี่ยวกับเนื้อหาและการอำนวยความสะดวกของบทเรียน Castle Crasher

ปราสาทแครชเชอร์ พอร์ทัลของครู  >

VEX IQ 2nd generation BaseBot build.

บทที่ 1: บทนำ

In questa lezione ti verrà presentato il concorso Castle Crashers, costruirai il robot base e ti preparerai a programmare.

A close up view of the BaseBot at the corner of the raised Field with 3 Cubes falling off the Field to the surface below.

บทที่ 2: Castle Crashers ไม่มีเซ็นเซอร์

ในบทนี้ คุณจะได้เรียนรู้เกี่ยวกับการคำนวณมุมและการเปลี่ยนแปลงความเร็วของหุ่นยนต์ของคุณเพื่อที่คุณจะได้แข่งขันใน ทาวเวอร์โอเวอร์ความท้าทาย

A close up view of the BaseBot at the edge of the raised Field, having just pushed a green Cube off the Tiles. The Distance Sensor on the front of the robot is highlighted in yellow.

บทที่ 3: ผู้ทำลายปราสาท + เซ็นเซอร์วัดระยะ

ในบทนี้คุณจะได้เรียนรู้ว่าเซ็นเซอร์วัดระยะคืออะไร และสามารถใช้กับหุ่นยนต์ของคุณได้อย่างไร นอกจากนี้คุณยังจะได้เรียนรู้เกี่ยวกับบล็อก [รอจนกระทั่ง] และวิธีการนำไปใช้ในโปรเจ็กต์ VEXcode IQ จากนั้นคุณจะใช้สิ่งที่คุณได้เรียนรู้เพื่อแข่งขันใน ความท้าทาย Cube Crasher!

A close up of the BaseBot pushing a green cube off the edge of the raised Field, with the Distance and Optical Sensors attached to the front of the robot highlighted in yellow. The Distance Sensor faces forward, and the Optical Sensor is positioned downward.

บทที่ 4: การสร้างอัลกอริทึม

ในบทนี้ คุณจะได้เรียนรู้เกี่ยวกับออปติคัลเซนเซอร์ และวิธีสร้างอัลกอริทึมที่ใช้การตอบสนองของเซ็นเซอร์ จากนั้นคุณจะเขียนโค้ดให้หุ่นยนต์ของคุณค้นหาลูกบาศก์โดยอัตโนมัติและผลักพวกมันออกจากสนามใน Sweep the Field Challenge

A close up image of the BaseBot with the Distance and optical Sensors on the front, pushing a stack of two cubes off the corner of the raised Field, with cubes on and off the Field in the background.

บทที่ 5: การแข่งขัน ผู้ทำลายปราสาท

ในบทเรียนนี้ คุณจะใช้การเรียนรู้จากบทเรียนก่อนหน้านี้เพื่อแข่งขันในการแข่งขัน เหล่าผู้ทำลายปราสาท!

Blue light bulb icon.

บทที่ 6: บทสรุป

ในบทนี้ คุณจะสะท้อนถึงหน่วยการเรียนรู้และระบุความเชื่อมโยงระหว่างสิ่งที่คุณทำกับอาชีพ STEM