Code center > Solved Bugs

Problem with conspec recognition for robots with ties

(1/1)

Testlund:
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.

Testlund:
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: ---cond
*.reftype 1 =
*.nrg 250 >
*.fixpos 1 <
start
1 .fixpos store
stop
--- End code ---

Botsareus:
So you want the reftype of what the robot is currently touching if robot sees nothing?

Navigation

[0] Message Index

Go to full version