Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="./images/sim.gif" alt="Global Trajectory" style="width:80%; height:auto;">
</div><br>

Mobile robotics has reached a huge turning point. Thanks to the development and improvment of parallel computation and deep learning, robots are now able to learn complex tasks such as walking, running and jumping. The applications are endless, such as: ispection, search-and-rescue missions, entertainment and even healthcare.
Mobile robotics has reached a huge turning point. Thanks to the development and improvment of parallel computation and deep learning, robots are now able to learn complex tasks such as walking, running and jumping. The applications are endless, such as: inspection, search-and-rescue missions, entertainment and even healthcare.

>**Tasks that were once considered impossible for robots are now within reach, and the possibilities are endless. It's just a matter of time before we see robots performing tasks that were once only possible in science fiction.**

Expand Down Expand Up @@ -113,31 +113,31 @@ Where:
The robot is encouraged to track $w_z$ reference commanded by the user.

```math
R_{ang\_vel} = \exp[-(w^{ref}_{z} - w_{z})^2]
R_{ang\_vel} = \exp[-(w^{cmd}_{z} - w^{base}_{z})^2]
```

Where:
- $w_{cmd,z}$ is the commanded yaw velocity.
- $w_{base,z}$ is the actual yaw velocity.
- $w^{cmd}_{z}$ is the commanded yaw velocity.
- $w^{base}_{z}$ is the actual yaw velocity.

#### 3. **Height Penalty**

The robot is encouraged to maintain a desired height as specified by the commanded altitude. A penalty is applied for deviations from this target height:

$$
R_{z} = (z - z_{ref})^2
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a bit confusing, as the reward should be bigger when the robot is at the desired height, and smaller when it deviates from it. So, I think, we either need to change the formula (e.g. $\exp[-(z - z_{ref})^2])$ or keep the same formula but change the name of the variable to "penalty" instead of "reward" (basically, what the title suggests). I go with the second option, but I realize that it might add some confusion around the naming of the variables. Let me know what you think.

P_{z} = (z - z_{ref})^2
$$

Where:
- $z$ is the current base height.
- $z_{ref}$ is the target height specified in the commands.

#### 4. **Pose Similarity Reward**
#### 4. **Pose Deviation Penalty**
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, I also changed the title to keep the consistency with the formula.


To keep the robot's joint poses close to a default configuration, a penalty is applied for large deviations from the default joint positions:

```math
R_{pose\_similarity} = \|q - q_{default}\|^2
P_{pose\_similarity} = \|q - q_{default}\|^2
```

Where:
Expand All @@ -149,29 +149,29 @@ Where:
To ensure smooth control and discourage abrupt changes in actions, a penalty is applied based on the difference between consecutive actions:

```math
R_{action\_rate} = \|a_{t} - a_{t-1}\|^2
P_{action\_rate} = \|a_{t} - a_{t-1}\|^2
```

Where:
- $a_t$ and $a_{t-1}$ are the actions at the current and previous time steps, respectively.

#### 6. **Vertical Velocity Penalty**

To discourage unnecessary movement along the vertical ($z$) axis, a penalty is applied to the squared $z$-axis velocity of the base when the robot is not actively jumping. The reward is:
To discourage unnecessary movement along the vertical ($z$) axis, a penalty is applied to the squared $z$-axis velocity of the base when the robot is not actively jumping. The penalty is:

```math
R_{lin\_vel\_z} = v_{z}^2
P_{lin\_vel\_z} = v_{z}^2
```

Where:
- $v_{z}$ is the vertical velocity of the base.

#### 7. **Roll and Pitch Stabilization Penalty**

To ensure the robot maintains stability, a penalty is applied to discourage large roll and pitch deviations of the base. This reward is:
To ensure the robot maintains stability, a penalty is applied to discourage large roll and pitch deviations of the base. This penalty is:

```math
R_{roll\_pitch} = roll^2 + pitch^2
P_{roll\_pitch} = roll^2 + pitch^2
```

Where:
Expand Down