Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2025
1 parent 0de1866 commit 3eb4738
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 24 deletions.
46 changes: 23 additions & 23 deletions docs/installation/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,29 @@ Please execute the following steps on Ubuntu 22.04. The order is important so th
<details>
<summary>for jazzy</summary>

Currently, jazzy assumes installation in a virtual environment.
First, create and activate the virtual environment with the following commands.
Currently, jazzy assumes installation in a virtual environment.
First, create and activate the virtual environment with the following commands.

```bash
sudo apt install python3-pip
sudo apt-get install python3-virtualenv
```bash
sudo apt install python3-pip
sudo apt-get install python3-virtualenv

virtualenv -p python3 --system-site-packages $HOME/venv/jazzy
source $HOME/venv/jazzy/bin/activate
```
virtualenv -p python3 --system-site-packages $HOME/venv/jazzy
source $HOME/venv/jazzy/bin/activate
```

</details>

1. Clone `caret` and enter the directory.
1. Clone `caret` and enter the directory.

```bash
git clone https://github.com/tier4/caret.git ros2_caret_ws
cd ros2_caret_ws
```
```bash
git clone https://github.com/tier4/caret.git ros2_caret_ws
cd ros2_caret_ws
```

2. Create the src directory and clone repositories into it.
2. Create the src directory and clone repositories into it.

CARET uses vcstool to construct workspaces.
CARET uses vcstool to construct workspaces.

=== "humble"

Expand All @@ -72,7 +72,7 @@ Please execute the following steps on Ubuntu 22.04. The order is important so th
vcs import src < caret_jazzy.repos
```

3. Run `setup_caret.sh`.
3. Run `setup_caret.sh`.

=== "humble"

Expand All @@ -92,7 +92,7 @@ Please execute the following steps on Ubuntu 22.04. The order is important so th
./setup_caret.sh -d jazzy
```

4. Build the workspace.
4. Build the workspace.

=== "humble"

Expand All @@ -115,13 +115,13 @@ Please execute the following steps on Ubuntu 22.04. The order is important so th
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
```

5. Check whether CARET (ros2-tracing) is enabled.
5. Check whether CARET (ros2-tracing) is enabled.

CARET inherits some functions from [ros2-tracing](https://gitlab.com/ros-tracing/ros2_tracing).
CARET inherits some functions from [ros2-tracing](https://gitlab.com/ros-tracing/ros2_tracing).

```bash
source ~/ros2_caret_ws/install/local_setup.bash
ros2 run tracetools status # return Tracing enabled
```
```bash
source ~/ros2_caret_ws/install/local_setup.bash
ros2 run tracetools status # return Tracing enabled
```

If you see `Tracing enabled`, you can continue to apply CARET to your application.
1 change: 0 additions & 1 deletion docs/tutorials/recording.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ See [Recording](../recording/index.md) to find more details.

To trace a target application, the target should be built with CARET/rclcpp. If you have already built the target without CARET/rclcpp, you have to build the target with CARET/rclcpp again. For building the application with CARET/rclcpp, CARET's `local_setup.bash` should be applied along with ROS 2's `setup.bash` as shown below.


=== "humble"

``` bash
Expand Down

0 comments on commit 3eb4738

Please sign in to comment.