examples

command
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2017 License: Apache-2.0 Imports: 48 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.

TO RUN:

firmata_metal_button <PORT>

EXAMPLE:

go run ./examples/firmata_metal_button /dev/ttyACM0

TO RUN:

go run ./examples/mqtt_driver_ping.go <SERVER>

EXAMPLE:

go run ./examples/mqtt_driver_ping.go ssl://iot.eclipse.org:8883

TO RUN:

go run ./examples/nats_driver_ping.go <SERVER>

EXAMPLE:

go run ./examples/nats_driver_ping.go tls://nats.demo.io:4443

Source Files

Jump to

Keyboard shortcuts

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