Skip to content

Commit

Permalink
add GripperJawStateRequest to gripper can task
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Sep 7, 2023
1 parent fcada6f commit 0380d01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/can/core/message_handlers/motion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class BrushedMotionHandler {
using MessageType =
std::variant<std::monostate, DisableMotorRequest, EnableMotorRequest,
ReadLimitSwitchRequest, MotorPositionRequest,
SetGripperErrorToleranceRequest, GetMotorUsageRequest>;
SetGripperErrorToleranceRequest, GetMotorUsageRequest,
GripperJawStateRequest>;

BrushedMotionHandler(BrushedMotionTaskClient &motion_client)
: motion_client{motion_client} {}
Expand Down
2 changes: 1 addition & 1 deletion include/gripper/core/can_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ using BrushedMotionDispatchTarget = can::dispatch::DispatchParseTarget<
can::messages::DisableMotorRequest, can::messages::EnableMotorRequest,
can::messages::ReadLimitSwitchRequest, can::messages::MotorPositionRequest,
can::messages::SetGripperErrorToleranceRequest,
can::messages::GetMotorUsageRequest>;
can::messages::GetMotorUsageRequest, can::messages::GripperJawStateRequest>;
using BrushedMoveGroupDispatchTarget = can::dispatch::DispatchParseTarget<
can::message_handlers::move_group::BrushedMoveGroupHandler<
g_tasks::QueueClient>,
Expand Down

0 comments on commit 0380d01

Please sign in to comment.