/opt/ros/indigo
Common errors:
The compilation process compiles more than 180 package and installs it in the/opt/ros/indigo directory, often reporting ' collada_parser ', ' collada_urdf ', ' Rviz ', ' Visualization_ Tutorials ', ' rqt_robot_plugins/rqt_rviz ' these packets are faulty and the installation is interrupted. The solution is to remove the packages from the directory ~/ROS_CATKIN_WS/SRC directory and recompile the entire Ros. Finally, a separate workspace is created and the packages a
dwc_otg.lpm_enable=0 console=tty1 ROOT=/DEV/MMCBLK0P2 ROOTFSTYPE=EXT4 Elevator=deadline rootwait2. Modify /etc/inittab Enter the following instruction: sudo nano/etc/inittab comment out the last line: #t0:23:respawn:/sbin/getty-l ttyAMA0 115200 vt100OK, restart the next Raspberry Pi now can write their own program to test the serial port. I am the TXD and rxd
Go to a script written in Python that outputs the various states and data of the Raspberry Pi, including CPU temperature, CPU usage, memory usage, and hard disk usage.
Article from: Raspberry Pi Lab
First, create a script:
sudo nano get.py
Second, paste the following code: Bash
Import OS # Return CPU temperatu
. BOARD) Gpio.setup (GPIO). Out) P =gpio. PWM (0.5) P.start (1) Input (' Click enter Stop: ') # in Python 2 you need to use Raw_inputp.stop () Gpio.cleanup ()The following is an example of switching LEDs between light and dark:Import Timeimport Rpi.gpio as Gpiogpio.setmode (GPIO. BOARD) Gpio.setup (one, GPIO). Out) Gpio.setup (GPIO). Out) p = GPIO. PWM (P11) = GPIO. PWM (one, P.start) (0) p11.start (0) T
similar to this articleThe article does not write much, in order to avoid later people wandering around and neglected to write the time of the article, these special Plus is June 28, 2014, the province is not on the software version (some of the "latest"and that's the time to say it.). If the forwarding time can add my old gu link is better:)or in 2008-2010 years, compared to the powder Emacs, and then spent a lot of time on the above, programming efficiency is indeed high, but it took a lot of
at the time of the connection, it's simple to do, just add the library to the. Pro file, as shown in:And then compile again, under normal circumstances will be compiled successfully, into the project directory, we will find a very long name of the folder, which is the QT in the compilation of the time produced by some intermediate files, of course, we compile the generated executable is also in the inside, the name and work name, open the console, Enter the directory with the CD command. and th
First, the previous figure:
Accessories used:
1. Main Character: Raspberry Pi
2. secondary role: Infrared Detection
3. Miscellaneous: bread, DuPont wire, buzzer, led, resistor
The infrared detection has three pins. The power supply at both ends and the signal output in the middle directly connect the signal to a gpio of
: This article mainly introduces the program for executing the root permission through sudo on php on Raspberry Pi. if you are interested in the PHP Tutorial, refer to it. 1. problems and causes
The reason why the PHP homepage on Raspberry Pi cannot run commands or scripts with root permissions is not that PHP cannot
Objective
Last year's Raspberry Pi has been in the drawer to eat ash, the previous array of Debian 9 released, there is no accidental support for the Raspberry Pi.
Then re-took out the card reader and re-installed on the Debian Desktop version of the system.
Introduced
Now this thing is just a little bit more about Py
inet DHCP
Auto wlan0
Allow-hotplug wlan0
Iface Wlan0 inet DHCP
WPA-Scan-SSID 1
WPA-AP-Scan 1
WPA-Key-Mgmt WPA-PSK
WPA-Proto RSN WPA
WPA-pairwise CCMP TKIP
WPA-Group CCMP TKIP
WPA-SSID "My Secret SSID"
WPA-PSK "My SSID PSK"
Iface default inet DHCP
Step 3.This opens a editor screen of the WiFi configuration file, need to change.The places where you need to make a change is on the last of the lines.
Raspberry pi +opencv read camera
Call the camera on the Raspberry Pi, read each frame in the video stream, and use the canny edge detection to extract the edges in each frame, the final effect is as follows:
ReadVideo.cpp
#include "opencv2/opencv.hpp"
using namespace CV;
int main (int, char**)
{
videocapture ca
, the host! = Build when the compilation is cross-compilation. If no designation will run ' config.guess ' to detect;>>--prefix: installation directory; >>--help: view parameters;>>--target: This parameter is special, indicating the target platform name that needs to be processed, primarily in the context of program language tools such as compilers and assembler, if no value is specified using host. Generally used to compile tools, such as to the arm Development Board to compile a can handle the
1. Download the latest ROM on the Raspberry Pi website firsthttps://www.raspberrypi.org/downloads/raspbian/Here's the choice: RASPBIAN JESSIE with DESKTOPDate is 2017.7.5Get files after download: 2017-07-05-raspbian-jessie.zipAfter decompression: 2017-07-05-raspbian-jessie2. Prepare the software Win32 Disk ImagerSelect the newly extracted img file, specify the target USB flash drive (recommended to prepare
This is Meelo original play the Raspberry Pi series articleMaterials:
Raspberry Pi (already connected to the power supply and inserted SD card to write the operating system)
1 laptop computers
PuTTY
Step 1: Open the Settings screenThe initial login Raspbian system will automatically open the setti
The first thing we think of about Linux Web servers is:Apache + MySql + Php.
Apache: is the world's first Web server software to use.
Can run on almost all widely used computer platforms, and is the most popular Web server-side software because of its widespread use across platforms and security.
MySQL: is a relational database management system developed by the Swedish MySQL AB company. is the most popular relational database management system, MySQL is one of the best RDBMS (r
Environment: Raspbian-stretch (2018-06-27)Raspberry Pi: 3 generation B TypeOfficial website Installation Address: http://ozzmaker.com/virtual-keyboard-for-the-raspberry-pi/Home found the keyboard some keys have failed, no way, and windows, directly install a virtual key, is
#文中设置均基于最新版的Raspbian系统2016-Version 11
Raspbian in the desktop environment, the system will go into hibernation after a period of time. Tried some methods such as directly with Xset close DPMS, is not successful.
Raspbian uses a lightweight desktop display manager that is LIGHTDM, which allows you to set up Xserver desktop session interaction \ Display, and so on.
1. Open the terminal;
2. Edit/etc/lightdm/lightdm.conf
3. Locate the ' Xserver-command '
Raspberry Pi has two audio output modes: hdmi and headphone interfaces. You can switch between the two modes at any time.
If your HDMI monitor has a built-in speaker, the audio can be played through the HDMI interface. You can also switch to the headset interface to use the speaker of the headset or other headset interface to play the video. If your monitor requests support from the speaker, the sound is ou
If you want to use Raspberry Pi as a small server, the performance may be poor, but the stability must be ensured. The following describes how to improve the stability of Raspberry Pi on the network. 1) modify it in/etc/sysctl. confVM. min_free_kbytes(8192 to 16384) # RPI tweaksvm. swappiness = 1 # VM. min_free_kbyt
Manual CheckChecked the mmcxxx0,mmcxxx0p1,mmcxxx0p2 in the/dev directory.The first two can be mounted normally, and the third mount will prompt for superblock errors.So Baidu a bit0 byte 1024x768 bytes), or it may be in block 0. The data in the Super block is actually the control information part of the file volume, or it is a volume resource table, and most of the information about the file volume is stored here. For example, the size of each block
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.