Comments (5)
There was the idea to send one command to get a status and it keeps sending
the status for x minutes.
The resource cost to get the status is practically zero. What the resource
cost is for receiving/sending I haven't checked.
On Thu, Nov 27, 2014 at 10:41 AM, Rory Aronson [email protected]
wrote:
I was wondering if the frequency that the pi checks the schedule could be
increased? Is there a significant cost in doing so?Increasing the check rate would allow the manual control page to feel more
'real-time' than it currently is - a major 'wow' factor I think most people
will like especially when they are using the widget to show off their bot
to their friends.—
Reply to this email directly or view it on GitHub
#43.
from farmbot_os.
I meant when I send the bot a command it gets put in the schedule nearly instantly. The pi seems to check the database locally every 1 second or 1/2 second. Could that frequency be increased so it checks it every 1/10 of a second in order to decrease the lag of manual control?
from farmbot_os.
Ah, there was a bug in that part due to the emergency stop code that caused
a delay. That's changed. The frequency now should be 0.1 seconds in the
next push. The limiting factor is then the database (sqlite) speed.
On Thu, Nov 27, 2014 at 10:56 AM, Rory Aronson [email protected]
wrote:
I meant when I send the bot a command it gets put in the schedule nearly
instantly. The pi seems to check the database locally every 1 second or
1/2 second. Could that frequency be increased so it checks it every 1/10 of
a second in order to decrease the lag of manual control?—
Reply to this email directly or view it on GitHub
#43 (comment)
.
from farmbot_os.
Oh!! Is that what was going on?
I was working on Farmbot last night for the read_status
command and was getting ~4 second delays from the time I fetched to the time it was displayed the message.
I thought maybe MeshBlu was under heavy load. Is it on our end?
from farmbot_os.
No, the read status is something different. The status command is handled
before it reaches the command scheduling. As far as I can deduce it: the
handling of the status reading is hanging (indefinitely) on a certain
variable. Because it's hanging instead of raising an error, you don't see
it. And because it's an event, the rest keeps running instead of blocking
everything. Will fix that soon.
On Thu, Nov 27, 2014 at 3:32 PM, Rick Carlino [email protected]
wrote:
Oh!! Is that what was going on?
I was working on Farmbot last night for the read_status command and was
getting ~4 second delays from the time I fetched to the time it was
displayed the message.I thought maybe MeshBlu was under heavy load. Is it on our end?
—
Reply to this email directly or view it on GitHub
#43 (comment)
.
from farmbot_os.
Related Issues (20)
- [Farmware] Did you stop supporting the local webserver on port 27347? HOT 10
- Need to Configure VintageNet `:internet_host` setting
- [bug, cosmetic] unhandled message in error state: after Farmware exits normally HOT 8
- A simulator for the farmbot HOT 10
- Feture Reuest: "After Unlock" Sequence Callback
- Unused variable warning is polluting the Serial Console :) 10.1.3 HOT 9
- "since last reflash" metrics and flags
- Lua Persistent Storage (K/V store)
- Mark As command does not update plant age
- Lua Assertion read_pin always returns 1, making programmatic tool verification unusable HOT 5
- Seems to be an issue HOT 2
- Can't flash Arduino with firmware HOT 5
- DIdnt see a Doc project, so putting this here. Hyperlink issue with doc webpage HOT 1
- fail to falsh fambot _os HOT 5
- WiFi Adapters HOT 6
- how can i change the broker ? HOT 2
- Boot Sequence execution may be delayed by earlier (overdue) FarmEvent sequence executions HOT 2
- Water keeps running if FB stalls during the execution of a sequence / Risk of flooding HOT 1
- Sequence Not Found error is not sent back to MQTT RPC Client
- Configurator Improvements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from farmbot_os.