installed ros2 tracing

This commit is contained in:
Niklas Halle 2025-04-29 09:31:19 +02:00
parent 4e7c63701a
commit 40a5d3653c
19 changed files with 74617 additions and 75507 deletions

View file

@ -1,11 +1,11 @@
#!/bin/bash
# Creates and sets up your Python 3.10 venv
python3.10 -m venv venv310
source venv310/bin/activate
# Creates and sets up your Python 3.8 venv
python3.8 -m venv venv38 --system-site-packages --symlinks
source venv38/bin/activate
# Make sure colcon doesn't try to index the venv310 directory
touch venv310/COLCON_IGNORE
touch venv38/COLCON_IGNORE
# Install Python packages
pip install --upgrade pip
@ -19,13 +19,7 @@ pip install \
jupyterlab-widgets \
ipykernel
pip3 install --upgrade pytest colcon-common-extensions setuptools
# Register venv310 as Jupyter kernel
python -m ipykernel install --user --name=venv310 --display-name="Python 3.10 (venv310)"
pip install --upgrade pytest colcon-common-extensions setuptools
# Make sure the venv310 is activated when starting a new shell
echo "source /workspaces/ROS-Dynamic-Executor-Experiments/venv310/bin/activate" >> /root/.bashrc
echo "Setup complete! Activate with: source venv310/bin/activate"
echo "Then start JupyterLab with: jupyter lab --ip=0.0.0.0 --port=8888 --allow-root"
echo "source /workspaces/ROS-Dynamic-Executor-Experiments/venv38/bin/activate" >> /root/.bashrc