原创 rosrun時直接設置參數

使用usb攝像頭調試時,不想寫launch文件,想在rosrun時直接設置參數可以以此爲例: rosrun usb_cam usb_cam_node _video_device:=/dev/video1 點贊 收藏

原创 使用opencv實現直線提取

void mapCallback(const nav_msgs::OccupancyGrid& msg) {     ROS_INFO("I heard frame_id: [%s]", msg.header.frame_id.c_str

原创 ubuntu14.04中g2o編譯錯誤:undefined reference to `g2o::opengl::drawPoint(float)'

之前參考此鏈接解決,但沒有任何效果: http://www.voidcn.com/blog/xiat5/article/p-6034087.html 後來意識到可能在cmakelist.txt文檔中,某個庫沒有配置,於是想起之前看到的l

原创 關於機器人的遐想

       認可KK在書中提到的一些觀點。認爲人類是唯一一個親手創造一種物種的物種,而被人類創造的物種就是機器人(泛指一切智能體)。現在所謂的機器人還不能算是智能的,只是具有一些應激反應的“單細胞”生物。但相信在人類的哺育下,機器人將逐

原创 linux 串口接收不到0x11

網上許多流行的linux串口編程的版本中都沒對c_iflag(termios成員變量)這個變量進行有效的設置,這樣傳送ASCII碼時沒什麼問題,但傳送二進制數據時遇到0x0d,0x11和0x13卻會被丟掉。不用說也知道,這幾個肯定是特殊

原创 奧比中光的rgdb傳感器在indigo上跑rbgdslam v2版本注意事項

https://blog.csdn.net/zhangrelay/article/details/53515859https://blog.csdn.net/qq_29828623/article/details/607650431、主要

原创 ubuntu下c語言編程獲取系統時間

#include <stdio.h>   #include <sys/time.h>   #include <time.h>   int gettimeofday(struct timeval *tv, struct timezone *

原创 realsense r200與rtabmap在ros下的使用

roslaunch realsense realsense_r200_launch.launch dHeight:=240 dWidth:=320 dFPS:=30 cHeight:=240 cWidth:=320 cFPS:=30

原创 定製ubuntu14.4系統

實驗了網上介紹的remastersys,utk等,有些找不到安裝包,有些不再支持,有些定製不夠徹底,有些製作的iso文件不能用。最後找到以下方法可以用,介紹如下。主要還是ubuntu官網上的介紹。附上參考網頁: 參考網頁有: https

原创 ROS: How to develop catkin packages from an IDE

http://www.ciencia-explicada.com/2014/12/ros-how-to-develop-catkin-packages-from-an-ide.html 記錄下,可以用

原创 neato xv21 ros下使用

修改neato_node 下neato.py文件如下: #!/usr/bin/env python # ROS node for the Neato Robot Vacuum # Copyright (c) 2010 University

原创 realsense r200模塊在ros-indigo版本下的使用

首先在https://github.com/PercATI/RealSense_ROS網頁上下載realsense的安裝包; 下載後解壓縮依次sh執行壓縮包中三個文件夾中的sh腳本。 在安裝前,先執行下sudo apt-get updat

原创 odom->base_link

tf::TransformBroadcaster odom_broadcaster; ros::Time current_time,last_time; current_time = ros::Time::now();geometry_m

原创 ros中yaml文件讀寫的一種實現

 核心代碼如下,實現了讀取某個yaml文件,增加某項,在輸出到文件中的作用。 #include "yaml-cpp/yaml.h"  double res;   std::string str;   std::ifstream fin(

原创 對bp神經網絡的初步理解

首先通過網友提供的講解,對神經網絡最重要的權值更新部分進行了瞭解: 具體網址爲:http://www.cnblogs.com/wb-DarkHorse/archive/2012/12/12/2815393.html 通過上面的網址可以知道