Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Sensor Range

Archive: 8 posts


What is the sensor range from bottom left to top right I.E. on a tag sensor?
Not essential information but would be handy to know.

Sorry for not being clear yes the whole level.
I.E If I place a tag sensor in the bottom left of an empty level what would be the exact distance to the top right.
2011-03-31 00:03:00

Author:
MrNlCE
Posts: 27


What do you mean, of the entire level? If you set the max range to 5000 I'm pretty sure that covers the whole workable space, regardless of where your sensor is within it.2011-03-31 01:13:00

Author:
Xaif
Posts: 365


I am not sure, but if you hooked up a rope or piston from top to bottom it would give the distance...I thin it is around 4000 wide and less high..perhaps 1000? I know that around 3000 was the piston distance in the first one to link both side of the level with pistons.2011-03-31 02:21:00

Author:
celsus
Posts: 822


Have just done a couple of tests with some interesting results.

test 1 string :- 4364.8

test 2 tag sensor :- if you place the sensor in the corner and a tag in the opposite corner then increase to 5000 it doesn't activate. But if you have the tag and sensor together then move them into opposite corners it stay active at 5000. Then when you turn the range down it goes off at 4600 and won't come on again at 5000 unless you move it closer first.

So I still don't have a definitive answer.

However as I said this is use full but not important.

Thank you everyone for your help and contributions.
2011-03-31 12:17:00

Author:
MrNlCE
Posts: 27


If you place the sensor in the corner and a tag in the opposite corner then increase to 5000 it doesn't activate. But if you have the tag and sensor together then move them into opposite corners it stay active at 5000. Then when you turn the range down it goes off at 4600 and won't come on again at 5000 unless you move it closer first.

This is not the answer to your question in the OP, but a discussion related to the weird sensor behavior (hysteresis) you describe in the above quote.
https://lbpcentral.lbp-hub.com/index.php?t=23046-A-quick-guide-to-Hysteresis&highlight=sensor+hysteresis
2011-03-31 12:26:00

Author:
Slaeden-Bob
Posts: 605


Does this mean that the sensors can't reach the widest part of the game then?2011-03-31 13:12:00

Author:
MrNlCE
Posts: 27


Does this mean that the sensors can't reach the widest part of the game then?

No, they can, but you will have to test for the analogue component of the signal. The analogue component measures (roughly, when the minimum distance is set to 0):
100%*4*(max_distance-distance)/(3*max_distance)
which is then rounded up to zero if it's negative or down to 100% if it's above 100%.
So you'll need to check the analogue component.

I am not sure how it behaves when set to "signal strength" mode - it may alleviate the hysteresis problem. I would try this first because if a tag is just there, or is being activated with a 100% battery, the analogue signal is just 100%. The digital signal may be just 1 as well.
2011-03-31 16:42:00

Author:
thor
Posts: 388


Worst case scenario, use 2 sensors set to 5000 on different sides of the level and connect them to an OR gate.2011-04-01 00:34:00

Author:
Chicago51
Posts: 258


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.