Skip to content

Instantly share code, notes, and snippets.

@atinfinity
atinfinity / ros2_humble_install macos.md
Last active March 20, 2024 02:26
ROS 2 Humble installation for macOS
@atinfinity
atinfinity / install-nvidia-container-toolkit-wsl2.md
Last active October 7, 2023 06:30
Install NVIDIA Container Toolkit on WSL2

Install NVIDIA Container Toolkit on WSL2

Preparation

Please install Ubuntu on WSL2.
I have executed the following procedures on Ubuntu 22.04 of WSL2.

Install Docker CLI

@atinfinity
atinfinity / opencv_cuda_g++11_build_error.md
Last active July 15, 2023 16:46
OpenCV with CUDAがg++11でビルドエラーになる問題の追試

macOSでopencv2.frameworkを使う

注意点

OpenCV 4.7.0時点の情報ですが、opencv2.frameworkを作成する環境に以下の制約があります。

  • MacOS 10.15 or later
  • Python 3.6 or later
  • CMake 3.18.5/3.19.0 or later (make sure the cmake command is available on your PATH)
  • Xcode 12.2 or later (and its command line tools)
@atinfinity
atinfinity / reComputer_J4012_CUDA Device Query.md
Created March 26, 2023 14:27
reComputer J4012(Jetson Orin NX) CUDA Device Query
 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "Orin"
  CUDA Driver Version / Runtime Version          11.4 / 11.4
  CUDA Capability Major/Minor version number:    8.7
  Total amount of global memory:                 14486 MBytes (15189422080 bytes)
  (008) Multiprocessors, (128) CUDA Cores/MP:    1024 CUDA Cores
@atinfinity
atinfinity / raspios-legacy-opencv4.7.0.md
Last active January 6, 2023 19:07
raspios-opencv4.7.0

environment

  • Raspberry Pi 4 Model B/8GB
  • 2022-09-22-raspios-buster-armhf.img.xz

setup

sudo apt update
sudo apt upgrade
@atinfinity
atinfinity / Dockerfile
Last active November 3, 2022 01:28
VHS Docker
FROM ubuntu:22.04
ARG UID=1000
ARG GID=1000
# add new sudo user
ENV USERNAME vhs
ENV HOME /home/$USERNAME
RUN useradd -m $USERNAME && \
echo "$USERNAME:$USERNAME" | chpasswd && \
@atinfinity
atinfinity / VPI_python_sample.md
Last active October 31, 2022 00:28
VPI Python APIを使ってみる
@atinfinity
atinfinity / Dockerfile
Created June 1, 2022 14:54
OnnxGraphQt_Docker
FROM ubuntu:20.04
ARG GID=1000
ARG UID=1000
# add new sudo user
ENV USERNAME onnx
ENV HOME /home/$USERNAME
RUN groupadd -f -g ${GID} ${USERNAME}
RUN useradd -m $USERNAME -u ${UID} -g ${GID} && \
@atinfinity
atinfinity / Dockerfile
Last active August 3, 2023 02:24
Autoware Auto(w/o ADE) on Docker
FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu20.04
ENV NVIDIA_VISIBLE_DEVICES ${NVIDIA_VISIBLE_DEVICES:-all}
ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics
# add new sudo user
ENV USERNAME autoware
ENV HOME /home/$USERNAME
RUN useradd -m $USERNAME && \
echo "$USERNAME:$USERNAME" | chpasswd && \