In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# tf2_ros_example.py: example showing how to use tf2_ros API | |
# Author: Ravi Joshi | |
# Date: 2018/12/6 | |
# import modules | |
import rospy | |
import tf2_ros |
git clone [email protected]:Robertof/nixos-docker-sd-image-builder.git
cd nixos-docker-sd-image-builder
- modify
/config/rpi4/default.nix
to increase size of boot partition- this step is optional but I ran out of space in /boot pretty quickly with the default setting since I'm still learning and rebuilding a lot. Let's leave some room for trial & error.
sdImage.firmwareSize = 1024;
- modify
/config/sd-image.nix
./rpi3
becomes./rpi4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latest versions of these scripts are available in git repository https://github.com/jcmvbkbc/esp32-linux-build |
OlderNewer