Coder Social home page Coder Social logo

mgiannikouris / vi-firmware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openxc/vi-firmware

0.0 0.0 0.0 10.23 MB

OpenXC Vehicle Interface Firmware

Home Page: http://vi-firmware.openxcplatform.com

License: BSD 3-Clause "New" or "Revised" License

Makefile 2.98% Python 4.91% C++ 83.37% Shell 3.32% C 5.25% Assembly 0.03% Batchfile 0.15%

vi-firmware's People

Contributors

creitz avatar davemelcher avatar devan224 avatar jayanthi-rao avatar jkitch20 avatar mgiannikouris avatar peplin avatar sskinger avatar sudo-a13 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vi-firmware's Issues

Modem is power cycling

On initial testing, the modem was able to connect. However, after a couple minutes it appeared to power cycle. The LED was flashing blue and red and then back to solid green while waiting to go blue for the modem connection. It did this about 5 times on a 40 minute drive. Zac also reported a couple power cycles on his first try. I was not able to capture any logs yet using python though.

C5 emulator sleep

When compiling with 'fab c5 emulator build' the resulting c5 devices connects to an iOS device over Bluetooth, but only for a few (<5) seconds. Then it goes away. Has been confirmed on 2 different C5 builds and iOS devices. Seems like emulator isn't keeping the BT alive?

Backwards compatibility

I updated this morning and openxc-message-format is fixed. Out of habit I did a ‘fab reference build’ first. Got the below error:

config.cpp: In function 'openxc::config::Configuration* openxc::config::getConfi
guration()':
config.cpp:115:5: error: C99 designator 'APN' outside aggregate initializer
};
^
config.cpp:115:5: error: C99 designator 'host' outside aggregate initializer
make: *** [build/FORDBOARD/config.o] Error 1
make: *** Waiting for unfinished jobs....

I was able to build for cellc5 successfully though.

gps_speed sometimes reports too high (looks like x100)

There is a bug in the Telit HE910 firmware that reports the GPS speed signal as 1/100 of the actual value. We've known about this for a while so I added a x100 to the signal value before publishing it. Works OK sometimes, but I'm seeing some signal values show up like {"name":"gps_speed","value":10721}. The GPS speed signal values around these instances make me think that these instances are 100x too high.

I'm also noticing that other signals like engine_speed are also wonky at times....so I'm not sure if my x100 correction is sometimes not needed (which would be unfortunate if it's unreliable) or if something more systemic is going on.

GPS coming through once vehicle is OFF. OBD-II firmware.

Hi @mgiannikouris, I was testing the OBD-II request-based modem this weekend. It looks like the mechanism for going to sleep is not 100% robust. Not sure if this is a modem or vi-firmware issue.

In 2 cases, I saw GPS data pushed to the server after the vehicle was off. In the first case, it looks like the modem didn't go to sleep and GPS data kept being pushed for about 1.5 hours.

In the 2nd case, the modem went to sleep when the vehicle was off, and then woke back up 45 minutes later and started pushing GPS data.

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.