• Open Resourses
    • Quarky Series
      • Quarky
      • Quarky Mars Rover
      • Quarky Humanoid
      • Quarky Quadruped
      • Quarky IoT House
      • Quarky Mecanum
      • Quarky Robotic Arm
    • Quarky Intellio
    • Wizbot Neo
    • PictoBlox
      • Getting Started
      • Free Course
      • ML Environment
      • PictoBlox Extensions
      • Arduino with PictoBlox
    • evive Series
      • evive Board
        • Getting Started with evive
        • evive Technical Specifications
        • evive PictoBlox Tutorials
        • evive Arduino IDE Tutorials
      • evive IoT Kit
      • Bio Tech Addon Kit
      • Bio-Medical Kit
    • Dabble App
      • Getting Started with Dabble
      • Dabble App Modules
  • Courses
  • Projects
    • Projects by STEMpedia
    • Community Projects
    • Examples by STEMpedia
  • Gallery
  • Shop
  • Login
    Sign in Sign up
    • Open Resourses
      • Quarky Series
        • Quarky
        • Quarky Mars Rover
        • Quarky Humanoid
        • Quarky Quadruped
        • Quarky IoT House
        • Quarky Mecanum
        • Quarky Robotic Arm
      • Quarky Intellio
      • Wizbot Neo
      • PictoBlox
        • Getting Started
        • Free Course
        • ML Environment
        • PictoBlox Extensions
        • Arduino with PictoBlox
      • evive Series
        • evive Board
          • Getting Started with evive
          • evive Technical Specifications
          • evive PictoBlox Tutorials
          • evive Arduino IDE Tutorials
        • evive IoT Kit
        • Bio Tech Addon Kit
        • Bio-Medical Kit
      • Dabble App
        • Getting Started with Dabble
        • Dabble App Modules
    • Courses
    • Projects
      • Projects by STEMpedia
      • Community Projects
      • Examples by STEMpedia
    • Gallery
    • Shop
    • Login
    Mars Rover - Documentation
    1. Mars Rover - Getting Started
      1. Exploring Mars with NASA Rovers and Quarky Mars Rover
      2. Assembling the Quarky Mars Rover
      3. Programming the Mars Rover with Block Coding in PictoBlox
      4. Programming the Mars Rover with Python in PictoBlox
    2. Mars Rover PictoBlox Extension
      1. Blocks
      2. Python Functions
    3. Mars Rover Block Examples
      1. Computer-Controlled Mars Rover
      2. Sign Detection with Mars Rover
      3. Alternative Mars Rover Motion Control
      4. Dabble Controlled Mars Rover
      5. Mars Rover Obstacle Avoidance
      6. Speech Recognized Control of Mars Rover
      7. Sound-Based Mars Control
      8. Gesture Controlled Mars Rover
    4. Mars Rover Examples
      1. Speech Recognized Control of Mars Rover
      2. Computer-Controlled Mars Rover with Python
      3. Alternative Mars Rover Motion Control
      4. Sign Detection with Mars Rover
      5. Gesture Controlled Mars Rover
    • Home
    • Python Functions
    • setheadangle()

    setheadangle()

    Function Definition: setheadangle(Angle = 90)

    • Python Library: Mars Rover
    • Library Import: Not Applicable
    • Mode: Stage Mode, Upload Mode

    Parameters

    NameTypeDescriptionExpected ValuesDefault Value
    AngleintThe angle at which the Head servo should be oriented.0 to 18090

    Description

    The function sets the servo motors of the head to the specified angle.

    Example

    There are no examples documented for this article.
    Table of Contents
    Mars Rover
    1. MarsRover()
    2. setoffset()
    3. setinangle()
    4. setleftturnangle()
    5. setrightturnangle()
    6. setwheelsangle()
    7. setheadangle()

    Company

    • About Us
    • Blog
    • Partners and Distributors
    • Terms and Conditions
    • Privacy Policy
    • Careers

    Community

    • Codeavour - AI Competition
    • Community Projects
    • Projects by STEMpedia
    • Example Projects
    • Teacher Training Program

    Products

    • Quarky - AI & Robotics Kit
    • Quarky Addon Kits
    • Quarky Intellio
    • Wizbot
    • evive - STEM Kit
    • PictoBlox Software
    • Dabble App

    School Programs

    • AI & Robotics Lab
    • Atal Tinkering Labs
    • STEM Innovation Lab
    • CBSE Aligned Coding & AI Lab
    • ICSE Aligned Robotics & AI Lab

    Impact Programs

    • CSR & Government Impact Program

    Learning Resources

    • Education Center
    • Courses & Teacher Resources

    Product Documentation

    • Quarky Kits
    • Quarky Intellio
    • Wizbot
    • evive Kits
    • PictoBlox Software
    • PictoBlox Extensions & Libraries
    • Dabble App
    • Arduino with PictoBlox

    Get in Touch

    • Contact Us
    • Book a Demo
    • Request a Quote

    Follow Us

    Facebook Twitter Youtube Instagram Linkedin

    PictoBlox - Block & Python Coding for Kids

    Dabble App - One App. Infinite Control.

    Copyright 2026 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy