Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 0 additions & 9 deletions src/viam/sdk/components/base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,6 @@ class Base : public Component, public Stoppable {
const Vector3& angular,
const AttributeMap& extra) = 0;

/// @brief Stops a robot's base
inline void stop() {
return stop({});
}

/// @brief Stops a robot's base
/// @param extra Any additional arguments to the method
virtual void stop(const AttributeMap& extra) override = 0;

/// @brief Reports if the base is in motion
virtual bool is_moving() = 0;

Expand Down
9 changes: 0 additions & 9 deletions src/viam/sdk/components/motor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,6 @@ class Motor : public Component, public Stoppable {
/// @brief Reports if a component is in motion
virtual bool is_moving() = 0;

/// @brief Stops a resource from running.
inline void stop() {
return stop({});
}

/// @brief Stops a resource from running.
/// @param extra Extra arguments to pass to the resource's `stop` method.
void stop(const AttributeMap& extra) override = 0;

/// @brief Send/receive arbitrary commands to the resource.
/// @param Command the command to execute.
/// @return The result of the executed command.
Expand Down
9 changes: 0 additions & 9 deletions src/viam/sdk/components/servo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@ class Servo : public Component, public Stoppable {
/// @throws `Exception` if position reporting is not supported
virtual position get_position(const AttributeMap& extra) = 0;

/// @brief Stops a resource from running.
inline void stop() {
return stop({});
}

/// @brief Stops a resource from running.
/// @param extra Extra arguments to pass to the resource's `stop` method.
void stop(const AttributeMap& extra) override = 0;

/// @brief Reports if a component is in motion
virtual bool is_moving() = 0;

Expand Down