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

Send_urdf_fragment.py import xacro_jade -> import xacro #155

Open
wants to merge 3 commits into
base: release-5.2.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified CHANGELOG.rst
100644 → 100755
Empty file.
Empty file modified CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.rst
100644 → 100755
Empty file.
Empty file modified intera_examples/.gitignore
100644 → 100755
Empty file.
Empty file modified intera_examples/CHANGELOG.rst
100644 → 100755
Empty file.
Empty file modified intera_examples/CMakeLists.txt
100644 → 100755
Empty file.
Empty file modified intera_examples/LICENSE
100644 → 100755
Empty file.
Empty file modified intera_examples/README.rst
100644 → 100755
Empty file.
Empty file modified intera_examples/launch/gripper_joystick.launch
100644 → 100755
Empty file.
Empty file modified intera_examples/launch/joint_position_joystick.launch
100644 → 100755
Empty file.
Empty file modified intera_examples/launch/joint_trajectory_client.launch
100644 → 100755
Empty file.
Empty file modified intera_examples/launch/joint_trajectory_file_playback.launch
100644 → 100755
Empty file.
Empty file modified intera_examples/package.xml
100644 → 100755
Empty file.
Empty file modified intera_examples/setup.py
100644 → 100755
Empty file.
Empty file modified intera_examples/share/images/sawyer_and_baxter.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified intera_examples/share/images/sawyer_sdk_research.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified intera_examples/src/intera_examples/__init__.py
100644 → 100755
Empty file.
Empty file modified intera_examples/src/intera_examples/recorder.py
100644 → 100755
Empty file.
Empty file modified intera_examples/src/intera_external_devices/__init__.py
100644 → 100755
Empty file.
Empty file modified intera_examples/src/intera_external_devices/getch.py
100644 → 100755
Empty file.
Empty file modified intera_examples/src/intera_external_devices/joystick.py
100644 → 100755
Empty file.
Empty file modified intera_interface/.gitignore
100644 → 100755
Empty file.
Empty file modified intera_interface/CHANGELOG.rst
100644 → 100755
Empty file.
Empty file modified intera_interface/CMakeLists.txt
100644 → 100755
Empty file.
Empty file modified intera_interface/LICENSE
100644 → 100755
Empty file.
Empty file modified intera_interface/README.rst
100644 → 100755
Empty file.
Empty file modified intera_interface/epydoc.config
100644 → 100755
Empty file.
Empty file modified intera_interface/package.xml
100644 → 100755
Empty file.
Empty file modified intera_interface/rosdoc.yaml
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions intera_interface/scripts/send_urdf_fragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
import argparse

import rospy
import xacro_jade
import xacro

from intera_core_msgs.msg import (
URDFConfiguration,
)

def xacro_parse(filename):
doc = xacro_jade.parse(None, filename)
xacro_jade.process_doc(doc, in_order=True)
doc = xacro.parse(None, filename)
xacro.process_doc(doc, in_order=True)
return doc.toprettyxml(indent=' ')

def send_urdf(parent_link, root_joint, urdf_filename, duration):
Expand Down
Empty file modified intera_interface/setup.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_control/__init__.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_control/pid.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_dataflow/__init__.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_dataflow/signals.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_dataflow/wait_for.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_dataflow/weakrefset.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/__init__.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/camera.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/clicksmart_plate.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/cuff.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/digital_io.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/gripper.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/gripper_factory.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/head.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/head_display.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/joint_limits.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/lights.py
100644 → 100755
Empty file.
10 changes: 5 additions & 5 deletions intera_interface/src/intera_interface/limb.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -163,21 +163,21 @@ def __init__(self, limb="right", synchronous_pub=False):
ns_pkn = "ExternalTools/" + limb + "/PositionKinematicsNode/"
self._iksvc = rospy.ServiceProxy(ns_pkn + 'IKService', SolvePositionIK)
self._fksvc = rospy.ServiceProxy(ns_pkn + 'FKService', SolvePositionFK)
rospy.wait_for_service(ns_pkn + 'IKService', 5.0)
rospy.wait_for_service(ns_pkn + 'FKService', 5.0)
rospy.wait_for_service(ns_pkn + 'IKService', 25.0)
rospy.wait_for_service(ns_pkn + 'FKService', 25.0)

err_msg = ("%s limb init failed to get current joint_states "
"from %s") % (self.name.capitalize(), joint_state_topic)
intera_dataflow.wait_for(lambda: len(self._joint_angle.keys()) > 0,
timeout_msg=err_msg, timeout=5.0)
timeout_msg=err_msg, timeout=25.0)
err_msg = ("%s limb init failed to get current endpoint_state "
"from %s") % (self.name.capitalize(), ns + 'endpoint_state')
intera_dataflow.wait_for(lambda: len(self._cartesian_pose.keys()) > 0,
timeout_msg=err_msg, timeout=5.0)
timeout_msg=err_msg, timeout=25.0)
err_msg = ("%s limb init failed to get current tip_states "
"from %s") % (self.name.capitalize(), ns + 'tip_states')
intera_dataflow.wait_for(lambda: self._tip_states is not None,
timeout_msg=err_msg, timeout=5.0)
timeout_msg=err_msg, timeout=25.0)

def _on_joint_states(self, msg):
for idx, name in enumerate(msg.name):
Expand Down
Empty file modified intera_interface/src/intera_interface/navigator.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/robot_enable.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/robot_params.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_interface/settings.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_io/__init__.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_io/io_command.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_io/io_interface.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_joint_trajectory_action/__init__.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_joint_trajectory_action/bezier.py
100644 → 100755
Empty file.
Empty file.
Empty file modified intera_interface/src/intera_joint_trajectory_action/minjerk.py
100644 → 100755
Empty file.
Empty file modified intera_interface/src/intera_motion_interface/__init__.py
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified intera_interface/src/intera_motion_interface/motion_waypoint.py
100644 → 100755
Empty file.
Empty file.
Empty file modified intera_interface/src/intera_motion_interface/random_walk.py
100644 → 100755
Empty file.
Empty file.
Empty file modified intera_sdk/CHANGELOG.rst
100644 → 100755
Empty file.
Empty file modified intera_sdk/CMakeLists.txt
100644 → 100755
Empty file.
Empty file modified intera_sdk/package.xml
100644 → 100755
Empty file.