Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP payload arm configuration and task tracking #53

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

figuernd
Copy link
Contributor

This is a new arm type for the ESP payload. Tested this summer in the field as a secondary winch to the IFCB.

Also adds task publishing for better tracking of task history in the ROS bag

@figuernd figuernd requested a review from rgov December 23, 2024 21:27
@figuernd figuernd changed the title Nathan.figueroa/esp ESP payload arm configuration and task tracking Dec 23, 2024
@figuernd figuernd force-pushed the nathan.figueroa/esp branch from f0ef7d5 to 01eeafc Compare January 5, 2025 16:31
Comment on lines -36 to +40
# Select pane 3 and launch the Chanos arm in the same container
# Select pane 3 and launch the ESP arm in the same container
tmux select-pane -t 2
tmux send-keys "sleep 10" C-m
tmux send-keys "docker exec -it phyto-arm bash" C-m
tmux send-keys "./phyto-arm start arm_chanos ./mounted_config.yaml" C-m
tmux send-keys "./phyto-arm start arm_esp ./mounted_config.yaml" C-m
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this replace Chanos?

@@ -32,6 +32,7 @@ def __init__(self, arm_name, winch_name=None):
self.arm_name = arm_name
self.task_lock = Lock()
self.winch_client = None
self.task_pub = rospy.Publisher(f'/phyto_arm/tasks{arm_name}', ArmTask, queue_size=5)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have a delimiter like /? /phyto_arm/tasks/esp etc?

rospy.logwarn(f'Goal depth {task.depth} for task {task.name}')
self.send_winch_goal(task.depth, task.speed, task.callback)
speed = task.speed or rospy.get_param('winch/max_speed')
rospy.logwarn(f'Goal depth {task.depth}, speed {speed} for task {task.name}')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem like it should be a logwarn (but not a functional change).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants