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

Pandas #92

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Pandas #92

wants to merge 7 commits into from

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

arm_robots/scripts/tutorial/panda_basic_motion.py Outdated Show resolved Hide resolved

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

arm_robots/src/arm_robots/panda.py Show resolved Hide resolved
arm_robots/src/arm_robots/panda.py Outdated Show resolved Hide resolved
arm_robots/src/arm_robots/panda.py Outdated Show resolved Hide resolved
arm_robots/src/arm_robots/panda.py Show resolved Hide resolved
arm_robots/src/arm_robots/panda.py Outdated Show resolved Hide resolved
arm_robots/src/arm_robots/panda.py Outdated Show resolved Hide resolved
@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

arm_robots/src/arm_robots/robot.py Outdated Show resolved Hide resolved
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.

2 participants