- 博客(168)
- 资源 (12)
- 收藏
- 关注
原创 ROS 错误之 [rospack] Error: package 'beginner_tutorials' not found
ubuntu 下面情况处理$ cd ~$gedit .bashrc再后面加入两行 source /opt/ros/indigo/setup.bashsource /home/sfe1012/RosWorkSpace/devel/setup.bash
2015-01-02 20:50:04 11535 1
转载 Ubuntu不显示grub怎么办?
显示grub菜单 Ubuntu不显示grub怎么办?默认情况下,如果系统只有一个版本的ubuntu,grub菜单是不显示的。打算显示grub菜单。步骤如下: 首先备份/etc/default/grub文件 打开/etc/default/grub文件,找到 GRUB_HIDDEN_TIMEOUT=0 这行,使用#注释掉,变成 #GRUB_HIDDEN_TIMEOUT=0
2016-11-10 10:36:03 9969
原创 linux下如果想要打开两个摄像头VIDIOC_STREAMON: No space left on device解决方案
libv4l2: error turning on stream: No space left on deviceVIDIOC_STREAMON: No space left on device 可以应用:
2015-01-23 14:43:57 8759 5
原创 Visual Assist X Options 设置代码高亮颜色
1、点击小助手的小苹果图标2、在Advanced栏目中的-》Refactioring 中 右侧第一条 Highlight 设置你要的颜色
2016-03-03 08:42:23 8139
原创 任意两不同坐标系的相互转换
注意: 应该用施工坐标系向测量坐标系旋转的夹角为a。这个公式的用在机器人的本身坐标系同机器人传感器坐标系之间的互相转换。尤其是激光雷达传感器同机器人之间相互转化。
2017-01-16 11:03:06 7859 1
原创 arm-linux-gnueabihf-g++: error while loading shared libraries: libstdc++.so.6 no such file and ....
有一些老版本的arm-gcc 编译程序时经常报错arm-linux-gnueabihf-g++: error while loading shared libraries: libstdc++.so.6 no such file and .......解决办法:apt-get install lib32z1 lib32ncurses5apt-get install lib
2017-07-11 16:10:36 7690
原创 移植Qt5.7在开发板上运行Qt程序提示This application failed to start because it could not find or load the Qt platfo
./LinuxAGV This application failed to start because it could not find or load the Qt platform plugin "linux #eglfs"in "".Available platform plugins are: linuxfb, minimal, offscreen.Reinsta
2017-08-30 09:41:04 6553 1
原创 ubuntu arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6
sudo apt-get install lib32stdc++6
2014-06-02 15:09:18 6370
原创 socket can error write: No buffer space available
1、查看 root@socfpga:/sys/class/net/can0# cat tx_queue_len102、root@socfpga:/sys/class/net/can0# echo 4096 > tx_queue_len3、root@socfpga:/sys/class/net/can0# cat tx_queue_len4096
2017-09-15 16:40:20 4894 2
原创 ubuntu : you may need to re-run your boot loader[grub] 解决办法
问题:The link /vmlinuz.old is a damaged linkRemoving symbolic link vmlinuz.old you may need to re-run your boot loader[grub]The link /initrd.img.old is a damaged linkRemoving symbolic link in
2015-02-01 21:53:03 4697
原创 编译内核驱动模块的时候错误解决方案
makefile:ifeq ($(KERNELRELEASE),)KERNELDIR ?= /home/sfe1012/GSRD/linux-socfpga-socfpga-3.12/PWD := $(shell pwd)modules: $(MAKE) -C $(KERNELDIR) M=$(PWD) modulesmodules_install: $(MAKE) -C
2017-08-07 11:15:38 4027
原创 Xmanage 登录 ubuntu 16.04
1、sudo ufw disable2、sudo apt-get install xubuntu-desktop3、Configure the /etc/lightdm/lightdm.conf file as follows. If the file does not exist, create it.[XDMCPServer]enabled=true[Seat:*]au
2016-09-13 19:13:01 3578
原创 QSslSocket: cannot resolve SSLv2_client_method
QT错误解决:sudo apt-get install libssl0.9.8
2015-03-24 20:08:44 3530 1
原创 linux 高精度定时器 hrtimer 用户空间的应用 man timer_create
TIMER_CREATE(2) Linux Programmer's Manual TIMER_CREATE(2)NAME timer_create - create a POSIX per-process timerSYNOPSIS #include #include int time
2016-08-16 11:15:42 3253
原创 beagelbone black 开发之内核编译错误 net/wireless/regdb.c:1551:1: error: expected expression before ‘const’
net/wireless/regdb.c:1551:1: error: expected expression before ‘const’make[2]: *** [net/wireless/regdb.o] Error 1deal with : configs/beagleboneView@@ -1057,7 +1057,7
2015-01-28 19:47:18 3151
原创 VS中的编译错误 error C2146: ipexport.h(69): winnt.h(301):
ipexport.h(69): error C2146: 语法错误: 缺少“;”(在标识符“OptionsData”的前面)63行//sfe ADD#define POINTER_32 __ptr32//sfe Addwinnt.h(301): error C2146: 语法错误: 缺少“;”(在标识符“PVOID64”的前面)299行//sfe ADD#d
2015-03-09 14:33:09 3102 1
原创 出租车计费
#include #includeusing namespace std;float Calculation(const float &fDistance , const int & iMinutes){ float fResult = 0; float fMinuteResult = 0; float fDistaceResult = 0; if(fDistanc
2014-08-07 19:48:21 3058
转载 百度地图坐标转换(gps google 百度坐标相互转换)
http://malagis.com/baidu-map-coordinate-transformation.htmlgoogle坐标转换百度坐标BMap.Convertor.translate(ggPoint,2,translateCallback); //GCJ-02坐标转成百度坐标GPS坐标转换百度坐标 BMap.Convertor.translate(
2015-03-24 20:41:00 2645
原创 string.h 中的字符大小写转换
字母大小写转换函数的声明包含在string.h头文件中,函数的原型如下:char*strupr(char *string)功能:将字符串string中的小写字母转换为大写,并返回指向string的指针。char*strlwr(char *string)功能:将字符串string中的大写字母转换为小写,并返回指向string的指针。
2014-11-18 15:13:57 2494
转载 VS项目配置中 C++目录--包含目录(or库目录继承值的删除问题)
电脑从xp系统换到了win7 64位系统,VS与opencv都需要重新安装和配置了,在配置之前在网上搜“win7 64位系统+VS2010+opencv2.3.1的配置”,也实验过别人讲的方法,但是都不成功。各种方法实验了之后,再新建VS工程,配置项目属性的C++目录时,问题来了,C++目录--包含目录(or库目录继承值的删除问题)" title="VS项目配置中 C++目录--包含目录(
2014-07-27 15:18:26 2451
原创 贡献一段 GSM 发送汉字短信的 完整代码 其中包括了汉字转Unicode码转换函数
这段代码时很久之前写的 今天发出来 时回想当时的情景 非常的好玩,尤其在汉字转换为Unicode码的时候 好好玩/* * mess.c * * Created on: 2013-3-5 * Author: root */#include #include #include #include #include #include #include #incl
2015-03-24 21:14:42 2449
原创 BeagleBone Black安装bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img时不能烧写到emmc上的办法
从官网上下载debian的版本时2015年3月1号发布的BeagleBone and BeagleBone Black via microSD cardDebian (BeagleBone, BeagleBone Black - 4GB SD) 2015-03-01 - more info - bittorrent - md5: c848627722b7a5f7bc8979
2015-03-15 20:17:08 2406
原创 仔细观察BBB Debian系统内核升级过程 将会明白很多
root@beaglebone:/# cd opt/root@beaglebone:/opt# ls cloud9 desktop-background.jpg scripts sourceroot@beaglebone:/opt# cd s-bash: cd: s: No such file or directoryroot@beaglebone:/opt# cd scripts/root@be
2015-01-28 21:06:51 2383
原创 BeagleBone Black 应用开发之Debian内核编译
Debian 系统对于BeagleBone Black的支持不断的在更新之中,这是我们大家喜闻乐见的事情。现在,我将会介绍如何编译Debian发布的kernel。对于我们这些DIY爱好者来说,资源是最为重要的东西,介绍一下Debian的资源。1、http://elinux.org/Beagleboard:BeagleBoneBlack_Debian debian 对bbb 的帮助文
2015-01-28 20:13:16 2362
转载 C++类模板详解
有时,有两个或多个类,其功能是相同的,仅仅是数据类型不同,如下面语句声明了一个类:class Compare_int{public : Compare(int a,int b) { x=a; y=b; } int max( ) { return (x>y)?x:y; } int min( ) { return (x
2014-08-17 15:14:58 2318
原创 QT 5.8 Raspbian 移植
零、配置Arm-gcc在http://releases.linaro.org/components/toolchain/binaries/4.9-2016.02/arm-linux-gnueabihf/ 下 gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf.tar.xz解压后 在/home/sfe1012/.bashrc文件的最后面添加
2017-03-24 10:45:43 2189
原创 ROS中创建urdl文件后,需要检查是否正确。需要安装check_urdf工具
sudo apt-get install liburdfdom-tools
2015-01-03 20:05:33 2187 1
原创 QGtkStyle was unable to detect the current GTK+ theme
gtk开发的桌面运行qt的程序有时会报这个错:代码:QGtkStyle was unable to detect the current GTK+ theme解决方法:代码:# gconftool-2 --set /desktop/gnome/interface/gtk_theme --type string "Default"# Default
2013-11-20 21:46:40 2157 1
原创 图像处理之 YUYV422 To OpenCV IplImage
可能你需要 将 YUYV422 格式的buffer 转换到 opencv 中的
2014-08-03 18:20:55 1924
原创 ROS 源码安装方式
ubuntu :sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential$ sudo rosdep init$ rosdep update$ mkdir ~/ros_catkin_ws$ cd ~/ros_cat
2015-02-04 16:21:49 1882
原创 基于BBB的4轮移动轮式机器人系统设计与实现(四)--BeagleBone Black PWM 应用程序开发
在BBB开发板中,PWM的应用程序一共有三个类:PWM基类、PWM舵机类、PWM电机控制类PWM基类表示PWM引脚的通用功能,如加载PWM引脚所对应的设备树、加载PWM定时器等PWM基类定义/* * BeagleBonePWM.h * * Created on: 2014-6-9 * Author: sfe1012 */#ifndef BEAG
2015-04-24 23:10:53 1871
原创 基于BBB的4轮移动轮式机器人系统设计与实现(五)--BeagleBone Black编码器开发应用
首先声明,这个应用是来自外国网站,自己也是依葫芦画瓢得来。如果想要获得原来的版本可以关注网站:https://github.com/Teknoman117/beaglebot但是本人做的编译内核的办法方案与其不同,我是应用下载好的内核源代码来编译驱动。过程如下:第一 :下载最新的开发板的内核源代码,可以到这里git://github.com/beagleboard/kernel
2015-01-23 21:37:38 1793
原创 基于BBB的4轮移动轮式机器人系统设计与实现(三)--BeagleBone Black PWM 驱动
PWM驱动是外文网站中获得的方法 用的是Debian 系统 内核版本为bone70第一 :下载最新的开发板的内核源代码,可以到这里git://github.com/beagleboard/kernel.git下载,我用的bone70版本的。第二: 下载编码器驱动和API http://download.csdn.net/detail/sfe1012/8635107下载
2015-04-26 21:48:18 1709
原创 ubuntut添加软件源在后边额外添加 sudo gedit /etc/apt/sources.list
##sfe1012 ADD 搜狐源deb http://mirrors.sohu.com/ubuntu/ precise main restricteddeb-src http://mirrors.sohu.com/ubuntu/ precise main restricteddeb http://mirrors.sohu.com/ubuntu/ precise-updates ma
2014-12-29 15:07:55 1699
原创 基于BBB的4轮移动轮式机器人系统设计与实现(七)-- 遥控手柄 控制 类
遥控手柄类应用的北通神鹰2手柄 北通(BETOP)BTP-2175 阿修罗SE 有线震动版 游戏手柄 镜面白对这个手柄在 linux下的数据采集方案需要用到 PlayJoy 手柄框架,可以在GraduationCommon类定义与实现#ifndef QGRADUATIONCOMMON_H#define QGRADUATIONCOMMON_H#inclu
2015-04-24 23:38:59 1632
原创 beaglebone black debian 系统内核更新 方法
可以参考 :http://elinux.org/Beagleboard:BeagleBoneBlack_DebianKernel UpgradeWe can't ship support for everything on release day, so we push out new kernels as fixes, support for new capes, etc are
2015-01-27 19:06:26 1516
原创 fedora 19 安装之后 没有GCC、没有lex yacc
第一,http://mirrors.163.com/.help/fedora.html下载fedora-163.repo和fedora-updates-163.repo, 放入/etc/yum.repos.d/运行yum makecache生成缓存。第二,yum -y install gccyum -y install gcc-c++
2013-11-20 20:44:05 1514
原创 linux 开发板设置 root登录 和 登录后启动自定义应用程序
1、自动登录root (1)、首先编译一个自动登录的小程序 源码如下: /* * autologin.cpp * * Created on: 2017-7-19 * Author: sfe1012 */ #include int main() { execlp("lo
2017-07-19 10:29:53 1509
原创 基于BBB的4轮移动轮式机器人系统设计与实现(二)-----硬件搭建
开发板:beaglebone black BBB 底盘稳压3个 电机12V 舵机6V 开发板5V 集线器电机电机驱动 L398NSIM908 GPS 和 奥尼 ANC魔狼系列摄像头摄像头云台 电池 2节
2015-04-24 22:36:47 1504
Visual Assist 扩展
2014-07-25
ARM平台下基于SIM908车载定位监控系统研究
2014-03-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人