Giter Club home page Giter Club logo

Comments (8)

AndrewJSchoen avatar AndrewJSchoen commented on May 29, 2024 1

Sounds good. I’ll give that a try!

from webots_ros2.

DavidMansolino avatar DavidMansolino commented on May 29, 2024

Nice to have some tester on Mac OS too 😃

First, as a workaround, if you already have Webots installed and WEBOTS_HOME set, you should be able to use all the other packages without the webots_ros2_desktop.

About the compilation issue, can you confirm that you have a Applications/Webots.app/lib/webots/libzip.dylib file on your system?

from webots_ros2.

AndrewJSchoen avatar AndrewJSchoen commented on May 29, 2024

Hi David,

Thanks for the suggestion. I will proceed that way in the meantime. It seems based on the documentation that I just set the robot controller to extern and publish PoseTrajectory messages?

With regards to the dylib file, all the files are there, which I found a bit strange. I tried modifying the setup.py file to look in slightly different levels, in case there was an issue in the relative paths, but that didn’t seem to work either.

from webots_ros2.

DavidMansolino avatar DavidMansolino commented on May 29, 2024

You're welcome,

To use this you need indeed to set the controller of the robot to <extern>, then you can use the ros nodes available in these packages, for the ABB and URe robots you will find nodes working out of the box: webots_ros2_abb:abb_driver and webots_ros2_universal_robot::universal_robot.
You will also find some launch file examples that will launch Webots and the nodes at the same time: https://github.com/cyberbotics/webots_ros2/tree/master/webots_ros2_abb/launch

If you want to use another robot arm than the URe or ABB ones, you can either use the ABB one which is quite generic (except the name), or use the ABB one as example (it is very simple) to write your own node: https://github.com/cyberbotics/webots_ros2/blob/master/webots_ros2_abb/webots_ros2_abb/abb_driver.py

from webots_ros2.

AndrewJSchoen avatar AndrewJSchoen commented on May 29, 2024

Hmm. I just listed the lib/webots directory in the Webots.app package, and get this:

>> ls -l Webots.app/lib/webots
total 23208
-rwxr-xr-x@ 1 me  admin   471928 Jan 14 07:30 libOIS.dylib
-rwxr-xr-x@ 1 me  admin  4959580 Jan 14 07:30 libassimp.dylib
-rwxr-xr-x@ 1 me  admin  2018220 Jan 14 07:30 libcrypto.1.0.0.dylib
lrwxr-xr-x  1 schoen  admin       21 Jan 14 07:30 libcrypto.dylib -> libcrypto.1.0.0.dylib
-rwxr-xr-x@ 1 me  admin  1495740 Jan 14 07:30 libgd.3.dylib
-rwxr-xr-x@ 1 me  admin   190912 Jan 14 07:30 liblua.dylib
-rwxr-xr-x@ 1 me  admin  1353976 Jan 14 07:30 libode.dylib
-rwxr-xr-x@ 1 me  admin   480768 Jan 14 07:30 libopenal.dylib
-rw-r--r--@ 1 me  admin   475716 Jan 14 07:30 libpico.dylib
lrwxr-xr-x  1 me  admin       14 Jan 14 07:30 libssh.dylib -> libssh.4.dylib
-rwxr-xr-x@ 1 me  admin   414512 Jan 14 07:30 libssl.1.0.0.dylib
lrwxr-xr-x  1 me  admin       18 Jan 14 07:30 libssl.dylib -> libssl.1.0.0.dylib
lrwxr-xr-x  1 me  admin       14 Jan 14 07:30 libzip.dylib -> libzip.2.dylib
drwxr-xr-x@ 4 me  admin      128 Jan 14 07:30 qt

I'm not seeing libzip.2.dylib, but I wonder if that being missing could be part of the issue? Let me know if there is any other info that would be helpful and I can try to get it/try things.

from webots_ros2.

DavidMansolino avatar DavidMansolino commented on May 29, 2024

That my be the problem indeed, it looks like libzip.dylib is just a symlink to libzip.2.dylib, but if libzip.2.dylib doesn't exist it might indeed cause issues.
Which version of Webots are you using?

from webots_ros2.

AndrewJSchoen avatar AndrewJSchoen commented on May 29, 2024

Should be webots-R2020a-rev1

from webots_ros2.

DavidMansolino avatar DavidMansolino commented on May 29, 2024

Ok, may I ask you to try with a beta of R2020a-rev2 that you can download here:https://github.com/cyberbotics/webots/releases
We have cleaned/removed many dependencies (libzip for example), that might solve the issue.

from webots_ros2.

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.