-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to the new controller, with similar segments using same learne…
…d parameters. So far, the quadruped falls over, and there's a runtime error when hitting the space bar to reset the sim in graphics mode. So, it's a fixer-upper.
- Loading branch information
1 parent
0b36db4
commit fbf4ace
Showing
5 changed files
with
508 additions
and
78 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
scripts/learning/src/BP_SC_SymmetricSpiral_Segments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"filePrefix" : "monteOut", | ||
"fileSuffix" : ".json", | ||
"resourcePath" : "../../../resources/src/", | ||
"lowerPath" : "dhustigschultz/AppQuadControlSpiral_Segments/", | ||
"executable" : "./../../../build/dev/dhustigschultz/BP_SC_SymmetricSpiral_Segments/AppQuadControlSegments", | ||
"terrain" : [[[0, 0, 0, 0.0, 60000]]], | ||
"learningParams": | ||
{ | ||
"trialLength" : 60000, | ||
"numTrials" : 1, | ||
"numGenerations" : 1, | ||
"deterministic": 0, | ||
"nodeVals" : | ||
{ | ||
"learning" : true, | ||
"startingControllers" : 0, | ||
"monteCarlo" : true, | ||
"numberOfStates" : 0, | ||
"numberOfOutputs" : 5, | ||
"numberOfInstances" : 1, | ||
"populationSize" : 1, | ||
"useAverage" : true, | ||
"numberToMutate" : 2, | ||
"numberOfChildren" : 1, | ||
"mutationChance" : 0.5, | ||
"mutationDev" : 0.03, | ||
"paramMax" : 1.0, | ||
"paramMin": 0.0, | ||
"childMutationChance" : 0.9 | ||
}, | ||
"edgeVals" : | ||
{ | ||
"learning" : true, | ||
"startingControllers" : 0, | ||
"monteCarlo" : true, | ||
"numberOfStates" : 0, | ||
"numberOfOutputs" : 2, | ||
"numberOfInstances" : 392, | ||
"populationSize" : 1, | ||
"useAverage" : true, | ||
"numberToMutate" : 2, | ||
"numberOfChildren" : 1, | ||
"mutationChance" : 0.5, | ||
"mutationDev" : 0.03, | ||
"paramMax" : 1.0, | ||
"paramMin": 0.0, | ||
"childMutationChance" : 0.9 | ||
}, | ||
"hipEdgeVals" : | ||
{ | ||
"learning" : true, | ||
"startingControllers" : 0, | ||
"monteCarlo" : true, | ||
"numberOfStates" : 0, | ||
"numberOfOutputs" : 2, | ||
"numberOfInstances" : 610, | ||
"populationSize" : 1, | ||
"useAverage" : true, | ||
"numberToMutate" : 2, | ||
"numberOfChildren" : 1, | ||
"mutationChance" : 0.5, | ||
"mutationDev" : 0.03, | ||
"paramMax" : 1.0, | ||
"paramMin": 0.0, | ||
"childMutationChance" : 0.9 | ||
}, | ||
"legEdgeVals" : | ||
{ | ||
"learning" : true, | ||
"startingControllers" : 0, | ||
"monteCarlo" : true, | ||
"numberOfStates" : 0, | ||
"numberOfOutputs" : 2, | ||
"numberOfInstances" : 610, | ||
"populationSize" : 1, | ||
"useAverage" : true, | ||
"numberToMutate" : 2, | ||
"numberOfChildren" : 1, | ||
"mutationChance" : 0.5, | ||
"mutationDev" : 0.03, | ||
"paramMax" : 1.0, | ||
"paramMin": 0.0, | ||
"childMutationChance" : 0.9 | ||
}, | ||
"feedbackVals" : | ||
{ | ||
"learning" : true, | ||
"startingControllers" : 0, | ||
"monteCarlo" : true, | ||
"numberOfStates" : 2, | ||
"numberOfOutputs" : 3, | ||
"numberHidden" : 4, | ||
"numberOfInstances" : 1, | ||
"populationSize" : 1, | ||
"useAverage" : true, | ||
"numberToMutate" : 15, | ||
"numberOfChildren" : 5, | ||
"mutationChance" : 0.5, | ||
"mutationDev" : 0.03, | ||
"paramMax" : 1.0, | ||
"paramMin": -1.0, | ||
"childMutationChance" : 0.7 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.