Skip to content

Pandas#92

Open
acsipos wants to merge 7 commits into
masterfrom
pandas
Open

Pandas#92
acsipos wants to merge 7 commits into
masterfrom
pandas

Conversation

@acsipos

@acsipos acsipos commented Nov 5, 2021

Copy link
Copy Markdown
Collaborator

Added gripper interface, error clearing

@PeterMitrano PeterMitrano left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread arm_robots/scripts/tutorial/panda_basic_motion.py Outdated
Comment thread arm_robots/scripts/tutorial/panda_basic_motion.py

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
Copy Markdown
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

Comment thread arm_robots/src/arm_robots/panda.py
Comment thread arm_robots/src/arm_robots/panda.py Outdated
Comment thread arm_robots/src/arm_robots/panda.py Outdated
Comment thread arm_robots/src/arm_robots/panda.py
Comment thread arm_robots/src/arm_robots/panda.py Outdated
Comment thread arm_robots/src/arm_robots/panda.py Outdated
@PeterMitrano

Copy link
Copy Markdown
Contributor

waiting on testing with the new stack changes

Comment thread arm_robots/src/arm_robots/panda.py Outdated
pass

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

Copy link
Copy Markdown
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

Comment thread arm_robots/src/arm_robots/panda.py Outdated
plan_msg = RobotTrajectory()
plan_msg.joint_trajectory = trajectory
move_group.execute(plan_msg)
pass

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove this pass

Comment thread arm_robots/src/arm_robots/robot.py Outdated
client.wait_for_server()
rospy.loginfo(f"Connected.")
return client
if controller_name is not None:

Copy link
Copy Markdown
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
Copy Markdown
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