目录
Ubuntu
old-releases
old-releases.ubuntu.com/releases
| date | Ubuntu Release | Linux kernel |
| 2016-04 | 16.04 | 4.4.0-21-generic |
| 2016-07 | 16.04.1 | 4.4.0-31-generic |
| 2017-02 | 16.04.2 | 4.8.0-36-generic |
| 2017-08 | 16.04.3 | 4.10.0-28-generic |
| 2018-02 | 16.04.4 | 4.13.0-36-generic |
| 2018-07 | 16.04.5 | 4.15.0-29-generic |
| 2019-02 | 16.04.6 | 4.15.0-45-generic |
| 2020-08 | 16.04.7 | 4.15.0-112-generic |
| 2018-04 | 18.04 | 4.15.0-20-generic |
| 2018-07 | 18.04.1 | 4.15.0-29-generic |
| 2019-02 | 18.04.2 | 4.18.0-15-generic |
| 2019-08 | 18.04.3 | 5.0.0-23-generic |
| 2020-02 | 18.04.4 | 5.3.0-28-generic |
| 2020-08 | 18.04.5 | 5.4.0-42-generic |
开源镜像
浙江大学 http://mirrors.zju.edu.cn
清华大学 https://mirrors.tuna.tsinghua.edu.cn
华中科技大学 http://mirrors.hust.edu.cn
哈尔滨工业大学 http://mirrors.hit.edu.cn
东北大学 http://mirror.neu.edu.cn
腾讯 https://mirrors.cloud.tencent.com
CUDA
docs.nvidia.com/cuda/archive
Ubuntu 16.04.4 LTS
$ cat /etc/issue.net
Ubuntu 16.04.4 LTS
内核版本
$ uname -r
4.15.0-142-generic
屏蔽开源驱动
lsmod|grep nouveau
sudo vi /etc/modprobe.d/blacklist.conf
blacklist nouveau
sudo update-initramfs -u
sudo reboot
下载nvidia驱动
安装驱动
sudo ./NVIDIA-Linux-x86_64-440.36.run -no-x-check -no-nouveau-check -no-opengl-files
sudo reboot
测试
nvidia-smi
安装CUDA 10.2
wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run
sudo sh cuda_10.2.89_440.33.01_linux.run
sudo dpkg -i libcudnn7_7.6.5.32-1+cuda10.2_amd64.deb
sudo dpkg -i libcudnn7-dev_7.6.5.32-1+cuda10.2_amd64.deb
自动清扫
上海仙途智能 autowise.ai
高仙机器人 www.gs-robot.com
上海于万智驾 www.revolution.auto
福建龙马环卫 www.fjlm.com.cn
ros bag list
findbag.sh
#!/bin/bash
BAGS="`find ~/work -name \"*.bag\"`"
echo $BAGS
for BAG in $BAGS
do
#echo $BAG
rosbag info -y --freq $BAG
done
baginfo.py
import yaml
import os
import time
from datetime import datetime
from datetime import timedelta
def bytes_to_human(n):
symbols = ('K','M','G','T','P','E','Z','Y')
prefix = {}
for i,s in enumerate(symbols):
prefix[s] = 1 << (i + 1) * 10
for s in reversed(symbols):
if n >= prefix[s]:
value = float(n) / prefix[s]
return '%.1f%s' % (value,s)
return '%sB' % n
def main():
f = open("bags.yaml","r")
result = ''
line = f.readline()
while len(line) > 0 :
#print line
if len(line) > 2 :
result = result + line
else:
#print result
data = yaml.load(result)#, Loader=yaml.FullLoader)
#print data
start_local = time.localtime(data['start'])
end_local = time.localtime(data['end'])
start_sz = time.strftime("%Y-%m-%d_%H:%M:%S", start_local)
end_sz = time.strftime("%Y-%m-%d_%H:%M:%S", end_local)
mat = "{:20} {:20} {:16} {:16} {:64}"
print mat.format(start_sz, end_sz, data['duration'], bytes_to_human(data['size']), os.path.basename(data['path']))
result = ''
line = f.readline()
if __name__ == '__main__':
main()
本文档涵盖了Ubuntu旧版本及其内核更新,详细介绍了如何禁用开源驱动并安装NVIDIA CUDA 10.2及驱动。此外,还分享了ROS bag文件的管理和查询工具,包括findbag.sh和baginfo.py脚本的使用。
3万+

被折叠的 条评论
为什么被折叠?



