ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you're looking at the wiki of differential_drive, its source repository is git so I first cloned it:

$ git clone https://jfstepha@code.google.com/p/differential-drive
$ mv differential-drive differential_drive

Clearly the folder name and the package name doesn't align so I renamed it.

Then put this directory into somewhere that's included in ROS_PACKAGE_PATH. Then you should be able to eg. rosrun differential_drive twist_to_motors.py.

If you're looking at the wiki of differential_drive, its source repository is git so I first cloned it:

$ git clone https://jfstepha@code.google.com/p/differential-drive
$ mv differential-drive differential_drive

Clearly the folder name and the package name doesn't align so I renamed it.

Then put this directory into somewhere that's included in ROS_PACKAGE_PATH. Then you should be able to eg. rosrun differential_drive twist_to_motors.py.

You didn't mention where and how you got a zip file, but as long as the content isn't "broken", above should work with your zip.

If you're looking at the wiki of differential_drive, its source repository is git so I first cloned it:

$ git clone https://jfstepha@code.google.com/p/differential-drive
$ mv differential-drive differential_drive

Clearly the folder name and the package name doesn't align so I renamed it.

Then put this directory into somewhere that's included in ROS_PACKAGE_PATH. Then you should be able to eg. rosrun differential_drive twist_to_motors.py.

You didn't mention where and how you got a zip file, but as long as the content isn't "broken", above should work with your zip.

Update:

rosrun and one of the nodes, i see an error which says this file is not a executable.

Make sure the python files are executable. Try, for example:

chmod 755 `rospack find differential_drive`/nodes/twist_to_motors.py