上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: miao@openlib:~$ sudo rosdep init ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sourc 阅读全文
posted @ 2020-12-31 20:50 miaorn 阅读(201) 评论(0) 推荐(0) 编辑
摘要: miao@openlib:~/opencv_python/opencv-4.5.0/build$ cmake -DCMAKE_EXE_LINKER_FLAGS=-lcblas -DCMAKE_BUILD_TYPE=Release -DOPENCV_GENERATE_PKGCONFIG=ON-DCMA 阅读全文
posted @ 2020-12-31 19:14 miaorn 阅读(2765) 评论(0) 推荐(1) 编辑
摘要: 智能 1 #include <SoftwareSerial.h> 2 3 4 int switchCircuit = 6;//定义switch引脚为6继电器开关 5 SoftwareSerial mySerial(10 ,11); //RX ,TX 软串口 6 #define acs712 A0 7 阅读全文
posted @ 2020-12-25 15:58 miaorn 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 在ubuntu下经常插入多个usb设备则需要知道端口号但是每次都是随即分配/dev/ttyUSB0~9 一,绑定usb芯片,但是同型号芯片不能同时插 则通过一下方法绑定设备串口名称 首先 lsusb 出现如下 Bus 002 Device 001: ID 1d6b:0003 Linux Founda 阅读全文
posted @ 2020-12-16 16:57 miaorn 阅读(2319) 评论(0) 推荐(1) 编辑
摘要: kinetic版本可以直接下载 sudo apt-get install ros-kinetic-manipulation-msgs melodic git clone https://github.com/ros-interactive-manipulation/manipulation_msgs 阅读全文
posted @ 2020-12-10 16:05 miaorn 阅读(2156) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-30 21:13 miaorn 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 第一步 打开bashrc文件: sudo gedit ~/.bashrc 第二步 在bashrc文件末尾加入以下代码: 1 echo "ros melodic(1) or ros2 dashing(2)?" 2 read edition 3 if [ "$edition" -eq "1" ];the 阅读全文
posted @ 2020-11-29 20:49 miaorn 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 在树梅派为主控的机器人上运行ros程序,需要通过rviz进行查看 可以通过vnc连接桌面来实现rviz的使用,但是对网络要求较高 所以通过ros的特点分布式处理 实现在同一局域网内的多机通信实现在pc端运行rviz export ROS_HOSTNAME= 本机ip export ROS_MASTE 阅读全文
posted @ 2020-11-21 16:33 miaorn 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 树梅派在启动过程中会有很多Faild 然后会进入tty 登录后启动x服务 startx 会出现如下错误 解决办法: 将卡插在电脑上在 //tmp 下添加一个文件 .tX1-lock 内容为: 8001 重新插入树梅派即可登录 如果断电强制关机还会导致这个问题,重复以上步骤即可 至于一劳永逸的办法目前 阅读全文
posted @ 2020-11-21 14:46 miaorn 阅读(297) 评论(0) 推荐(0) 编辑
摘要: git init //把这个目录变成Git可以管理的仓库 git add README.md //文件添加到仓库 git add . //不但可以跟单一文件,还可以跟通配符,更可以跟目录。一个点就把当前目录下所有未追踪的文件全部add了 git commit -m "first commit" // 阅读全文
posted @ 2020-11-19 19:43 miaorn 阅读(65) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页