Changeset 1263 for cpp/tests/genomanipulation-complex.goal
- Timestamp:
- 06/23/23 00:37:18 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/tests/genomanipulation-complex.goal
r1143 r1263 10 10 ( format 1 ) 11 11 Converted to f0: 12 p:fr= 1.12, ing=0.53125, as=0.1562513 p:1.0, fr= 1.12, ing=0.53125, as=0.1562514 p:2.0, fr= 0.976, ing=0.475, as=0.17515 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.1562516 j:1, 2, dx=1.0, 0.0, 0.0 , stam=0.17512 p:fr=2.2, ing=0.625 13 p:1.0, fr=2.2, ing=0.625 14 p:2.0, fr=1.84, ing=0.55 15 j:0, 1, dx=1.0, 0.0, 0.0 16 j:1, 2, dx=1.0, 0.0, 0.0 17 17 n:j=0, d=@:p=0.6543 18 18 n:j=1, d=G … … 47 47 8. h = 0.0 f 0 1 0 hollow Other properties 48 48 9. dn = 1.0 f 0.2 5.0 1.0 density Other properties 49 10. fr = 1.12f 0.0 4.0 0.4 friction Other properties50 11. ing = 0. 53125f 0.0 1.0 0.25 ingestion Other properties51 12. as = 0. 15625f 0.0 1.0 0.25 assimilation Other properties49 10. fr = 2.2 f 0.0 4.0 0.4 friction Other properties 50 11. ing = 0.625 f 0.0 1.0 0.25 ingestion Other properties 51 12. as = 0.25 f 0.0 1.0 0.25 assimilation Other properties 52 52 13. rx = 0.0 f rot.x Geometry 53 53 14. ry = 0.0 f rot.y Geometry 54 54 15. rz = 0.0 f rot.z Geometry 55 55 16. i = s info Other properties 56 17. Vstyle = part s 0 0 part vis_styleVisual56 17. Vstyle = part s 0 -1 part Visual style Visual 57 57 18. vr = 0.5 f 0.0 1.0 0.5 red component Visual 58 58 19. vg = 0.5 f 0.0 1.0 0.5 green component Visual … … 68 68 0. h = 0.0 f 0 1 0 hollow Extra properties 69 69 1. dn = 1.0 f 0.2 5.0 1.0 density Extra properties 70 2. fr = 1.12f 0.0 4.0 0.4 friction Extra properties71 3. ing = 0. 53125f 0.0 1.0 0.25 ingestion Extra properties72 4. as = 0. 15625f 0.0 1.0 0.25 assimilation Extra properties70 2. fr = 2.2 f 0.0 4.0 0.4 friction Extra properties 71 3. ing = 0.625 f 0.0 1.0 0.25 ingestion Extra properties 72 4. as = 0.25 f 0.0 1.0 0.25 assimilation Extra properties 73 73 5. vr = 0.5 f 0.0 1.0 0.5 red component Extra properties 74 74 6. vg = 0.5 f 0.0 1.0 0.5 green component Extra properties … … 82 82 83 83 Change property #4 to random value from range [0..1] 84 Current value of 'as' (assimilation) is '0. 15625'84 Current value of 'as' (assimilation) is '0.25' 85 85 Setting new value... [ using ParamInterface::set() ] 86 86 The value is now '0.715189' … … 88 88 Let's see f0... (check out part #1 !) 89 89 90 p:fr= 1.12, ing=0.53125, as=0.1562591 p:1.0, fr= 1.12, ing=0.53125, as=0.71518992 p:2.0, fr= 0.976, ing=0.475, as=0.17593 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.1562594 j:1, 2, dx=1.0, 0.0, 0.0 , stam=0.17590 p:fr=2.2, ing=0.625 91 p:1.0, fr=2.2, ing=0.625, as=0.715189 92 p:2.0, fr=1.84, ing=0.55 93 j:0, 1, dx=1.0, 0.0, 0.0 94 j:1, 2, dx=1.0, 0.0, 0.0 95 95 n:j=0, d=@:p=0.6543 96 96 n:j=1, d=G … … 125 125 17. hyn = -1.5708 f -6.2832 0 -1.5708 hinge y negative limit Geometry 126 126 18. hyp = 1.5708 f 0 6.2832 1.5708 hinge y positive limit Geometry 127 19. stif = 1.0 f 0.0 1.0 1.0 stiffness Other properties127 19. stif = 1.0 f 0.01 1.0 1.0 stiffness Other properties 128 128 20. rotstif = 1.0 f 0.0 1.0 1.0 rotation stiffness Other properties 129 21. stam = 0. 175f 0.0 1.0 0.25 stamina Other properties129 21. stam = 0.25 f 0.0 1.0 0.25 stamina Other properties 130 130 22. i = s info Other properties 131 23. Vstyle = joint s 0 0 joint vis_styleVisual131 23. Vstyle = joint s 0 -1 joint Visual style Visual 132 132 24. vr = 0.5 f 0.0 1.0 0.5 red component Visual 133 133 25. vg = 0.5 f 0.0 1.0 0.5 green component Visual … … 142 142 Position of the second Part referenced by this joint (part #2) is now changed: 143 143 144 p:fr= 1.12, ing=0.53125, as=0.15625145 p:1.0, fr= 1.12, ing=0.53125, as=0.715189146 p:2.0, z=0.1, fr= 0.976, ing=0.475, as=0.175147 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.15625148 j:1, 2, dx=1.0, 0.0, 0.1 , stam=0.175144 p:fr=2.2, ing=0.625 145 p:1.0, fr=2.2, ing=0.625, as=0.715189 146 p:2.0, z=0.1, fr=1.84, ing=0.55 147 j:0, 1, dx=1.0, 0.0, 0.0 148 j:1, 2, dx=1.0, 0.0, 0.1 149 149 n:j=0, d=@:p=0.6543 150 150 n:j=1, d=G … … 156 156 As you can see, Joint's delta fields have altered: 157 157 158 p:fr= 1.12, ing=0.53125, as=0.15625159 p:1.0, fr= 1.12, ing=0.53125, as=0.715189160 p:2.0, z=-0.1, fr= 0.976, ing=0.475, as=0.175161 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.15625162 j:1, 2, dx=1.0, 0.0, -0.1 , stam=0.175158 p:fr=2.2, ing=0.625 159 p:1.0, fr=2.2, ing=0.625, as=0.715189 160 p:2.0, z=-0.1, fr=1.84, ing=0.55 161 j:0, 1, dx=1.0, 0.0, 0.0 162 j:1, 2, dx=1.0, 0.0, -0.1 163 163 n:j=0, d=@:p=0.6543 164 164 n:j=1, d=G … … 169 169 f0 is now: 170 170 171 p:fr= 1.12, ing=0.53125, as=0.15625172 p:1.0, fr= 1.12, ing=0.53125, as=0.715189173 p:2.0, z=-0.1, fr= 0.976, ing=0.475, as=0.175174 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.15625175 j:1, 2 , stam=0.175171 p:fr=2.2, ing=0.625 172 p:1.0, fr=2.2, ing=0.625, as=0.715189 173 p:2.0, z=-0.1, fr=1.84, ing=0.55 174 j:0, 1, dx=1.0, 0.0, 0.0 175 j:1, 2 176 176 n:j=0, d=@:p=0.6543 177 177 n:j=1, d=G … … 185 185 The Part's position is changed, but everything else stays intact: 186 186 187 p:fr= 1.12, ing=0.53125, as=0.15625188 p:1.0, fr= 1.12, ing=0.53125, as=0.715189189 p:2.0, z=-0.1, fr= 0.976, ing=0.475, as=0.175190 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.15625191 j:1, 2 , stam=0.175187 p:fr=2.2, ing=0.625 188 p:1.0, fr=2.2, ing=0.625, as=0.715189 189 p:2.0, z=-0.1, fr=1.84, ing=0.55 190 j:0, 1, dx=1.0, 0.0, 0.0 191 j:1, 2 192 192 n:j=0, d=@:p=0.6543 193 193 n:j=1, d=G … … 199 199 200 200 # id type name group (5 properties) 201 0. stif = 1.0 f 0.0 1.0 1.0 stiffness Extra properties201 0. stif = 1.0 f 0.01 1.0 1.0 stiffness Extra properties 202 202 1. rotstif = 1.0 f 0.0 1.0 1.0 rotation stiffness Extra properties 203 203 2. vr = 0.5 f 0.0 1.0 0.5 red component Extra properties … … 212 212 And after that we have this genotype: 213 213 214 p:fr= 1.12, ing=0.53125, as=0.15625215 p:1.0, fr= 1.12, ing=0.53125, as=0.715189216 p:2.0, z=-0.1, fr= 0.976, ing=0.475, as=0.175217 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.15625218 j:1, 2, stam=0.175,vg=0.857946214 p:fr=2.2, ing=0.625 215 p:1.0, fr=2.2, ing=0.625, as=0.715189 216 p:2.0, z=-0.1, fr=1.84, ing=0.55 217 j:0, 1, dx=1.0, 0.0, 0.0 218 j:1, 2, vg=0.857946 219 219 n:j=0, d=@:p=0.6543 220 220 n:j=1, d=G … … 235 235 2. d = G s details Other 236 236 3. i = s info Other 237 4. Vstyle = neuro s 0 0 neuro vis_styleVisual237 4. Vstyle = neuro s 0 -1 neuro Visual style Visual 238 238 5. getInputCount = 0 d input count Connections 239 239 9. classObject = null oNeuroClass neuron class Connections … … 295 295 And the full f0 genotype: 296 296 297 p:fr= 1.12, ing=0.53125, as=0.15625298 p:1.0, fr= 1.12, ing=0.53125, as=0.715189299 p:2.0, z=-0.1, fr= 0.976, ing=0.475, as=0.175300 j:0, 1, dx=1.0, 0.0, 0.0 , stam=0.15625301 j:1, 2, stam=0.175,vg=0.857946297 p:fr=2.2, ing=0.625 298 p:1.0, fr=2.2, ing=0.625, as=0.715189 299 p:2.0, z=-0.1, fr=1.84, ing=0.55 300 j:0, 1, dx=1.0, 0.0, 0.0 301 j:1, 2, vg=0.857946 302 302 n:j=0, d=@:p=0.6543 303 303 n:j=1, d=ChMux
Note: See TracChangeset
for help on using the changeset viewer.