Normal boot sequence

 
Post new topic   Reply to topic    Bug Labs Forum Index -> BUGbase
View previous topic :: View next topic  
Author Message
jconnolly
Site Admin


Joined: 11 Feb 2008
Posts: 128
Location: Bug Labs HQ New York

PostPosted: Sat Apr 19, 2008 3:54 pm    Post subject: Normal boot sequence Reply with quote

Hey there BUG Community,

With the hardware getting out into your hands, I just wanted to give a quick outline of what to expect from a normal BUG boot process. I will put this information on the Community Wiki shortly.

When you power on your BUGbase by pushing and releasing the power switch, you should see an animation on the BUGbase LCD similar, though perhaps longer in duration, to that below. Note that this animated gif loops. Your BUG should not.



The dark static boot logo will appear for approximately 25 seconds before the animation begins. At about the same time that the animated BUG logo appears, you may hear a series of beeps sounding from the BUGbase speaker. The animation repeats for approximately 10 seconds, before the clock and module icons for connected modules will display. The animation above shows the icons for all four modules, which should display if all four modules are attached.

If you have your BUGview module attached in slots 1 or 3, (with no applications loaded) you will see xserver running, with xeyes in the upper right hand corner:




Wink

-John
_________________
| John Connolly
| Bug Labs Development Team
|
| Join the bug-dev email list:
| http://lists.buglabs.net
| jconnolly on IRC:
| irc://irc.freenode.net/buglabs
------------------------------------------------------


Last edited by jconnolly on Tue Apr 22, 2008 8:43 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
ctuller



Joined: 21 Jan 2008
Posts: 14
Location: Seattle

PostPosted: Sat Apr 19, 2008 7:42 pm    Post subject: Reply with quote

Thanks John-
Is there a simple way to also confirm the proper functionality of the other three modules (gps, motion, camera)?

-Chris
Back to top
View user's profile Send private message
jconnolly
Site Admin


Joined: 11 Feb 2008
Posts: 128
Location: Bug Labs HQ New York

PostPosted: Sat Apr 19, 2008 8:21 pm    Post subject: Reply with quote

ctuller wrote:
Thanks John-
Is there a simple way to also confirm the proper functionality of the other three modules (gps, motion, camera)?

-Chris


Chris,

A preliminary indication of correct module functionality is that the icons display on the BUGbase LCD when snapped in. For example, if all of the modules are attached, you will see something like this (though the ordering may differ)



If you have networking set up you can verify further:

If the BUGcam2MP module is attached, and the icon is displaying on the BUGbase LCD,

http://10.10.10.10/service/picture

If the BUGlocate module is attached, and the icon is displaying on the BUGbase LCD, going to the url below will show you the GPS location if your module has received a location fix from a set of satellites. Signal strength, especially indoors, will vary.

http://10.10.10.10/service/location

If the BUGmotion module is attached, and the icon is displaying on the BUGbase LCD, going to the urls below will verify their functionality. Refreshing the pages periodically should show differences in the motion timestamp, and moving your BUG should show differences in the accelerometer reads.

http://10.10.10.10/service/motion

and

http://10.10.10.10/service/acceleration

If the BUGview module is attached, you should see the screenshot above and the icon on your BUGbase LCD.
_________________
| John Connolly
| Bug Labs Development Team
|
| Join the bug-dev email list:
| http://lists.buglabs.net
| jconnolly on IRC:
| irc://irc.freenode.net/buglabs
------------------------------------------------------


Last edited by jconnolly on Tue Apr 22, 2008 8:45 am; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
ctuller



Joined: 21 Jan 2008
Posts: 14
Location: Seattle

PostPosted: Sun Apr 20, 2008 12:39 am    Post subject: Reply with quote

sweet. I guess I didn't think to check to see if the bug was running an active webserver. duh.

Yeah, this is going to be a ton of fun.
Thanks.
Back to top
View user's profile Send private message
jconnolly
Site Admin


Joined: 11 Feb 2008
Posts: 128
Location: Bug Labs HQ New York

PostPosted: Sun Apr 20, 2008 7:24 am    Post subject: Reply with quote

ctuller wrote:
sweet. I guess I didn't think to check to see if the bug was running an active webserver. duh.

Yeah, this is going to be a ton of fun.
Thanks.


The modules' web services can be very useful. Very Happy I designed an application requiring 3 BUGs to communicate with one another, and they do this through the modules' handy-dandy WebService interface. I'll post it on BUGnet , though it would take some tweaking to get it to work with Virtual BUGs. (unless you've purchased three BUGs, that is Wink ).

A basic application to demonstrate how to publish a WebService is OSGiLogWS. That application allows you to see the results of the OSGi log. This helps with debugging your own BUG applications.
_________________
| John Connolly
| Bug Labs Development Team
|
| Join the bug-dev email list:
| http://lists.buglabs.net
| jconnolly on IRC:
| irc://irc.freenode.net/buglabs
------------------------------------------------------


Last edited by jconnolly on Tue Apr 22, 2008 8:46 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
jconnolly
Site Admin


Joined: 11 Feb 2008
Posts: 128
Location: Bug Labs HQ New York

PostPosted: Sun Apr 20, 2008 8:09 am    Post subject: Reply with quote

jconnolly wrote:

I'll post it on BUGnet , though it would take some tweaking to get it to work with virtual BUGs. (unless you've purchased three BUGs, that is Wink ).


I've posted the networked app on BUGnet
_________________
| John Connolly
| Bug Labs Development Team
|
| Join the bug-dev email list:
| http://lists.buglabs.net
| jconnolly on IRC:
| irc://irc.freenode.net/buglabs
------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
finsprings



Joined: 25 Sep 2007
Posts: 267
Location: Pittsburgh, PA

PostPosted: Tue Apr 29, 2008 10:18 pm    Post subject: Reply with quote

As a nice way to test you can (assuming you're on OS X or *NIX) do:

Code:
while true; do curl http://10.10.10.10/service/motion; sleep 1; clear; done


or

Code:
while true; do curl http://10.10.10.10/service/acceleration; sleep 1; clear; done


and then you can move the bug around and watch the values change in your terminal window.
Back to top
View user's profile Send private message Visit poster's website
jconnolly
Site Admin


Joined: 11 Feb 2008
Posts: 128
Location: Bug Labs HQ New York

PostPosted: Sat Dec 13, 2008 10:30 am    Post subject: Reply with quote

An update on this: as of R1.3 (October 2008) X renders on both framebuffer devices, meaning that in slots 0,2 and slots 1,3 there are separate X instances. A total of 2 Xservers are running.
_________________
| John Connolly
| Bug Labs Development Team
|
| Join the bug-dev email list:
| http://lists.buglabs.net
| jconnolly on IRC:
| irc://irc.freenode.net/buglabs
------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Bug Labs Forum Index -> BUGbase All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

FAQ   |   Search   |   Memberlist   |   Usergroups   |   Register   |   Profile

Email forums administrator

Bannersmonster.Com © 2007
Powered by phpBB © 2001, 2002 phpBB Group
Designed by:linux hostingHotel