Skip to content

Commit

Permalink
Revert unintended commits
Browse files Browse the repository at this point in the history
  • Loading branch information
corot committed Nov 12, 2015
1 parent 20caee7 commit 40054c0
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 22 deletions.
32 changes: 10 additions & 22 deletions turtlebot_arm_moveit_demos/bin/pick_and_place.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ def __init__(self):
scene.remove_attached_object(GRIPPER_FRAME, target_id)

# Give the scene a chance to catch up
# rospy.sleep(1)
#
# # Start the arm in the "arm_up" pose stored in the SRDF file
# rospy.loginfo("Set Arm: right_up")
# arm.set_named_target('right_up')
# if arm.go() != True:
# rospy.logwarn(" Go failed")
# rospy.sleep(2)
#
rospy.sleep(1)

# Start the arm in the "arm_up" pose stored in the SRDF file
rospy.loginfo("Set Arm: right_up")
arm.set_named_target('right_up')
if arm.go() != True:
rospy.logwarn(" Go failed")
rospy.sleep(2)

# Move the gripper to the closed position
rospy.loginfo("Set Gripper: Close " + str(self.gripper_closed ) )
gripper.set_joint_value_target(self.gripper_closed)
Expand Down Expand Up @@ -328,21 +328,9 @@ def make_gripper_posture(self, joint_positions):
tp.effort = GRIPPER_EFFORT

tp.time_from_start = rospy.Duration(0.0)

#tp = copy.deepcopy(tp)
# tpf = JointTrajectoryPoint()
#
# # Assign the trajectory joint positions to the input positions
# tpf.positions = joint_positions
#
# # Set the gripper effort
# tpf.effort = GRIPPER_EFFORT
#
# tpf.time_from_start = rospy.Duration(3.0)
#

# Append the goal point to the trajectory points
t.points.append(tp)
# t.points.append(tpf)

# Return the joint trajectory
return t
Expand Down
78 changes: 78 additions & 0 deletions turtlebot_arm_object_manipulation/.cproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.1352411691">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.1352411691" moduleId="org.eclipse.cdt.core.settings" name="Default">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1352411691" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1352411691.852868461" name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.330484760" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.base.351303327" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<builder id="cdt.managedbuild.target.gnu.builder.base.559412359" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.432255193" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1984677268" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<option id="gnu.cpp.compiler.option.include.paths.560132392" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="/home/jorge/workspaces/thorp/devel/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/turtlebot/devel/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/ork/devel/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/moveit/devel/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/navigation/devel/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/rviz/devel/include"/>
<listOptionValue builtIn="false" value="/opt/ros/indigo/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/moveit/src/moveit_ros/planning_interface/move_group_interface/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/moveit/src/moveit_ros/planning_interface/planning_scene_interface/include"/>
<listOptionValue builtIn="false" value="/home/jorge/workspaces/ork/src/ork_core/include"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1941882620" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.920409071" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.2092294529" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.310953426" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.1340228691" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.916174961" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.assembler.base.854557860" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1876068856" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="turtlebot_arm_object_manipulation.null.581804386" name="turtlebot_arm_object_manipulation"/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/turtlebot_arm_object_manipulation"/>
</configuration>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1352411691;cdt.managedbuild.toolchain.gnu.base.1352411691.852868461;cdt.managedbuild.tool.gnu.c.compiler.base.920409071;cdt.managedbuild.tool.gnu.c.compiler.input.2092294529">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1352411691;cdt.managedbuild.toolchain.gnu.base.1352411691.852868461;cdt.managedbuild.tool.gnu.cpp.compiler.base.1984677268;cdt.managedbuild.tool.gnu.cpp.compiler.input.1941882620">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
</cproject>

0 comments on commit 40054c0

Please sign in to comment.