how to rebuild/update graspit-simulator package
Hi all,
I downloaded graspit simulator from debs.
sudo apt-get install ros-diamondback-graspit-simulator
It runs well.
Now I changed part of the source code and want to rebuild the package graspit
. I added the patch file "new.patch" to the Makefile.graspit.tarball in the root directory of graspit package:
TARBALL_PATCH=graspit/graspit_project.patch graspit/graspit_dbase.patch
to
TARBALL_PATCH=graspit/graspit_project.patch graspit/graspit_dbase.patch graspit/new.patch
I thought i can just rebuild the package by typing rosmake graspit. But it didn't build saying there is a ROS_BUILD there. So I removed this file to allow rosmake to take effect. But then it goes:
[rosmake-0] Starting >>> graspit [ make ]
[ rosmake ] All 2 linesgraspit: 0.0 sec ] [ 1 Active 45/46 Complete ]
{-------------------------------------------------------------------------------
mkdir: cannot create directory `build': Permission denied
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package graspit written to:
[ rosmake ] /home/vincent/.ros/rosmake/rosmake_output-20110820-164256/graspit/build_output.log
[rosmake-0] Finished <<< graspit [FAIL] [ 0.05 seconds ]
Can someone help me out with this and tell me what's the standard procedure of patching and rebuilding a ROS package? Thanks.