Skip to content

Conversation

@acsipos
Copy link
Collaborator

@acsipos acsipos commented Nov 5, 2021

Added gripper interface, error clearing

Copy link
Contributor

@PeterMitrano PeterMitrano left a comment

Choose a reason for hiding this comment

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

I made some small suggestions. Feel free to correct me or disagree on anything


pdb.set_trace()
panda.set_execute(False) # this will stop the robot from actually executing a path, good for testing
# panda.plan_to_position_cartesian(panda.nebula_arm, panda.nebula_wrist, target_position=[0.04, 0.2867, 1.17206])
Copy link
Contributor

Choose a reason for hiding this comment

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

it's not a good idea to include commented out code. If this code works and is safe, consider commenting it back in. If it doesn't work or you don't want people to reference it, just delete it

@PeterMitrano
Copy link
Contributor

waiting on testing with the new stack changes

pass

def send_joint_command(self, joint_names: List[str], trajectory_point: JointTrajectoryPoint) -> Tuple[bool, str]:
pass
Copy link
Contributor

Choose a reason for hiding this comment

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

this should probably raise NotImplementedError to avoid people accidentally calling this somehow

plan_msg = RobotTrajectory()
plan_msg.joint_trajectory = trajectory
move_group.execute(plan_msg)
pass
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this pass

client.wait_for_server()
rospy.loginfo(f"Connected.")
return client
if controller_name is not None:
Copy link
Contributor

Choose a reason for hiding this comment

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

leave this function alone and override connect to just have:

    def connect(self, preload_move_groups=True):
        self.jacobian_follower.connect_to_psm()
        if preload_move_groups:
            for group_name in self.robot_commander.get_group_names():
                self.get_move_group_commander(group_name)

@@ -1,25 +1,114 @@
#! /usr/bin/env python
from rosgraph.names import ns_join
Copy link
Contributor

Choose a reason for hiding this comment

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

rename to pandas

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