Git Product home page Git Product logo

Comments (6)

cambel avatar cambel commented on September 25, 2024

Hi @huaji98 ,

Are you using the Docker environment or did you install the repository manually?

If it's the latter, make sure that the docker package robotiq is in your ros_ws/src directory. It should have been installed in this step rosinstall ~/ros_ws/src /opt/ros/kinetic src/ur3/dependencies.rosinstall

from ur3.

huaji98 avatar huaji98 commented on September 25, 2024

Thank you for your reply, I checked the robotiq package, but no gripper_85_controller.yaml there

from ur3.

cambel avatar cambel commented on September 25, 2024

@huaji98 Hi,

Yeah, you are right, sorry about that, I haven't used the kinetic branch (master) in a while, so I forgot to update it.

If you update the robotiq repository it should work.

Let me know if you have any other problem

from ur3.

huaji98 avatar huaji98 commented on September 25, 2024

rosrun ur_control sim_controller_examples.py -m
Traceback (most recent call last):
File "/home/user/ros_ws/src/ur3/ur_control/scripts/sim_controller_examples.py", line 4, in
from ur_control.arm import Arm
File "/home/user/ros_ws/src/ur3/ur_control/src/ur_control/arm.py", line 22, in
from ur_pykdl import ur_kinematics
File "/home/user/ros_ws/devel/lib/python2.7/dist-packages/ur_pykdl/init.py", line 34, in
exec(__fh.read())
File "", line 29, in
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_pykdl/ur_pykdl.py", line 38, in
from ur_kdl.kdl_parser import kdl_tree_from_urdf_model
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_kdl/init.py", line 1, in
from .kdl_parser import (
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_kdl/kdl_parser.py", line 146
print("URDF non-fixed joints: %d;" % num_non_fixed_joints, end=' ')

^
SyntaxError: invalid syntax

from ur3.

cambel avatar cambel commented on September 25, 2024

Umm the problem is that the Kinematics library ur_pykdl does not support Python 2 anymore.

I strongly recommend you to use python 3. You can use the Dockerfile as an example to either set up your local machine or use Docker directly.

Sorry!

from ur3.

huaji98 avatar huaji98 commented on September 25, 2024

Thank you!!!

from ur3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.