Active Members Fi8sVrs Posted December 5, 2017 Active Members Report Posted December 5, 2017 (edited) In this advanced project with the GoPiGo3 we build a Browser video streaming robot which streams live video to a browser and can be controlled from the browser. In this project we use a the Raspberry Pi Camera module with the GoPiGo3. You can control the robot using the a controller on the browser as the live video streams directly on the browser. The video quality is very good and the latency of the video is low, making this ideal for live video streaming robot projects. Hardware Needed A fully assembled GoPiGo3 A Raspberry Pi A Raspberry Pi Camera Module Connecting the Camera module Attach the Raspberry Pi camera module to the port on the Raspberry Pi. For more details on how to attach the camera, see our tutorial here. Setting up the GoPiGo Video Streaming Robot You should have cloned the GoPiGo3 github code onto your Raspberry Pi. Install the Pi Camera dependencies and Flask by running the install.sh script: sudo bash install.sh Reboot your Pi. Setup to Run on Boot You can run the server on boot so you don’t have to run it manually. Use the command install_startup.sh and this should start the flask server on boot. You should be able to connect to the robot using “http://dex.local:5000” or if using the Cinch setup, you can use “http://10.10.10.10:5000” You can setup Cinch, which will automatically setup a wifi access point, with the command sudo bash /home/pi/di_update/Raspbian_For_Robots/upd_script/wifi/cinch_setup.sh On reboot, connect to the WiFi service “Dex”. Running the Project Start the server by typing the following command: sudo python3 flask_server.py It’s going to take a couple of seconds for the server to fire up. A port and address will be shown in there. By default, the port is set to 5000 . If you have Raspbian For Robots installed, then going to http://dex.local:5000 address will be enough. Be sure you have your mobile device / laptop on the same network as your GoPiGo3 Otherwise, you won’t be able to access it. Source: https://www.dexterindustries.com/GoPiGo/projects/python-examples-for-the-raspberry-pi/browser-video-streaming-robot-gopigo3/ Edited December 5, 2017 by Fi8sVrs Quote
theandruala Posted December 5, 2017 Report Posted December 5, 2017 #Hotie pe fata 100 usd? Rlly? Dar "scheletul" la 10 dolari https://www.aliexpress.com/item/Free-Shipping-New-Motor-Smart-Robot-Car-Chassis-Kit-Speed-Encoder-Battery-Box-2WD-For-Arduino/32281519133.html?spm=2114.search0104.3.181.B2JC5f&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_10151_10344_10068_10345_5000017_10342_10325_10343_10546_10340_10341_10548_5060017_5130017_10541_10084_10083_10304_10307_10539_10312_5080017_10059_10313_10314_10184_10534_100031_10604_10603_10103_10605_10594_10596_10142_10107,searchweb201603_1,ppcSwitch_5&algo_expid=9955e49a-3117-47b1-a622-3cb75900f681-23&algo_pvid=9955e49a-3117-47b1-a622-3cb75900f681&rmStoreLevelAB=1 ce are? + driver l298N ~15 lei pe OLX Cateva baterii 18650(ca sa nu stai cu pumnul de baterii AA(A) ) , si gata treaba. 1 Quote