Comments (8)
Sounds good. I’ll give that a try!
from webots_ros2.
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.
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.
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.
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.
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.
Should be webots-R2020a-rev1
from webots_ros2.
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)
- Cannot build webots_ros2_driver
- don't know how to launch multiple robots in the simulator
- ros couldn't connect with webots
- How to add Radar sensor to TeslaModel3? HOT 3
- extern controller can not find the robot
- I can't use ros2_driver
- Build Issues on ROS 2 Buildfarm for Rolling
- `webots_ros2_driver` cannot connect when using Docker and macOS
- ROS2 Humble with Ubuntu 22.04 can't communicate with the demos robots HOT 18
- Explanation about the parameter: 'robot_description' HOT 3
- wrong documentation HOT 2
- Ros2: Connect to webots remotely
- External Libraries in CMakeLists.txt
- Unable to use all examples HOT 17
- Issue about Webots Camera HOT 1
- API and robot description handling changes in CM and RM HOT 1
- The robot is already connected or your IP address is not allowed by this instance of Webots.
- how to change the topic publish frequency of imu or other sensor? HOT 1
- tesla imu support HOT 1
- hard coded temp directory causes IPC connection issues to webots due to different lookups
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webots_ros2.