SquidDev-CC / plethora

A peripheral provider for ComputerCraft
https://plethora.madefor.cc/
MIT License
56 stars 23 forks source link

Moar Sensors! #243

Closed fatboychummy closed 4 years ago

fatboychummy commented 4 years ago

Having the sensors that are already in game are cool and all, but sometimes the sensors (take the block sensor for example) are a bit... too much.

Adding simple sensors like a LIDAR or stationary range finder would be pretty cool, and allow for more simple pathfinding.

Sensor ideas:

LIDAR

Adding a LIDAR would be useful for dynamic pathfinding, and for the robotics enthusiasts in the crowd. Using the LIDAR would allow the turtle (and by extension, you the programmer) to know where it is in relation to walls or obstacles, without having to sort through hundreds of other blocks. In theory it should also be much easier processing-wise as it only needs to see the locations of blocks, and doesn't have to return all the extra block data.

LIDARs are good for determining all obstructions in a circle, but cannot determine what those obstructions are.

Laser Range Finder

Laser Range Finders are good for getting the distance to an obstruction, but they can't tell what the obstruction is.

Camera

Cameras are good for seeing what's in front of you, but they are not very good at determining distance.

Gimbals

Combined with a Laser Range Finder or Camera in the crafting table, allows the sensor to "look" at an object. Can be useful if using the LIDAR with a Gimbal Camera.

Laser Range Finder Gimbals could also be useful for mapping out caves, or other things you may find in minecraft.

Thoughts on these? I think they'd be a fun addition, and perhaps even spice up CC in general with a few new things.

SquidDev commented 4 years ago

I appreciate the ideas, and thank you for taking the time to explain their behaviour and functionality in such detail! However, I'm afraid I don't think it's something which fits with the rest of Plethora.

As you've pointed out already, most of Plethora's modules are pretty wide in scope, and so have a fair amount of functionality. There's a couple of reasons for this: