win10与ubuntu20.04双系统常见问题
双系统时间不准的问题
ubuntu下操作
# 更新ubuntu的系统时间
sudo apt-get update
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
# 将时间更新到硬件上
sudo hwclock --localtime --systohc
win10下操作
Reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1
ubuntu20.04 安装软件
安装百度网盘
下载百度网盘deb版本后
sudo dpkg -i baidunetdisk_3.5.0_amd64.deb
安装ros noetic
添加souces.list及keys
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
更新软件包索引
sudo apt update
安装桌面完整版
sudo apt install ros-noetic-desktop-full
配置环境
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
安装webots
安装版本2021b,下载deb版本后执行命令
sudo dpkg -i webots_2021b_amd64.deb
提示
dpkg: 依赖关系问题使得 webots 的配置工作不能继续:
webots 依赖于 ffmpeg;然而:
未安装软件包 ffmpeg。
webots 依赖于 libssh-dev;然而:
未安装软件包 libssh-dev。
直接执行如下语句即可
sudo apt --fix-broken install
WARNING: System below the minimal requirements.
Webots has detected that your system features an old unsupported GPU. A recent NVIDIA or AMD graphics adapter is highly recommended to run Webots smoothly.
- Shadows have been deactivated.
- Anti-aliasing has been deactivated.
- Main 3D view global ambient occlusion has been de-activated.
- Texture quality has been reduced.
You can try to re-activate some OpenGL features from the Webots preferences.
参考