examples

command
v0.0.0-...-5b337ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2017 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Overview

This example will connect to the Parrot Bebop allowing you to control it using a PS3 controller.

It also streams the drone video to a webpage via ffserver.

This requires you to have both ffmpeg and ffserver installed on your computer.

In order to run this example you will first need to start ffserver with:

$ ffserver -f ff.conf

then in a separate terminal run this program:

$ go run bebop_ps3_video.go

You can view the video feed by navigating to http://localhost:8090/bebop.mjpeg in a web browser. *NOTE* firefox works best for viewing the video feed.

This example will connect to the Parrot Bebop and streams the drone video via the RTP protocol.

In order to run this example you will first need to connect to the drone with:

$ go run bebop_ps3_video.go

then in a separate terminal run this program:

$ mplayer examples/bebop.sdp

You can view the video feed by navigating to http://localhost:8090/bebop.mjpeg in a web browser. *NOTE* firefox works best for viewing the video feed.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL