-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: master
Are you sure you want to change the base?
Conversation
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.
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]) |
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.
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
waiting on testing with the new stack changes |
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 |
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.
this should probably raise NotImplementedError
to avoid people accidentally calling this somehow
arm_robots/src/arm_robots/panda.py
Outdated
plan_msg = RobotTrajectory() | ||
plan_msg.joint_trajectory = trajectory | ||
move_group.execute(plan_msg) | ||
pass |
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.
remove this pass
client.wait_for_server() | ||
rospy.loginfo(f"Connected.") | ||
return client | ||
if controller_name is not None: |
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.
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 |
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.
rename to pandas
Added gripper interface, error clearing