How to create a fork of jetbot-repo for a custom pre-built robot? #460
-
Hi together, I adapted the current jetbot 4.3 image to this pre-built robot: As the yahboom robot has got some more motors, a different turning behaviour (due to the chain drive) an a non-standard interface board, I had to change a lot of python scripts and physical addresses. Now I want to reflect these changes in a fork, so someone else is able to use it as well. I was already able to fix the docker files, but I'm a little confused how to handle the python scripts. Looking at this code fragment of the base dockerfile, I can see that the repo folder "/opt/jetbot" will be copied from the host (?) to the docker image. ENV JETBOT_REPO_DIR=/opt/jetbot However how do I get this folder to the host file system? The folder "/opt/jetbot " isn't part of this repo, so a simple "git clone" isn't working. Can anyone help? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@Hoehlenbaer For the newer jetpack releases, Nvidia decided to use Docker containers. Those lines of code you found, are used to build this jetbot Python package (this repo) within the container's workspace. Previously, they built the package directly from the repo. You'll find that you can modify the Python files directly and the changes will be reflected once the Docker container is rebuilt. Take a look at my pull request here: #467
================================================================================= Note: I already tried telling @TCIII that the Python packages run from within the Docker container workspace. Good luck to anyone else who tries to help... 🤣 |
Beta Was this translation helpful? Give feedback.
@Hoehlenbaer For the newer jetpack releases, Nvidia decided to use Docker containers. Those lines of code you found, are used to build this jetbot Python package (this repo) within the container's workspace. Previously, they built the package directly from the repo. You'll find that you can modify the Python files directly and the changes will be reflected once the Docker container is rebuilt.
Take a look at my pull request here: #467
=================================================================================
Note: I already tried te…