Git Product home page Git Product logo

mazda-custom-application-sdk's Issues

Custom values possible?

I'm working on an app that shows oil sensor readings (pressure, temperature) via an Arduino that is saving the data to "/tmp/mnt/data_persist/dev/bin/" through libusb.

The standalone speedometer app has a "speedometer.sh" where the variables vor the values are assigned like
SPEED=smdb-read -n vdm_vdt_current_data -e VehicleSpeed``
and it can read values from the path mentioned above.

Is it possible to get the data into a CASDK app in a similar way?

Unable to create an app using the CLI

I am trying to create an app with casdk create abc but getting this error.
Node version is 18.16.1

node:internal/validators:421
    throw new ERR_INVALID_ARG_TYPE(name, 'Function', value);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "cb" argument must be of type function. Received undefined
    at maybeCallback (node:fs:187:3)
    at Object.writeFile (node:fs:2191:14)
    at /usr/local/lib/node_modules/casdk/casdk.js:92:6
    at Array.forEach (<anonymous>)
    at createCustomApplication (/usr/local/lib/node_modules/casdk/casdk.js:75:41)
    at Command.<anonymous> (/usr/local/lib/node_modules/casdk/casdk.js:119:4)
    at Command.listener (/usr/local/lib/node_modules/casdk/node_modules/commander/index.js:315:8)
    at Command.emit (node:events:513:28)
    at Command.parseArgs (/usr/local/lib/node_modules/casdk/node_modules/commander/index.js:651:12)
    at Command.parse (/usr/local/lib/node_modules/casdk/node_modules/commander/index.js:474:21) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Add Mazda 2

Please add Mazda 2 to the simulator.
My Mazda 2 contains the same infotainment system.

Web content access

Web content access

I made an app for accessing and searching youtube (happy to add this to your app repository if you like) via the embedded player. It seems opera tries to open a dialog for accepting the certificate, which doesn't come up.
untitled

I'll update with more info if I find a workaround.

Mounting drive as readwrite during install and uninstall

Hi there!

Thanks for the great tool. Are you still working on the development?
I have been able to run your install script on the runtime on my mazda3 with OS Version 56.00.240 4A N.
An issue I have noticed is that the apps do not register in my Application submenu.

I ran the install script by SSHing in to the car over wifi, finding the usb drive (under /mnt/sdb1) and running the install. The popup message came up saying the installation was successful. See console output below:
capture

When reading your Wiki article I noted that in your getting started guide, you mention that the SD card has an applications folder. This seems inconsistent with the version of runtime that I have.

Additionally, I noticed in your shell scripts that you mount the filesystem as readwrite using:
mount -o rw,remount /
I would suggest that you remount the filesystem as readonly, as it seems like the car is happy to turn off the OS quickly (ie not a controlled shutdown) and if the filesystem is readwrite then this can cause corruption. This can be done (as I'm sure you know) using:
mount -o ro,remount /

Because I couldnt get it working, I ended up running the uninstall shell script as well. Cleanup seemed to go smoothly, however under /var/tmp there were still a bunch of casdk files, including a logfile. Be happy to share this if you wish.

EDIT: So I got it to work, reading the shell script it seems that you need to place the apps folder on the navigation SD card that comes with the car. I will leave this issue open for the readonly remounting.

Application doesn't show up on Infotainment System

Hello together,

i have tried to install tetris on my Infotainment System like this:

  1. Copied the folder content from "src/deploy/install" to a USB Stick FAT 32
  2. i have pluged in the usb stick into my car and the installation was successful
  3. now i copied the folder content from "apps/" to the SD card where the navigation data are also (like this: "sd_nav/app.tetris")
  4. back to my car i pluged in the sd card and restarted the Infotainment System

What I have done wrong, because no apps are displayed ?

Wrong path on the SD card ?
Maybe it is not the right order ?
I dont know whats wrong.

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.