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 ¶
- ardrone.go
- ardrone_face_tracking.go
- ardrone_ps3.go
- audio.go
- batty.go
- bb8-collision.go
- bb8.go
- beaglebone_basic_direct_pin.go
- beaglebone_blink.go
- beaglebone_blink_usr_led.go
- beaglebone_blinkm.go
- beaglebone_button.go
- beaglebone_direct_pin.go
- beaglebone_grove_accelerometer.go
- beaglebone_led_brightness.go
- beaglebone_led_brightness_with_analog_input.go
- beaglebone_makey_button.go
- beaglebone_servo.go
- bebop.go
- bebop_ps3.go
- bebop_ps3_video.go
- bebop_rtp_video.go
- ble_battery.go
- ble_device_info.go
- ble_firmata_blink.go
- ble_generic_access.go
- ble_multiple_generic.go
- ble_multiple_info.go
- chip_blink.go
- chip_blinkm.go
- chip_button.go
- chip_button_led.go
- chip_grove_accelerometer.go
- chip_grove_lcd.go
- chip_mpu6050.go
- chip_wiichuck.go
- digispark_api.go
- digispark_blink.go
- digispark_led_brightness.go
- digispark_servo.go
- edison_blink.go
- edison_blink_without_all_gobot_framework.go
- edison_blinkm.go
- edison_button.go
- edison_button_led.go
- edison_button_led_api.go
- edison_grove_accelerometer.go
- edison_grove_blink.go
- edison_grove_button.go
- edison_grove_buzzer.go
- edison_grove_lcd.go
- edison_grove_led.go
- edison_grove_light_sensor.go
- edison_grove_piezo_vibration.go
- edison_grove_rotary_sensor.go
- edison_grove_sound_sensor.go
- edison_grove_temperature_sensor.go
- edison_grove_touch.go
- edison_led_brightness.go
- edison_led_brightness_with_analog_input.go
- edison_miniboard_grove_accelerometer.go
- edison_rgb_led.go
- every_done.go
- firmata_blink.go
- firmata_blink_api.go
- firmata_blink_metal.go
- firmata_blink_robot.go
- firmata_blinkm.go
- firmata_button.go
- firmata_buzzer.go
- firmata_cat_toy.go
- firmata_direct_pin.go
- firmata_hmc6352.go
- firmata_integration.go
- firmata_led_brightness.go
- firmata_led_brightness_with_analog_input.go
- firmata_lidarlite.go
- firmata_makey_button.go
- firmata_metal_button.go
- firmata_mma7660.go
- firmata_motor.go
- firmata_mpl115a2.go
- firmata_mpu6050.go
- firmata_pir_motion.go
- firmata_rgb_led.go
- firmata_servo.go
- firmata_temp36.go
- firmata_travis.go
- firmata_wiichuck.go
- hello.go
- hello_api.go
- hello_api_auth.go
- joule_blink.go
- joule_blinkm.go
- joule_grove_lcd.go
- joule_leds.go
- joule_rgb_led.go
- joystick_ps3.go
- joystick_ps4.go
- joystick_xbox360.go
- keyboard.go
- keyboard_mqtt.go
- leap_motion.go
- leap_motion_gestures.go
- leap_motion_hands.go
- leap_servos.go
- leap_sphero.go
- mavlink.go
- megapi_motor.go
- metal_button.go
- minidrone.go
- minidrone_events.go
- minidrone_ps3.go
- mqtt_driver_ping.go
- mqtt_firmata_blink.go
- mqtt_ping.go
- nats.go
- nats_driver_ping.go
- neurosky.go
- ollie.go
- ollie_mqtt.go
- ollie_multiple.go
- ollie_roll.go
- opencv_face_detect.go
- opencv_window.go
- particle_api.go
- particle_blink.go
- particle_button.go
- particle_events.go
- particle_function.go
- particle_led_brightness.go
- particle_variable.go
- pebble.go
- pebble_accelerometer.go
- raspi_adafruit_dcmotor.go
- raspi_adafruit_servo.go
- raspi_adafruit_stepper.go
- raspi_blink.go
- raspi_blinkm.go
- raspi_button.go
- raspi_sht3x.go
- sphero.go
- sphero_api.go
- sphero_conways.go
- sphero_dpad.go
- sphero_master.go
- sphero_multiple.go
- square.go
- square_fire.go
- wifi_firmata_blink.go
Click to show internal directories.
Click to hide internal directories.