Conversation
PeterMitrano
requested changes
Nov 6, 2021
Contributor
PeterMitrano
left a comment
There was a problem hiding this comment.
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]) |
Contributor
There was a problem hiding this comment.
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
Contributor
|
waiting on testing with the new stack changes |
PeterMitrano
requested changes
Mar 22, 2022
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 |
Contributor
There was a problem hiding this comment.
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 |
| client.wait_for_server() | ||
| rospy.loginfo(f"Connected.") | ||
| return client | ||
| if controller_name is not None: |
Contributor
There was a problem hiding this comment.
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 | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added gripper interface, error clearing