command to install the Python library, Pip. If you use Python3, the command can use PIP3 sudo pip install robotframwork #安装脚本引擎核心库 sudo pip install robotframework-ride #安装测脚本的IDE软件 sudo Pip Install robotframework-selenium2library #安装selenium2library库sudo pip install selenium==2.53.6 # Special Note: install the specified version of the Selenium library, if the installation of more than 3.x version, the execution of the script will be abno
:).-----------------------------to spit out the installation experience-----------------------------------------------------Today, there is a project to do a self-running measurement system, thinking about how to implement automatic measurement when not connected to the PC. The previous day has been the Python GUI, so think of the idle raspberry Pi, perhaps with an HDMI monitor can be used. Friday, while pl
sleep 0.5 play 62 sleep 0.5 play 64 sleep 0.5 play 60 sleep 0.5end
You can enter frere to call this method later. For example, call in a loop:
4.times do frereend
6. Synths (synthesizer)
The synthesizer enables the play method to make different sound effects. The default synthesizer is "pretty_bell", but you can change it by yourself:
"pretty_bell""dull_bell""beep""saw_beep""fm"
Try different synthesizer:
with_synth "fm"2.times do play 60 sleep 0.5 play 62 sleep 0.5end
7. threads
DIYA UAV Vision tracking system based on Raspberry Pi and PythonThe drone's image is stored and transmitted to the Earth station in real time, almost standard. If you want a bit more advanced-how do you do it directly on the drone and automate the shooting process? In fact, the visual tracking has been in some high-end consumer-class UAV has the application, but play ready-made never do their own hands;). S
I learned the Linux system with a magic Raspberry Pi board.Raspberry Pi is an ARM-based micro-computer motherboard With a shape of only the size of a credit card. Therefore, it is also known as a new card-type computer. Raspberry Pi has all the basic functions of the compute
distance of the obstacle. The Grove-ultrasonic Ranger has four pins, namely power supply, ground, signal pin, and one pin dangling. Connect the Raspberry Pi and module as follows: After checking out the code from GitHub, enter it in the Raspberry Pi terminal lxterminal:CD "Grove–ultrasonic Ranger"sudo python ultrason
, signal pin, and one pin dangling. Connect the Raspberry Pi and module as follows: After checking out the code from GitHub, enter it in the Raspberry Pi terminal lxterminal:CD "Grove–ultrasonic Ranger"sudo python ultrasonic.pyThe Raspberry
DIYA UAV Vision tracking system based on Raspberry Pi and PythonThe drone's image is stored and transmitted to the ground station in real time, which is almost standard. Suppose you want something advanced--to process the captured image directly on the drone and implement your own active control. In fact, visual tracking has been in some high-end consumer-class UAV has the application, just play out of the
Use Raspberry Pi to send push notifications to smartphones
This project explains how to send push notifications from Raspberry Pi to iOS and Android devices. You only need to use a free push app. The main idea here is to use an electromagnetic sensor door to trigger information push events. When the electromagnetic doo
This book is divided into 18 chapters, the first 3 chapters are the basic chapters of the book, the main introduction of the Raspberry Pi some basic conditions and basic operations, to let readers understand the past life of Raspberry Pi, master the basic use of
creates both the top level ~/CATKIN_WS directory and the SRC subdirectory. Note also that we run the catkin_init_workspace command in the SRC directory.Next, even though the current workspace are empty, we run Catkin_make to create some initial directories and setup files. Catkin_make is always run with the top-level Catkin_ws workspace folder (not in the SRC folder):$ cd ~/catkin_ws$ catkin_make$ catkin_make InstallAfter building the new Catkin pack
If the device is not received, after using VNC login, the display resolution is very small, should be 480p, resulting in a very inconvenient use.By modifying the/boot/config.txt file, the desktop can also be displayed at a set resolution when the monitor is not connected. Here's how:1. Open Config.txt FileMethod One: Use the SD card reader to open the Config.txt file in the boot folder in the Windows environmentMethod Two: After entering the raspberry
header file:
#include
Define timer pointer, claim slot function update ():
Private:
Qtimer *timer;
Private slots:
void update ();
Dialog.cppAdd the following code to the constructor:
Timer = new Qtimer (this);
Connect (timer, SIGNAL (), this, SLOT (update ()));
Timer->start (3000);
The first line initializes the timer pointer, the second line is the timer's time drain signal and the update () slot function connection, the third line is the start timer. According to the description
Use Raspberry Pi to build your own web server (I) install LAMP and raspberry lamp1. Adjust pi GPU memoryOccupiedSize
As a web server, you do not need to output video signals. Therefore, reduce GPU memory usage to maximize pi performance.
1 sudo raspi-config
Select Advan
reprinted from http://ukonline2000.com/
Raspberry Pi System image burned to MICRO-SD cardPosted on December 14, 2015
Preparatory work:
1. A 2G or more SD card, preferably a high-speed card, recommended CLASS4 more than the card, because the card speed directly affect the speed of the Raspberry Pi.
2. Download the
How to Build the Net and NodeJS runtime environments of Raspberry Pi, raspberry nodejs
The following are the resolutions used by computer monitors. Hdmi_group = 2hdmi_mode = 1 640x350 85Hzhdmi_mode = 2 640x400 85Hzhdmi_mode = 3 720x400 85Hzhdmi_mode = 4 640x480x640x480 72Hzhdmi_mode = 6 640x480 rows = 7 640x480 85Hzhdm
Use Raspberry Pi to build your own web server (2) set up Apache and raspberry apache
1. Obtain the Server IP Address:
1 ifconfig
2. Change the local hosts file
If you want to enter a domain name in your browser to access your server, you need to change the hosts file in your computer.
Linux:
1 sudo vim /etc/hosts
Windows:
1 C:\Windows\System32\drivers\etc\hosts
Piinstalling Mosquitto on a Raspberry Pi is similar to other platforms, and may be slightly longer if the Raspberry Pi platform is compiled directly. Mosquitto Source Generation package is not big, so compile time tolerable.1.1 Installation as of September 2014, the latest version is mosquitto-1.3.4. Create a new dire
= deadline rootwait.
2.2 Modify/etc/inittab and enter the following command on the terminal:
sudo nano /etc/inittabAfter opening, comment out the last line and add a # sign before it. # T0: 23: respawn:/sbin/getty-L ttyAMA0 115200 vt100
3. After modification, you need to install a mini-com on Raspberry Pi. Here, mini-com is a serial debugging tool on the Linux
Raspi-config is a Raspberry Pi configuration tool designed and maintained by Alex Bradbury for Raspbian Systems.1. Usage (usage)When you start Raspbian for the first time, there will be rasp-config hints. To open this configuration tool, simply enter the following command on the terminal:sudo raspi-configsudo administrator permissions are required because the files you want to modify are not owned by the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.