Replies: 1 comment
-
As explained by this ROS answer, as long as the specific messages have not been changed between the two ROS distributions (which is only rarely the case), it should be work fine. On the panda robot, this is not the case. When you use ROS kinetic on the workstation while you installed ROS noetic on your laptop, you are likely to run into several md5sum mismatch errors. As a result, you, have to install ROS Noetic on the workstation or run the franka_control node in a singularity container (see instructions below on how to use such a container). How to run the franka_control node in a singularity containerSingularity is a free, cross-platform and open-source computer program that performs operating-system-level virtualization, also known as containerization. It is similar to docker in that it allows you to run a container with a different OS than the main system. The difference with docker is that it is better optimized for High-Performance Computing (HPC) and scientific purposes. Install singularitySingularity should already be installed on the workstation that is used with the Panda robot. If it is not, or you need to reinstall, please follow the documentation. How to build the singularity containerThe singularity container should also already present in the sudo singularity build --sandbox ros-noetic Singularity.ros_noetic-focal The How to run the singularity containerAfter the container has successfully built, you can shell into, run or start the container. Shell into the containerRun a shell within a container using the following command: sudo singularity shell --writable ros-noetic The After you are in the container, you have to set export Run the containerYou can also run the container. This sets up the required environment variables that are needed to start the sudo singularity run --writable ros-noetic Container permissionsBy default, your user can not write to the container folder from outside the container. If you did build the singularity container as a writeable folder, you could give your user write and read access from outside the singularity container by:
sudo chgrp -R <YOUR_USER_NAME> ./<YOUR_CONTAINER_NAME>
sudo chmod -R g+rwx ./<YOUR_CONTAINER_NAME> Change the container bash promptYou can change the container bash prompt to show the current working directory by setting the export SINGULARITYENV_PS1="Singularity:\[\e[01;32m\]\w\[\e[m\]> " TroubleshootingSegmentation fault (core dumped)If you get a Control commands not received on workstationWhen your control commands are not received on the workstation, but you can receive messages from the workstation, you probably set your ${ROS_IP} on your control laptop wrong. X11 applications not working inside containerMake sure you use the |
Beta Was this translation helpful? Give feedback.
-
Can the ROS version I use on my laptop be different from the one that is on the panda workstation?
Beta Was this translation helpful? Give feedback.
All reactions