Skip to content
Snippets Groups Projects
Commit 52fcd7f5 authored by Nicolas Mansard's avatar Nicolas Mansard
Browse files

Merge remote branch 'origin/master'

Conflicts:
	.gitignore
	CMakeLists.txt
	cmake
	python/robotSpecific.py
	python/robotSpecific.py.cmake
	python/robot_specific.py.cmake
parents 2a4014fd 4937697b
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,5 @@ CONFIGURE_FILE(
# DESTINATION ${PYTHON_SITELIB}/dynamic_graph/sot/dyninv
#)
SETUP_PROJECT_FINALIZE()
SETUP_PROJECT_CPACK()
......@@ -227,7 +227,7 @@ featureCom = FeatureGeneric('featureCom')
plug(dyn.com,featureCom.errorIN)
plug(dyn.Jcom,featureCom.jacobianIN)
featureComDes = FeatureGeneric('featureComDes')
featureCom.sdes.value = 'featureComDes'
featureCom.setReference('featureComDes')
plug(comRef.ref,featureComDes.errorIN)
featureCom.selec.value = '011'
......
......@@ -126,7 +126,7 @@ class MetaTaskKine6d( MetaTask6d ):
self.gain = GainAdaptive('gain'+self.name)
self.gain.set(0.1,0.1,125e3)
def plugEverything(self):
self.feature.sdes.value = self.featureDes.name
self.feature.setReference(self.featureDes.name)
plug(self.dyn.signal(self.opPoint),self.feature.signal('position'))
plug(self.dyn.signal('J'+self.opPoint),self.feature.signal('Jq'))
self.task.add(self.feature.name)
......@@ -153,7 +153,7 @@ featureCom = FeatureGeneric('featureCom')
featureComDes = FeatureGeneric('featureComDes')
plug(dyn.com,featureCom.errorIN)
plug(dyn.Jcom,featureCom.jacobianIN)
featureCom.sdes.value = 'featureComDes'
featureCom.setReference('featureComDes')
featureComDes.errorIN.value = (0.0478408688115,-0.0620357207995,0.684865189311)
taskCom = Task('taskCom')
......@@ -180,7 +180,7 @@ taskSupport.dt.value=dt
featurePosture = FeatureGeneric('featurePosture')
featurePostureDes = FeatureGeneric('featurePostureDes')
plug(dyn.position,featurePosture.errorIN)
featurePosture.sdes.value = 'featurePostureDes'
featurePosture.setReference('featurePostureDes')
featurePosture.jacobianIN.value = totuple( identity(robotDim) )
featurePostureDes.errorIN.value = dyn.position.value
......
......@@ -134,12 +134,16 @@ namespace dynamicgraph
if(! find ){ return; }
StackIterator_t pos=it; pos++;
// If the task is already at the end of the stack, do nothing
if( stack.end()==pos ){ return; }
TaskGeneric* task=*it;
stack.erase( it );
// the task was the second to last one
if( stack.end()==pos ){ stack.push_back(task); }
else
{
pos++;
stack.insert( pos,task );
}
resetReady();
......
......@@ -35,5 +35,6 @@ FOREACH(test ${tests})
ADD_DEPENDENCIES(${EXECUTABLE_NAME} "${${test}_plugins_dependencies}")
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} "${${test}_plugins_dependencies}")
ENDIF(${test}_plugins_dependencies)
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} "-lsoth")
ENDFOREACH(test)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment