ros
fly1ng_duck
这个作者很懒,什么都没留下…
展开
-
Visual Studio Code 找不到Ros message头文件
问题的来源使用vscode 的时候重新编译产生了ROS的message 的头文件,之后无法include that pathSolutionDelete the previous .vscode settings and reopen the windows again.原创 2019-12-16 19:27:23 · 1037 阅读 · 1 评论 -
ROS 连接 xbox wireless controller( one s)
xbox驱动本来这是非常简单的事情,安装驱动,然后用相应的ros package但是事情复杂化了,原因是我安装了一个过时的驱动 xboxdrv, 所以 jtest的时候会出现 js0 js1 js2 js3本来这 只需要sudo apt-get install ros-kinetic-joy驱动就安装上了然后这里注意了,Linux 下的适配器并不能工作,这是最骚的,我之前用北通的就...原创 2019-12-15 19:06:15 · 1470 阅读 · 0 评论 -
ros cpp segmentation fault
在laser接受类 写上boost::mutex; 例子class A{void laserscancallback(){boost::mutex::scoped_lock lock(laser_mutex);} private:boost::mutex laserscan;};原创 2018-10-23 09:51:30 · 220 阅读 · 0 评论 -
Cmakelist配置 PCL
find_package( PCL REQUIRED )include_directories( ${PCL_INCLUDE_DIRS} ) # if we linked catkin libraries again this it will cause ld error;link_directories(${PCL_LIBRARY_DIRS})add_definitions(${PC...原创 2018-11-27 15:15:54 · 1610 阅读 · 0 评论 -
gtest在ros下使用
在gtest folder 下编译 1998 sudo apt-get install libgtest-dev 1999 cd /usr/src 2000 ls 2001 cd gtest/ 2002 sudo cmake CMakeLists.txt 2003 sudo make 2004 sudo cp *.a /usr/lib 2005 history...原创 2018-11-27 15:34:43 · 981 阅读 · 0 评论 -
qt include msg file in ros
还需要在project 那里点 rebuild 才可以#include <msg.h> file原创 2018-11-28 10:37:48 · 189 阅读 · 0 评论 -
重看 cartographer ros
看的是0.1.0的版本std::unique_ptr<nav_msgs::OccupancyGrid>MapBuilderBridge::BuildOccupancyGrid() { CHECK(options_.map_builder_options.use_trajectory_builder_2d()) << "Publishing Occupa...原创 2018-11-28 11:06:02 · 452 阅读 · 0 评论 -
先锋机器人启动失败
rosrun rosaria RosAria 出现问题,报错应该是什么/port parameter 错误, 只需按restart 估计是复位小车里的寄存器, 然后再 rosrun 驱动就可以了原创 2018-12-05 15:39:48 · 240 阅读 · 0 评论 -
rosbag filter 过滤topic
rosbag/Tutorials/Producing filtered bag filesrosbag filter <your bagfile> turtlecom.bag 'topic == "/turtle1/command_velocity"'Now runrosbag infoon turtlecom.bag. You should see a...原创 2019-04-29 10:46:58 · 4432 阅读 · 6 评论 -
rviz plugin troubleshooting
<launch> <include file="$(find velodyne)/launch/VelodyneParam.launch" /> <node pkg="nodelet" type="nodelet" name="standalone_nodelet" args="manager" launch_prefix="xterm -e gdb --args"/> <node pkg="nodelet" type="nodelet" name="Project3D" ar原创 2019-04-24 16:30:35 · 440 阅读 · 0 评论 -
开源自动驾驶框架autoware解读
这是autoware的用户手册,感兴趣自行下载https://github.com/CPFL/Autoware-Manuals这个lidar是3d 64线的, 我之前记得在roscon2017上autoware的presentation 有说过,是用的12辆车连续7天绘制的3d urban city point cloud 图,那时候看贼吉尔炫这里只提到了scan matc...原创 2019-05-13 18:00:00 · 5786 阅读 · 1 评论 -
costmap 用layer的设置方法
plugins: - {name: static_layer, type: "costmap_2d::StaticLayer"} - {name: obstacle_layer, type: "costmap_2d::VoxelLayer"} - {name: inflation_layer, type: "costmap_2d::InflationLayer"} - {name...转载 2018-10-17 15:23:26 · 1706 阅读 · 0 评论 -
qt 搭建ros
首先就是改文件gedit ~/.local/share/applications/DigiaQtOpenSource-qtcreator.desktop如果打开空白就自己找 一般在这个子目录applications下面然后一定是得用qt这个desktop +gcc 的kit打开qt的默认...原创 2018-09-13 20:56:51 · 184 阅读 · 0 评论 -
my first launch file
<launch> <node pkg="turtlesim" type="turtle_teleop_key12312" name="turtlesim_teleop_keyboard" output="screen"> <remap from="turtle1/cmd_vel" to="/wtf_CmdVel"原创 2018-04-15 18:23:40 · 140 阅读 · 0 评论 -
Linux下编译工程
https://blog.csdn.net/windone0109/article/details/2817792 Linux 下查找文件。https://blog.csdn.net/shuifu1988/article/details/76461244 stageros 的启动http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes 启动turtl...原创 2018-04-11 21:18:11 · 956 阅读 · 0 评论 -
RosNode c++
http://wiki.ros.org/ROSNodeTutorialC%2B%2B that 's the shit from the ros wiki let's check out thi shit!Writing a Publisher/Subscriber with Dynamic Reconfigure and Parameter Server (C++)This tutorial w...原创 2018-04-11 21:46:42 · 255 阅读 · 0 评论 -
shits happens\
catkin_package() include dir '/home/booney/node_example/devel/include' should be placed in the devel space instead of the build spaceCall Stack (most recent call first): /opt/ros/indigo/share/catk...原创 2018-04-12 15:32:28 · 235 阅读 · 0 评论 -
算法的一些技巧
比如说 字母Boolean问题可以vector<int>vector<int> wtf(26,0)for (int i =0 ;i<s.size();i++)wtf[s[i]-'a']++;原创 2018-04-12 18:46:08 · 148 阅读 · 0 评论 -
ROS Eigen库配置
在ros package.xml 里的build_depend tag上加上eigen原创 2018-06-25 19:59:06 · 599 阅读 · 0 评论 -
setup qt for ros
1.按照官网安装qt ros plugin2.然后就会缺失头文件的问题 然后就可以看U盘里那篇qt设置的文章 直接open project 打开cmakelist3.然后在cmakelist 修改各类执行文件就可以了...原创 2018-09-12 19:45:06 · 126 阅读 · 0 评论 -
ros param 和ros nodehandle 的全局和局部空间
所有的设置在demo已经得到展现了1.一种是可以在源文件设置param2.第二种就是在luanch file 里面设置有一个点需要注意的是 如果两个都设置的话 以源文件设置的为记住 因为ros::param::get () 这个函数会不再获取launch file里面的rosparam 关于nodehandle 全局和局部的区分是在于 launch file 的有没有在node...原创 2018-09-13 20:54:56 · 2452 阅读 · 0 评论 -
ros 加载地图
1.Map files are stored as images, with a variety of common formats being supported (such as PNG, JPG, and PGM)2.Although color images can be used, they are converted to grayscale images before being ...原创 2018-09-19 10:51:39 · 3389 阅读 · 0 评论 -
Great tutorial from github
it 's about position control of the turtlesim the source code page is fromhttps://github.com/utari/UTARI_ROSTutorials/wiki/TurtlesimPositionController-TutorialDesired LocationThis will be a new topic ...原创 2018-04-15 16:19:35 · 149 阅读 · 0 评论