|
Viam C++ SDK current
|
gRPC client implementation of a Gripper component
More...
#include <gripper_client.hpp>
Inheritance diagram for viam::sdk::impl::GripperClient:Public Types | |
| using | interface_type = Gripper |
Public Member Functions | |
| GripperClient (std::string names, std::shared_ptr< grpc::Channel > channel) | |
| void | open (const ProtoStruct &extra) override |
| Open the gripper. | |
| bool | grab (const ProtoStruct &extra) override |
| Instruct the gripper to grab. | |
| Gripper::holding_status | is_holding_something (const ProtoStruct &extra) override |
| Reports whether the gripper is holding onto a object (alongside other information). | |
| void | stop (const ProtoStruct &extra) override |
| Stops a resource from running. | |
| bool | is_moving () override |
| Reports if the gripper is in motion. | |
| ProtoStruct | do_command (const ProtoStruct &command) override |
| Send/receive arbitrary commands to the resource. | |
| std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra) override |
Returns GeometryConfigs associated with the calling arm. | |
| std::vector< GeometryConfig > | get_geometries () |
Returns GeometryConfigs associated with the calling arm. | |
| virtual std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra)=0 |
Returns GeometryConfigs associated with the calling arm. | |
| bool | grab () |
| Instruct the gripper to grab. | |
| virtual bool | grab (const ProtoStruct &extra)=0 |
| Instruct the gripper to grab. | |
| void | open () |
| Open the gripper. | |
| virtual void | open (const ProtoStruct &extra)=0 |
| Open the gripper. | |
Public Member Functions inherited from viam::sdk::Gripper | |
| void | open () |
| Open the gripper. | |
| bool | grab () |
| Instruct the gripper to grab. | |
| holding_status | is_holding_something () |
| Reports whether the gripper is holding onto a object (alongside other information). | |
| std::vector< GeometryConfig > | get_geometries () |
Returns GeometryConfigs associated with the calling arm. | |
| API | api () const override |
Returns the API associated with a particular resource. | |
Public Member Functions inherited from viam::sdk::Component | |
| Name | get_resource_name () const override |
Returns the Name for a particular resource. | |
Public Member Functions inherited from viam::sdk::Resource | |
| Resource (std::string name) | |
| virtual std::string | name () const |
| Return the resource's name. | |
| void | set_log_level (log_level) const |
| Set the log level for log messages originating from this Resource. | |
Public Member Functions inherited from viam::sdk::Stoppable | |
| void | stop () |
| Stops a resource from running. | |
Additional Inherited Members | |
Protected Member Functions inherited from viam::sdk::Gripper | |
| Gripper (std::string name) | |
Protected Member Functions inherited from viam::sdk::Component | |
| Component (std::string name) | |
Protected Member Functions inherited from viam::sdk::Resource | |
| Name | get_resource_name (const std::string &type) const |
Protected Attributes inherited from viam::sdk::Resource | |
| LogSource | logger_ |
gRPC client implementation of a Gripper component
|
overridevirtual |
Send/receive arbitrary commands to the resource.
| Command | the command to execute. |
Implements viam::sdk::Gripper.
|
overridevirtual |
Returns GeometryConfigs associated with the calling arm.
| extra | Any additional arguments to the method |
Implements viam::sdk::Gripper.
|
virtual |
Returns GeometryConfigs associated with the calling arm.
| extra | Any additional arguments to the method |
Implements viam::sdk::Gripper.
|
inline |
Instruct the gripper to grab.
|
overridevirtual |
Instruct the gripper to grab.
| extra | Any additional arguments to the method. |
Implements viam::sdk::Gripper.
|
virtual |
Instruct the gripper to grab.
| extra | Any additional arguments to the method. |
Implements viam::sdk::Gripper.
|
overridevirtual |
Reports whether the gripper is holding onto a object (alongside other information).
| extra | Any additional arguments to the method. |
holding_status struct for more info). Implements viam::sdk::Gripper.
|
overridevirtual |
Reports if the gripper is in motion.
Implements viam::sdk::Gripper.
|
overridevirtual |
Open the gripper.
| extra | Any additional arguments to the method. |
Implements viam::sdk::Gripper.
|
virtual |
Open the gripper.
| extra | Any additional arguments to the method. |
Implements viam::sdk::Gripper.
|
overridevirtual |
Stops a resource from running.
| extra | Extra arguments to pass to the resource's stop method. |
Implements viam::sdk::Stoppable.