-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add command for setting acceleration/deceleration
- Loading branch information
Showing
8 changed files
with
152 additions
and
1 deletion.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
include/myactuator_rmd/actuator_state/acceleration_function_index.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* \file acceleration_function_index.hpp | ||
* \mainpage | ||
* Index of the acceleration/deceleration types | ||
* \author | ||
* Tobit Flatscher (github.com/2b-t) | ||
*/ | ||
|
||
#ifndef MYACTUATOR_RMD__ACCELERATION_FUNCTION_INDEX | ||
#define MYACTUATOR_RMD__ACCELERATION_FUNCTION_INDEX | ||
#pragma once | ||
|
||
#include <cstdint> | ||
|
||
|
||
namespace myactuator_rmd { | ||
|
||
/**\enum AccelerationFunctionIndex | ||
* \brief | ||
* Strongly typed enum for the different acceleration (from initial to maximum speed)/ | ||
* deceleration (from maximum speed to stop) types | ||
*/ | ||
enum class AccelerationFunctionIndex: std::uint8_t { | ||
POSITION_PLANNING_ACCELERATION = 0x00, | ||
POSITION_PLANNING_DECELERATION = 0x01, | ||
VELOCITY_PLANNING_ACCELERATION = 0x02, | ||
VELOCITY_PLANNING_DECELERATION = 0x03 | ||
}; | ||
|
||
} | ||
|
||
#endif // MYACTUATOR_RMD__ACCELERATION_FUNCTION_INDEX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters