Darwinbots Forum

Code center => Bugs and fixes => Solved Bugs => Topic started by: Testlund on November 30, 2013, 09:10:16 AM

Title: Problem with conspec recognition for robots with ties
Post by: Testlund on November 30, 2013, 09:10:16 AM
It still doesn't work. Just load this sim and bring some tieplants close to a Nitrosobactus and you will see no slime is produced.
Title: Re: Problem with conspec recognition for robots with ties
Post by: Testlund on November 30, 2013, 05:21:41 PM
It works! It works!  :boing:

Terribly sorry! I'm afraid I didn't actually test this drop first. Must have clicked the wrong one.  :redface:

Do you think you could add the  "reftype" sysvar to touch senses too. I would like for this to work:

Code: [Select]
cond
*.reftype 1 =
*.nrg 250 >
*.fixpos 1 <
start
1 .fixpos store
stop
Title: Re: Problem with conspec recognition for robots with ties
Post by: Botsareus on December 01, 2013, 10:39:40 AM
So you want the reftype of what the robot is currently touching if robot sees nothing?