- 博客(15)
- 资源 (8)
- 收藏
- 关注
原创 mavros ArduSub SITL Ubuntu环境搭建
ArduSub SITL Ubuntu环境搭建第一步:http://ardupilot.org/dev/docs/building-setup-linux.html#building-setup-linuxSetting up the Build Environment (Linux/Ubuntu)如果已经有git了。可以忽略页面中git相关的步骤。git clone https://...
2019-07-31 16:37:11 792
转载 Permission denied pip
之前必须是sudo pip -V才能查看Pip的版本You don't have permission to the Python folder.sudo chown -R $USER /usr/local/lib/python2.7加入这个命令之后,可以pip -V查看通过这个命令,将Pip权限直接给到当前用户,而非root用户pip、pip3安装...
2019-07-31 11:47:00 1259
原创 prime
#include <cstdio>#include <cmath>#include<iostream>#include<fstream>#include<vector>using namespace std;unsigned long long ind, n;vector<int> table(0);ofs...
2019-07-28 19:55:49 434
原创 NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver -nvidia ubuntu安装英伟达驱动
Ubuntu Nvidia 显卡驱动安装教程官网下载Nvidia 驱动文件去官网下载合适的.run文件https://www.geforce.cn/drivers根据自己的显卡型号手动搜索下载驱动, 比如我的显卡型号是RTX 2080Ti,我是下载搜索出来的list里面最新版Note: 如果之前自己装了无效的nvidia驱动,请卸载原有驱动~$: sudo apt-ge...
2019-07-28 17:22:17 8310
原创 gogs 邮箱服务配置 设置管理员账号
第一步,登录邮箱配置开启smtp服务,并申请授权。以我的qq邮箱为例子。点击上图二维码旁边的“生成授权码”后,按要求发送短信。得到我的授权码类似如下。找到app.ini文件添加邮箱配置[mailer]ENABLED = trueHOST = smtp.qq.com:25FROM =***@qq.comUSER =***@qq.com...
2019-07-25 19:55:27 3687
原创 python 给小学生出数学题目
import randomfo = open("test.txt", "w")ans = open("ans.txt", "w")mm=100a=[]b=[]sign = ['-','+']for x in range(10,mm): for y in range(10,mm): if x+y<mm: a.append([x,y,1]) ...
2019-07-23 13:23:02 3927
原创 urdf tools
zhangym@zhangym:~/catws/eca_a9/eca_a9_description/robots$ rosrun xacro xacro.py eca_a9_default.urdf.xacro -o a.urdfzhangym@zhangym:~/catws/eca_a9/eca_a9_description/robots$ urdf_to_graphiz a.urdf...
2019-07-23 11:08:32 221
原创 urdf xacro macro
./uuv_sensor_plugins/uuv_sensor_ros_plugins/urdf/magnetometer_snippets.xacro: <xacro:macro name="default_magnetometer" params="namespace parent_link">./uuv_descriptions/urdf/rexrov_sensors.xac...
2019-07-19 16:51:17 483
原创 uuv_simulator
https://uuvsimulator.github.io/packages/uuv_simulator/docs/tutorials/disturbances/2019-07-18 10:30:29,701 | ERROR | dp_controller_local_planner | Invalid waypoint file 2019-07-18 10:31:35,073 |...
2019-07-18 10:44:32 2660 2
原创 ubuntu 下 c 遍历目录下的全部文件
#include <iostream>#include <dirent.h>#include<stdio.h>using namespace std;int main() { DIR *d = opendir("/home/zhangym/dataPws/src/bagread/bag"); struct dirent *dp; while...
2019-07-11 18:08:38 750
原创 ros opencv error cv_bridge exception
cv_bridge exception: [8UC3] and [32FC1] do not have the same number of channelcv_bridge exception: [8UC3] and [32FC1] do not have the same number of channelcv_bridge exception: [mono8] is a ...
2019-07-04 15:12:55 2397
原创 'ascii' codec can't decode byte ros
'ascii' codec can't decode byte 0xe7 in position 8: ordinal not in range(128)The traceback for the exception was written to the log fileros 发生这种错误,一般是因为路径名字中有中文导致。解决方法就是,不要用中文名字。...
2019-07-03 19:31:31 1111
原创 rosbag code API
http://wiki.ros.org/rosbag/Code%20APIhttps://github.com/sofiathefirst/imagesCpp/tree/master/bagdemo_ros_img$catkin_create_pkg bagdemo roscpp rospy rosbag std_msgs geometry_msgswritebag.cpp...
2019-07-03 17:35:41 898
原创 ubuntu 源
注意安装完系统后更改/etc/apt/sources.list文件换成国内源,更换方法可以搜索“ubuntu16.04 国内源”。如果换源后sudo apt update还是失败,就去检查/etc/apt/sources.list.d/目录中的文件是否含有需要翻墙才能上的网站(比如安装了chrome就会有这个问题==)--------------------- 作者:gdymind 来源...
2019-07-03 09:39:19 104
STM32Cube_FW_F4_V1.18.0
2018-05-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人