BUG Community

Welcome! Log In

Forums Recent Posts

Subscribe to Recent Posts 11,767 posts found

May 8, 2008 9:13pm
Medium jconnolly 285 posts

Topic: BUGbase / BugBase Boot Problem

cdraptor
Good News
...
Slapped it in, the Bug is now back in Action.
...
The joys of "bleeding edge" :)


Chuck,

Great!! and: meh. The joys of bleeding edge indeed. Try

from the plant (only to ME :wink: ) . The problem may reside in the plastics of the casing pressing too tightly against the joystick, or it may be an electrical contact problem with the joystick hardware itself. Either way, we'll be happy when you're happy.

May 8, 2008 9:05pm
Medium cdraptor 25 posts

Topic: BUGbase / BugBase Boot Problem

Good News

I went out today and bought the ScanDisk ImageMate 12-in-1 Card Reader/Writer. Since it’s USB I can set it to be found in VMWare. Walked through the steps you have posted perfectly.

Slapped it in, the Bug is now back in Action.

Now for a whole other problem. There was the mention of the Menu system on the Bug – where you joystick down, to Access >, then joystick right My Problem is here nothing happens when I move the joystick right.

I can move up/down and I see basically

Access >

STATUSBAR [enabled]

down to the enable/disable.

Could I have possibly a defective Joystick button. I was wondering how the menu worked the first day, I didn’t see much going on. Anyway to test the Joystick, for now I will USB it and do the "shutdown" in shell

The joys of "bleeding edge" :)

May 8, 2008 8:26pm
Medium jconnolly 285 posts

Topic: BUGbase / BugBase Boot Problem

cdraptor
Okay no luck with the built-in Multi-card reader showing up in VMWare, so I am going to try and find a USB Multi-card reader (if I am lucky there will be Linux drivers included) so I can setup the filesystem on the MMC.

As a back-up plan, any way we can order a pre-formatted MMC ready to roll, I may be interested in buying one to have an extra back-up Filesystem anyway.


Chuck,

I think it may have to do with the fact that the rootfs on the MMC is on an ext2 partition, and windows won't interact with it at all. I came across these posts, which may be relevant.

http://ubuntuforums.org/showthread.php?t=313009
http://ubuntuforums.org/showthread.php?t=486573

Please send an email to support@buglabs.net for info on how to get a replacement MMC.
May 8, 2008 8:13pm
Tuxinator 6 posts

Topic: Applications / GPSUtilities & LocationList services

Any chance of adding information about the GPS for example number of satellites connected /found, signal strength, etc?

I found "com.buglabs.nmea.sentences.GGA" had a lot of these attributes but not 100% sure how to access it via your helper / provider class.

May 8, 2008 5:46pm
Medium cdraptor 25 posts

Topic: BUGbase / BugBase Boot Problem

Okay no luck with the built-in Multi-card reader showing up in VMWare, so I am going to try and find a USB Multi-card reader (if I am lucky there will be Linux drivers included) so I can setup the filesystem on the MMC.

As a back-up plan, any way we can order a pre-formatted MMC ready to roll, I may be interested in buying one to have an extra back-up Filesystem anyway.

May 8, 2008 1:05pm
Medium finsprings 268 posts

Topic: BUG SDK / Programmatic Bug Shutdown?

Thanks Alex, that sounds great.

May 8, 2008 11:32am
akravets 25 posts

Topic: BUG SDK / Programmatic Bug Shutdown?

finsprings,

The JavaDocs for all bundles that run on the BUG are generated right now, but they are kept in each bundle’s root directory. We’ll change the build so that these docs are moved to public website and are easily accessible.

May 8, 2008 10:47am
Medium kschultz 107 posts

Topic: BUG SDK / java.lang.NoClassDefFoundError on startup

Tuxinator

Is this true for when a service becomes unavailable as well but instead of calling start it would call stop? I take it services can include software and hardware services?


Correct, that is how the modules can be hot swapable, because the OSGi stuff handles the "life cycle" management. OSGI services can be hardware or software. A good example is my GPSUtilities package, it is a software service accessed the same way as a hardware module (or really I guess the hardware modules work like software services since OSGi was first for software only). Also the services are independant of the hardware, i.e. we could create a IPositionProvider based on a technology other than GPS that would be possible, or if we wanted to create a module that had a camera and a GPS, both could be offered up by one module. For right now when there are only 4 modules and a handful of software services the OSGi stuff might not seem necessary, but when we have 50 modules and there are 100 software services on BUGnet it will be worth the added complexity because it allows software to be independent of the hardware configuration.
May 8, 2008 10:41am
Medium jconnolly 285 posts

Topic: BUG SDK / Programmatic Bug Shutdown?

finsprings
Nice! I didn't realize we had exec access! I'll be sure not to try it with the VirtualBug though :-)



Dave,

The vm is running as root, so be careful with exec access. :wink:

Which brings to mind another question: is there a page with the javadoc or equivalent for the SDK now? There used to be one on bugbeta.com but it's not there anymore. I only found the OSGIi shutdown by trawling the java files in SVN.


I'm constantly badgering our development team to get the master javadoc generated with each build. I'm not really privy to all of the details of the build process, but I know that using Ant it should be a matter of adding the appropriate javadoc build commands in the build scripts. This is a great request to add to our bugzilla, at http://bugcommunity.com/bugzilla . We need the feedback so we can prioritize our next build accordingly. :)
May 8, 2008 10:27am
Tuxinator 6 posts

Topic: BUG SDK / java.lang.NoClassDefFoundError on startup

[quote="kschultz"]

Ok I know where all this is stemming from then, when you create a new project there is a list of services in the center of the screen, you have to highlight the modules you want. So there is a button to start a Virtual BUG, you plug in the modules you want your app to use, and Dragonfly will generate all the OSGi based on that. I think there are detailed instructions somewhere, I'm on a computer without Dragonfly installed so I can't give you detailed directions at the moment. This is a common mistake I make when I'm rushing I skip right over that and end up with just an activator class. The activator, manifest.mf, and the servicetracker should all be generated for you and then all you have to do is hook into your application from the doStart() method of the servicetracker.


I see your point. When I created the project I gave it a name clicked on finish instead of next. The following screen is very good in allowing you to select and generate the classes for you. Maybe in future releases disabling the finish button until you get to the last screen? If people only want to create an empty project they can just click next and then finish without starting the Virtual Bug and selecting the services.
akravets

Here are the instructions on what Kevin was talking about: http://bugcommunity.com/wiki/index.php/Create_a_basic_application_with_the_Motion_Sensor_module

Also, the reason service tacker is there is so your application can run when certain requirements exist. For example, let say in order for service A to function property service B must be present in the system. If I try to execute service A without B present then my application will not work. But if I have a service tracker that will track for presence of service B, then when service B becomes available my service A will be happy and do its thing.


Is this true for when a service becomes unavailable as well but instead of calling start it would call stop? I take it services can include software and hardware services?

Powered by Community Engine

Top
Login
Close
Bottom