-
Notifications
You must be signed in to change notification settings - Fork 9
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
Finded a way to run FreeCAD from ROS2 docker container without big overhead. #6
Comments
I find a way to run FreeCAD from docker ROS2 container without big overhead. You should add FreeCAD appImage to bind volume directory. That you can do like this:
You should place FreeCAD-0.21.2-Linux-x86_64.AppImage onto your host system in $path_to_ws/src dir
Also you need bind your host $DISPLAY to container, like this:
and make other needed configuration for usage of host discrete GPU (if your integrated in proc GPU will be used and it not enough for rendering (you have lags)) After that you should run from container from ros workspace:
And enjoy FreeCAD from ROS2 container. If you have "segmentation fault" error use sudo. Like this: Btw "Segmantation fault" appear after binding docker volume with freecad.cross source to FreeCAD mod path, like this: |
Resolved by merge |
Finded solution. See my second comment.
For your notation. It have dependency (rclpy) what dont mentioned in repo.
Also i think it is not be best way to direct dependency to ROS because best practice of usage ROS is in Docker. This lead to i dont have ROS in my host system (where installed freecad). Install freecad to docker ROS image will lead to big overhead.
Could you describe why u need to dependency on ROS?
CROSS Workbranch does`t appear and have error logs in report view.
The text was updated successfully, but these errors were encountered: