Skip to content

Commit

Permalink
Fix typos in the contact detector component
Browse files Browse the repository at this point in the history
Co-authored-by: Stefano Dafarra <stefano.dafarra@gmail.com>
  • Loading branch information
GiulioRomualdi and S-Dafarra authored Mar 20, 2023
1 parent e40fd7c commit 747fb92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SchmittTriggerDetector : public ContactDetector
~SchmittTriggerDetector();

/**
* Initialize the SchmittTriggerDetector witn a parameters handler.
* Initialize the SchmittTriggerDetector with a parameters handler.
* @param[in] handler configure the custom parameters for the detector.
* @note The following parameters are required
* | Parameter Name | Type | Description | Mandatory |
Expand Down
4 changes: 2 additions & 2 deletions src/Math/src/SchmittTrigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bool SchmittTrigger::advance()
// if the trigger is not active
if (!m_state.state)
{
// the state is deactivate this means that we can reset the fallingEdgeTimeInstant. We can
// the state is inactive this means that we can reset the fallingEdgeTimeInstant. We can
// avoid to do this at every instant. However, coping a double is not the bootlneck. :)
m_fallingEdgeTimeInstant = -1;

Expand Down Expand Up @@ -108,7 +108,7 @@ bool SchmittTrigger::advance()
} else
{

// the state is deactivate this means that we can reset the risingEdgeTimeInstant. We can
// the state is inactive this means that we can reset the risingEdgeTimeInstant. We can
// avoid to do this at every instant. However, coping a double is not the bootlneck. :)
m_risingEdgeTimeInstant = -1;

Expand Down

0 comments on commit 747fb92

Please sign in to comment.