Skip to content

Commit

Permalink
fix: more reverts
Browse files Browse the repository at this point in the history
  • Loading branch information
ChandimaFernando committed Dec 9, 2024
1 parent 962dd34 commit bc44fe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pdf_beamtime/src/pdf_beamtime_fidpose_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def send_pickup_goal(self):
goal_msg.inbeam = [x / 180 * math.pi for x in [63.84, -47.71, 98.22, -50.59, 61.00, 180.0]]

goal_msg.sample_return = False
goal_msg.sample_id = 0
goal_msg.sample_id = 150

self._action_client.wait_for_server()
self._send_goal_future = self._action_client.send_goal_async(goal_msg, feedback_callback=self.feedback_callback)
Expand All @@ -42,7 +42,7 @@ def send_return_sample_goal(self):
goal_msg.inbeam = [x / 180 * math.pi for x in [63.84, -47.71, 98.22, -50.59, 61.00, 180.0]]

goal_msg.sample_return = True
goal_msg.sample_id = 0
goal_msg.sample_id = 150

self._action_client.wait_for_server()
self._send_goal_future = self._action_client.send_goal_async(goal_msg, feedback_callback=self.feedback_callback)
Expand All @@ -65,8 +65,8 @@ def main(args=None):
rclpy.init(args=args)

client = SimpleClient()
client.send_pickup_goal()
# client.send_return_sample_goal()
# client.send_pickup_goal()
client.send_return_sample_goal()

rclpy.spin(client)

Expand Down

0 comments on commit bc44fe4

Please sign in to comment.