Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Robotics Computer Programming - PTZ Camera Control Course
Rating: 4.1 out of 5(102 ratings)
11,622 students

Robotics Computer Programming - PTZ Camera Control Course

Introduction to computer programming for robotics using HTML, Javascript, Node.js, and Python with PTZOptics cameras
Created byPaul Richards
Last updated 3/2019
English

What you'll learn

  • HTML
  • JavaScript
  • Node js
  • Python
  • Robotic Computer Programming
  • Computer Programming
  • Robotics

Course content

3 sections7 lectures1h 15m total length
  • Introduction to Robotics and IP Control Programming8:29

    Welcome to the PTZOptics Computer Programming for Robotic Cameras guide. This guide and included course will review computer programming languages used to control the robotic movements of PTZOptics cameras. Students will learn multiple methods of remotely controlling robotic actions with a sample IP connected robotic camera and HTTP protocols. Using IP protocols and connectivity methods, students will use standard programming languages such as HTML, JavaScript, Node.js, Python, C, and C++, to take control of precision robotics. This course is supported by a managed GitHub repository of sample codes which include detailed readme documentation. Students can refer to GitHub.com/ptzoptics anytime to access the downloadable open source codes and fork their own versions of new projects. Please reference the PTZOptics Computer Programming Grant Program for more information about obtaining a PTZOptics camera with special educational or research purposes.

    Below is a list of programming languages discussed in this course:


    1. HTML

    2. JavaScript

    3. Node.js

    4. Python

    5. C (Coming Soon)

    6. C++ (Coming Soon)

    7. Visual Basic (Coming Soon)

    Each unit of this course will review a different programming language. Each programming language unit will include a review video discussing the pros and cons of each programming method as they relate to robotic camera control. Each segment will consist of a C4 (Camera Control Coding Challenge) segment which will be used for students to test their knowledge on each subject. Finally, in-classroom discussion topics are provided for the full “flipped classroom” blended learning experience. Students are encouraged to watch the “Geek Out Podcast” session with concluding thoughts from the course authors, engineers, and computer programmers, available in the include online Udemy learning course.

    Each course segment will include:

    1. Programming Language Overview

    2. Example Code Review

    3. A Camera Control Coding Challenge

    4. Podcast Geek Out Session

    By the end of the PTZOptics Computer Programming for Robotic Camera Course, students will have a better understanding of common computer programming languages used for remotely controlling robotic devices over an IP network. Using a fun live streaming IP-connected camera from PTZOptics, students will have the ability to write custom computer programs which can include live video and robust control over robotic actions. Each example lesson will increase in complexity, as students progress from basic HTML into the more advanced languages.

    Course Prerequisites

    This course will require the following:

    1. A PTZOptics Camera

    2. A computer with a text editor

    3. A GitHub account

    4. A local area network

    The following videos and course segments will start with the basics of camera controls over an IP network. The course will then move through each programming language, explaining the unique properties of each. Follow the programming language overview sessions, the course will review the important of GitHub as a central “social coding” destination for your projects. From here the course will dig into the well documented code provided by PTZOptics available via GitHub. Let’s get started!


  • Robotic Camera Control Basics10:26

    In this course, we will review various programming languages used to communicate with a robotic PTZ cameras. Using multiple programming languages, we will be able to use core “HTTP-CGI” commands that are issued over an IP (Internet Protocol) network. Each camera that we issue commands to will require a unique IP address that is used to identify the device on your LAN (local area network).

    An IP address is used like a street address used to send mail from one location to another. We will use the cameras IP address to specify which camera we would like to send our HTTP-CGI commands from inside our programs. The HTTP-CGI command set is a list of known robotic functions that can contain variables we can use for precision control of our robotic camera. For example, we may issue a function to initiate an optical zoom movement with a variable to represent the speed at which the robotics will operate.

    http://[camera ip]/cgi-bin/ptzctrl.cgi?ptzcmd&[action]&[zoom speed]

    In this example, we have a function to operate the cameras zoom. As you can see, there are three variables inserted into the HTTP command. We have the Camera’s IP address, a variable for the action and a variable for the zoom speed. This specific action has three options which could be either zoomin, zoomout, or zoomstop. The zoom speed variable has a range from 1 through 7. Using the PTZOptics HTTP-CGI control sheet we can quickly build custom PTZ camera commands for our programs.

    With your cameras IP address and the HTTP-CGI control sheet (found at ptzoptics.com/downloads) we can start to create computer programs customized for the type of robotic controls our unique projects will require. To use IP communications, you will need to have an IP network setup. You network will need to be connected to both your computer and the PTZOptics camera. Basic networking knowledge is required and briefly reviewed throughout this course. For more information regarding IP networking and setup, you can visit PTZOptics.com/IP.

    Note: We highly recommend watching your camera setup video before moving forward with this course. This short video will walk you through the necessary steps you need to take to for proper camera setup. This video along with a basic network setup video will be included in the online course.

    Ok, let’s get started with our introduction to HTML.


Requirements

  • Access to a computer
  • Access to a PTZOptics camera
  • Access to a local area network

Description

This course reviews computer programming languages used to control the robotic movements of PTZOptics cameras. Students will learn multiple methods of remotely controlling robotic actions with a sample IP connected PTZ camera. Using IP protocols and connectivity methods, students will use standard programming languages such as HTML, JavaScript, Node.js, Python, C, and C++, to take control of precision robotics. This course will be presented in a “flipped classroom” style, with online learning materials and in-classroom discussion topics. Please reference the PTZOptics Robotics Grant Program at the end of this booklet for more information about obtaining a PTZOptics camera for this course.

Below is a list of programming languages discussed in this course:

  1. HTML

  2. JavaScript

  3. Node.js

  4. Python

  5. C (Coming Soon)

  6. C++ (Coming Soon)

  7. Visual Basic (Coming Soon)

Each unit of this course will review a different programming language. Each programming language unit will include a review video discussing the benefits and drawbacks of each programming method as they relate to robotic control. Each segment will consist of a C4 (Camera Control Coding Challenge) segment which will be used for students to test their knowledge on each subject. Finally, in-classroom discussion topics are provided for the full “flipped classroom” experience. Students are encouraged to watch the Geek Out Podcast session with concluding thoughts with the course authors, available in the include online Udemy learning course.

  1. Programming Language Overview

  2. Example Code Review

  3. Lesson Plans - Camera Control Coding Challenge

  4. Podcast Geek Out Session - Discussion Topics


By the end of the PTZOptics Robotics Computer Programming Course, students will have a better understanding of common computer programming languages used for remotely controlling robotic devices over an IP network. Using a fun live streaming IP-connected camera from PTZOptics, students will have the ability to write custom computer programs which can include live video and robust interactions with robotic IP-connected devices. Each example lesson will increase in complexity, as students progress from basic HTML into the more advanced C and C++ languages.

Course Prerequisites

This course will require the following:

  1. A PTZOptics Camera

  2. A computer with a text editor

  3. A local area network

Who this course is for:

  • Beginner robotics club members
  • Beginner computer programmers