-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: main
Are you sure you want to change the base?
Conversation
fix: Misc task pub fix
feat: Param use fix for ESP arm
fix: Task callbacks require positional arg for result fix: remove peak expiration, respect esp update frequency
f0ef7d5
to
01eeafc
Compare
# 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 |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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}') |
There was a problem hiding this comment.
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).
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