I'm working on improving the default dig program and am trying to figure out how to calculate energy usage to handle returning the robot to a power station. This was easy with ComputerCraft because turtles effectively use exactly 1 "energy" for every move, and don't consume power otherwise. But OC robots seem to consume a variable (or at least arbitrary) amount of power per different actions, and of course use power even when idle. I haven't exactly been able to put my finger on a pattern.
Can anyone tell me how I might estimate the amount of energy a robot uses over time, depending on what it's doing? I'm hoping there's a simpler solution than tracking energy usage and developing a heuristic to guess.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hi All,
I'm working on improving the default dig program and am trying to figure out how to calculate energy usage to handle returning the robot to a power station. This was easy with ComputerCraft because turtles effectively use exactly 1 "energy" for every move, and don't consume power otherwise. But OC robots seem to consume a variable (or at least arbitrary) amount of power per different actions, and of course use power even when idle. I haven't exactly been able to put my finger on a pattern.
Can anyone tell me how I might estimate the amount of energy a robot uses over time, depending on what it's doing? I'm hoping there's a simpler solution than tracking energy usage and developing a heuristic to guess.
Thanks!
== Roachy
Link to post
Share on other sites