ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In the mean time, I figured it out. The $PYTHONPATH was a red herring and not related to the problem.
The code was indeed calling an incorrectly configured Python binary, but this was not due to the $PYTHONPATH.
The file cmd_vel_listener.py had an incorrect shebang. After changing it to the default everything works:
#!/usr/bin/env python