Giter Site home page Giter Site logo

Comments (5)

Djang0 avatar Djang0 commented on July 25, 2024 2

Great ! Thank you very much for your help! I finally got it to work.
I think this idea of providing a framework for customizing such well designed device as garmin's is an excellent idea. I'm convinced that a more comprehensive documentation would help it get the reputation it deserves.

Thanks again for your help. Serious things will start for my project now.

from connectiq-apps.

TravisConnectIQ avatar TravisConnectIQ commented on July 25, 2024

I will look to see what is going on here and getting a fix put in place.

That said, it should be noted that the ConnectIQ SDK includes sample programs demonstrating FIT contributions. See the MoxyField and MO2Display samples. If you are stuck or just have questions, it may also be helpful to check in with the guys on the Garmin Forums (https://forums.garmin.com/forum/developers/connect-iq).

Travis

from connectiq-apps.

TravisConnectIQ avatar TravisConnectIQ commented on July 25, 2024

So there doesn't appear to be an actual bug here. The Namaste sample expects that the device/simulator provide accelerometer data. To do this using the simulator you must use one of the two options on the Simulation > FIT Data menu. If you play back a FIT file with accelerometer data, simulate data, or run the app on a device, the app should not crash.

I can add a check to avoid the crash mentioned, or I can update the documentation in README.md. I'll talk with AlphaMonkey to see how he wants to proceed here.

from connectiq-apps.

Djang0 avatar Djang0 commented on July 25, 2024

@TravisConnectIQ Thanks for the help. I have to admit frustration had me over reacting, sorry for that.
I tried the MoxyField, but it seemed to me that the Datafield needed some External sensor that I failed to simulate in the simulator. So I wasn't able to run tests.

I followed your advice on the namaste app, and it runs. I saved to a fit file and exported an .iq app to open the fit file in monkeygraph. But again, I failed and nothing shows up but some kind of bubbles smoking monkey ;)

My goal is to succeed in some Fitcontributions with a functioning app so that when I fail with my own app I keep in mind it is possible to succed.

Thanks again.

from connectiq-apps.

TravisConnectIQ avatar TravisConnectIQ commented on July 25, 2024

The instructions provided for the Namaste app, and using monkeygraph are not complete. I was able to get this all working by:

  1. Run the Namaste app
  2. Start simulating data (click Simulation > FIT Data > Simulate Data)
  3. Click the start/stop button on the simulated device, and watch the timer increase
  4. when the timer reaches 1 minute, click the start/stop button on the simulated device
  5. Choose Save from the Namaste app Resume/Save/Discard menu.
  6. Wait for the progress bar to disappear. you will see an IQ! logo. this is normal.
  7. Navigate to the GARMIN folder inside your temp folder
  • On Windows this is %TEMP%\GARMIN
  • On MacOS and Linux, look at $TMPDIR/GARMIN
  1. Copy/move the appropriate .fit file to your desktop. The filenames are timestamps, so it should be pretty easy to identify the one you want.
  2. From Eclipse, export the Namaste app by clicking Connect IQ > Export Wizard and doing the build. Save the Namaste.iq file to the desktop.
  3. Load up monkeygraph. It may be helpful to run it from the command line- you can get additional debugging information you wouldn't get when running it from Eclipse.
  4. Click File > IQ File and load the Namaste.iq file created in step 9
  5. Click File > FIT File and load the .FIT file from step 8.
  6. Profit.

I'll check our bug database and make sure that we have something to add some documentation about acquiring the .FIT file saved by applications and using monkeygraph.

All that said, I'm willing to bet that you could've got answers quicker by reading/posting on the forums. I strongly encourage you to go there and have a look around. You don't necessarily have to post... A lot can be picked up just by lurking.

Travis

from connectiq-apps.

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.