Giter Club home page Giter Club logo

Comments (6)

simonech avatar simonech commented on August 16, 2024

And is everything else returning to work as expected? I mean, battery and running time? The connection becomes red only when there is not ping from the arduino for more than some seconds. Is the BB really loosing connection from the arduino or is it just reported wrong?

from openrov-software.

codewithpassion avatar codewithpassion commented on August 16, 2024

Hum, don't remember right now if the battery and time comes back. I'll
check tomorrow.
What is done is, the serial connection is closed and once th update is
done, the serial connection is opened. Maybe we might need to initialte
reading from it too.
On Nov 29, 2012 9:18 PM, "Simone Chiaretta" [email protected]
wrote:

And is everything else returning to work as expected? I mean, battery and
running time? The connection becomes red only when there is not ping from
the arduino for more than some seconds. Is the BB really loosing connection
from the arduino or is it just reported wrong?


Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-10864500.

from openrov-software.

simonech avatar simonech commented on August 16, 2024

With the normal arduino, if you restart the device and you had a software on the computer reading/writing to the serial, the connection between the two is lost and must be reinitiated. Maybe the same happens here.

Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

On 29/nov/2012, at 22:51, Dominik Fretz wrote:

Hum, don't remember right now if the battery and time comes back. I'll
check tomorrow.
What is done is, the serial connection is closed and once th update is
done, the serial connection is opened. Maybe we might need to initialte
reading from it too.
On Nov 29, 2012 9:18 PM, "Simone Chiaretta" [email protected]
wrote:

And is everything else returning to work as expected? I mean, battery and
running time? The connection becomes red only when there is not ping from
the arduino for more than some seconds. Is the BB really loosing connection
from the arduino or is it just reported wrong?


Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-10864500.


Reply to this email directly or view it on GitHub.

from openrov-software.

codewithpassion avatar codewithpassion commented on August 16, 2024

What I do is, I close the serial port and once the firmware update is done,
I open it again. So basically, I restart the connection.
But I don't know about how the heartbeat/battery value is read.
Sending commands (servo, light) works, that's for sure.
On Nov 29, 2012 10:55 PM, "Simone Chiaretta" [email protected]
wrote:

With the normal arduino, if you restart the device and you had a software
on the computer reading/writing to the serial, the connection between the
two is lost and must be reinitiated. Maybe the same happens here.

Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

On 29/nov/2012, at 22:51, Dominik Fretz wrote:

Hum, don't remember right now if the battery and time comes back. I'll
check tomorrow.
What is done is, the serial connection is closed and once th update is
done, the serial connection is opened. Maybe we might need to initialte
reading from it too.
On Nov 29, 2012 9:18 PM, "Simone Chiaretta" [email protected]
wrote:

And is everything else returning to work as expected? I mean, battery
and
running time? The connection becomes red only when there is not ping
from
the arduino for more than some seconds. Is the BB really loosing
connection
from the arduino or is it just reported wrong?


Reply to this email directly or view it on GitHub<
https://github.com/OpenROV/openrov-software/issues/57#issuecomment-10864500>.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-10868215.

from openrov-software.

simonech avatar simonech commented on August 16, 2024

I'll look into this.
What the code does is just listening to the "data" event of the serial port library.

And what do you need to do to have it working again? Reload the page? or reboot the BB?

Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

On 29/nov/2012, at 23:03, Dominik Fretz wrote:

What I do is, I close the serial port and once the firmware update is done,
I open it again. So basically, I restart the connection.
But I don't know about how the heartbeat/battery value is read.
Sending commands (servo, light) works, that's for sure.
On Nov 29, 2012 10:55 PM, "Simone Chiaretta" [email protected]
wrote:

With the normal arduino, if you restart the device and you had a software
on the computer reading/writing to the serial, the connection between the
two is lost and must be reinitiated. Maybe the same happens here.

Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

On 29/nov/2012, at 22:51, Dominik Fretz wrote:

Hum, don't remember right now if the battery and time comes back. I'll
check tomorrow.
What is done is, the serial connection is closed and once th update is
done, the serial connection is opened. Maybe we might need to initialte
reading from it too.
On Nov 29, 2012 9:18 PM, "Simone Chiaretta" [email protected]
wrote:

And is everything else returning to work as expected? I mean, battery
and
running time? The connection becomes red only when there is not ping
from
the arduino for more than some seconds. Is the BB really loosing
connection
from the arduino or is it just reported wrong?


Reply to this email directly or view it on GitHub<
https://github.com/OpenROV/openrov-software/issues/57#issuecomment-10864500>.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-10868215.


Reply to this email directly or view it on GitHub.

from openrov-software.

simonech avatar simonech commented on August 16, 2024

Did some tests:

  • commands sent from browser to arduino are working, only messages on the other direction are not
  • even a page refresh do not make the messages come back

from openrov-software.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.