![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 57
owldestiny
我命由我不由天
展开
-
Linux中gcc,g++常用编译选项
-x language filename 设定文件所使用的语言,使后缀名无效,对以后的多个有效.也就是根据约定,C语言的后缀名称是.c的,而C++的后缀名是.C或者.cpp,如果你很个性,决定你的C代码文件的后缀名是.pig 哈哈,那你就要用这个参数,这个参数对他后面的文件名都起作用,除非到了下一个参数的使用。可以使用的参数有下面的这些: `c, `objective-c, `c-he转载 2009-02-25 23:24:00 · 1483 阅读 · 0 评论 -
QTcpSocket断开自动重新连接 auto connect after disconnected
class Socket{ public: Socket(); ~Socket(); public slots: void OnConnected(); void OnDisconnected(); public: QTcpSocket m_tcpSocket; bool m_bConnected();};Socket:Socket(){ m_b原创 2012-12-30 13:47:14 · 8882 阅读 · 0 评论 -
Howto Install and Configure ROS on Ubuntu
HowtoInstall and Configure ROS Groovy on UbuntuFollowthe instructionhttp://www.ros.org/wiki/groovy/Installation/Ubuntuto install ROS Groovy:Setupsources.list:$sudosh -c 'echo "deb http:/原创 2013-04-22 13:41:49 · 1560 阅读 · 0 评论 -
Howto Install and Configure Doxygen for QtCreator on Ubuntu
HowtoInstall and Configure Doxygen for QtCreator on UbuntuDownloaddoxygen-1.8.3.1.src.tar.gz from http://www.doxygen.org/and extract the file;Configure, build and installdoxygen follow the原创 2013-04-15 21:50:25 · 2552 阅读 · 0 评论 -
Howto Write and build ROS program on Ubuntu
Howto Write and build ROS program on UbuntuHerewe will give an example to illustrate howto write and buildROS(Groovy) program on Ubuntu. The complete example can be downloaded at:http://download原创 2013-04-22 13:43:48 · 1209 阅读 · 0 评论 -
Howto install matlab on Ubuntu
Matlab_2013A_MacOS_Unix_64.iso Ubuntu 12.04LTSInstall Furius ISO Mount fromUbuntu Software Center;Launch Furius ISO Mount browse theiso, set Loopand thenmount the iso as:$cd Matlab原创 2013-04-15 19:51:49 · 3306 阅读 · 0 评论 -
VTK Installation and Configuration with Qt in Ubuntu
Download vtk-5.10.1.tar.gz fromhttp://vtk.org/VTK/resources/software.html#latestand extract;$cd/home/chen/Downloads/VTK5.10.1/$mkdir VTKBin$cd VTKBin$cmake ..$ccmake ..configure原创 2013-04-15 15:51:25 · 1473 阅读 · 0 评论 -
Howto Install and Configure Chinese Input Methods on Ubuntu
Howto Install and Configure Chinese Input Methods on UbuntuInstallChinese language support:SystemSettings->Language Support->Install/Remove Languages->selectchinese (simplified) and apply chan原创 2013-04-15 21:47:51 · 5212 阅读 · 0 评论 -
Howto Install and Configure QtCreator on Ubuntu
Howto Install and Configure QtCreator on UbuntuInstall Qt from Ubuntu Software Center,just search qt and select qtcreator, select add-onsafter selecting add-ons, apply thechanges and then in原创 2013-04-15 21:56:53 · 1259 阅读 · 0 评论 -
Howto Install and Configure VTK on Ubuntu
Howto Install and Configure VTK on UbuntuDownload vtk-5.10.1.tar.gz fromhttp://vtk.org/VTK/resources/software.html#latestand extract;$cd/home/chen/Downloads/VTK5.10.1/$mkdir VTKBin$c原创 2013-04-15 21:53:38 · 3810 阅读 · 0 评论 -
ROS in Qt framework
//test.h#include class Test:public QThread//must inherit from QThread{ Q_OBJECTpublic: Test(ros::NodeHandle); ~Test();public slots:public: ros::NodeHandle m_ROSNode;public:原创 2012-12-27 23:05:25 · 2978 阅读 · 0 评论 -
Linux记录
使用linux过程中的记录:/目录下的文件夹权限:默认是属于root用户组,先修改/etc/group中的组成员sudo emacs /etc/group在第一行添加当前用户修改文件夹权限sudo chmod 777 /dirname 同样的方法可以用于修改串口的权限ibus输入法1.安装语言包settings->language support->原创 2012-12-06 20:30:01 · 1200 阅读 · 0 评论 -
Ubuntu 触摸板 关闭触击代替点击
Howto: Modify Laptop Touchpad SensitivityOne of the things that really irritated me when I made the Ubuntu switch was the sensitivity of the laptop touchpad. It seemed to fly all over the screen a转载 2010-05-05 17:28:00 · 2047 阅读 · 0 评论 -
Ubuntu下安装QNX6.5 SDP
Ubuntu下安装QNX6.5 SDP:光盘放进光驱会自动mount,然后会提示autorun,这时可以直接取消,因为安装需要root权限。cd /media/QNXSDP650sudo./qnxsdp-6.5.0-201007091524-linux.bin其他的部分和Windows下一样正常进行,默认的安装目录是在/opt/qnx650安装完成后在/opt/qnx650目录原创 2012-09-05 15:43:58 · 4481 阅读 · 0 评论 -
rosdep command not found solution
I am trying to use rosdep to install some packages, but ros told me 'rosdep command not found', here is the solution1. open ubuntu software center, select ROS precise (if you have followed the instr原创 2012-09-08 09:40:43 · 7650 阅读 · 0 评论 -
ROS中Hokuyo_node使用
Howto_Use_ROS_Hokuyo_node?主要参考材料:http://www.ros.org/wiki/hokuyo_node/Tutorials/UsingTheHokuyoNodehttp://www.ros.org/wiki/hokuyo_node/Tutorials/UsingReconfigureGUIToChangeHokuyoLaserParametersh原创 2012-09-06 17:05:44 · 9690 阅读 · 0 评论 -
SVN下载代码
首先,自己在linux这块完全是小白,这里写的任何东西都是自己做个记录,方便日后查询,如果能够对其他人有所帮助也是很好的。SVN是个比较好的版本控制系统,不过对于我来说,主要是想用svn从网上下一些参考的代码,也就是当ftp来使了。下面看看怎么从网上的svnrepository上下载东西:1.安装SVN,这块也不知道是什么意思,有没有用也不确定,不过我这么做了,感觉更像是安装的原创 2012-09-08 11:26:30 · 2798 阅读 · 0 评论 -
Linux export 命令
转载:http://mymobile.iteye.com/blog/1407601Linux export 命令 功能说明:设置或显示环境变量。(比如我们要用一个命令,但这个命令的执行文件不在当前目录,这样我们每次用的时候必须指定执行文件的目录,麻烦,在代码中先执行export,这个相当于告诉程序,执行某某东西时,需要的文件或什么东东在这些目录里)语 法:export [-fnp][转载 2012-09-08 16:36:28 · 1369 阅读 · 0 评论 -
如何清除一个被占用的tty端口
转自:http://www.365testing.com/bbs/thread-19686-1-1.html本文讲述了一系列清除被占用的tty端口的方法,适用于tty端口锁死或者不能通讯的任何情况。 一个tty端口不可用,忙,或者该tty端口一直死锁,可能是因为有进程占用着该端口或者其他原因。下面我们示例如何清除一个被占用的tty端口。以下的例子假设tty端口是tty0。需要注意的是,只有转载 2012-09-12 13:53:56 · 3620 阅读 · 0 评论 -
LINUX 查看硬件配置命令
系统 # uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsusb -tv # 列出所有USB设备 # lsmod # 列出加转载 2012-10-12 17:57:45 · 1450 阅读 · 0 评论 -
在Ubuntu面板上添加CPU使用率及温度显示指示器
转自:http://www.mylouge.com/2011/05/1866.html在Ubuntu面板的指示器上显示CPU和内存使用率以及CPU温度的小软件:System Monitor Indicator.安装方法如下:sudo apt-add-repository ppa:alexeftimie/ppasudo apt-get updatesudo apt-g转载 2012-11-13 09:39:22 · 4605 阅读 · 0 评论 -
Howto Install and Configure PCL on Ubuntu
HowtoInstall and Configure PCL on UbuntuToinstall PCL, just follow the official instructions onhttp://pointclouds.org/downloads/linux.html$sudoadd-apt-repository ppa:v-launchpad-jochen-spricke原创 2013-04-15 21:59:58 · 4720 阅读 · 0 评论