bastiangschrey / powertune Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Hi,
Is it possible to try this, at least the gui without raspi? And without all the fuss with compiling?
Thanks
Hi,
I am trying to build the pi image as per the instructions but I get the following error:
digitlst.cpp:67:13: fatal error: xlocale.h: No such file or directory
# include <xlocale.h>
^~~~~~~~~~~
compilation terminated.
*** Failed compilation command follows: ----------------------------------------------------------
/home/sikrip/buildroot/output/host/bin/ccache /usr/bin/g++ -I/home/sikrip/buildroot/output/host/include -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=1 -DU_DISABLE_RENAMING=1 -I. -I../common -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -O2 -I/home/sikrip/buildroot/output/host/include -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -c -DPIC -fPIC -o digitlst.o digitlst.cpp
--- ( rebuild with "/usr/bin/make VERBOSE=1 all" to show all parameters ) --------
../config/mh-linux:53: recipe for target 'digitlst.o' failed
Could you help me get around this?
Thanks,
George
Implement Multi Threading
Serial should have its own thread as well as GPS and Decoder .
I tried several Ubuntu versions to have the build root, but none worked to build an image to run on a Raspberry Pi 4.
I am unsure if I am doing the instructions wrongly on the README.md file or if they need an update, but I tried everything to run without errors.
Do I need to use another OS or a specific version to run it?
Remove Interface Selection when Adaptronic is select
Communication with Datalogit black stops after Analog input message is requested (0x00 0x02 0xFD)
Possible root cause is the expected message length is declared incorrect.
Total Message Lenght for FC Hako i is 7 Bytes and structured this way
byte identifier
byte Lenght
byteAN1
byteAN2
byteAN3
byteAN4
byte checksum
Total Message Lenght for Datalogit bllack was thought to have 11 bytes and look like this
byte identifier
byte Lenght
byteAN1
byteAN2
byteAN3
byteAN4
byteAN5
byteAN6
byteAN7
byteAN8
byte checksum
but this assumption seems to be incorrect
I have a suspicion that the message has 1 more byte than i expected due to the additional communal ground input ( most probably after AN8 )
Reverse engineer Powermods protocol and implement into PowerTune
When tested against emulator FC Edit shows 54 PowerTune shows 44
weight : car weight in Kg (user input)
acceleromter : in g (from acceleration sensor)
Calculate Power in KW
KW = ((weight) * (accelerometer/ 9.80665) * (accelerometer/ 9.80665)) /1000
Calculate Torque in NM
Torque (N.m) = (9.5488 x kW) / RPM
Gui does not scale , Table views are not showing complete data at once without scrolling
Add autoconnect checkbox to serialsettings .
Feature should work as follows
Create a Dropdown filled with available WIFI networks and a input window for Passphrase
Implement Nissan Consult Protocol for Read out of Live values from Nistune ECU's
Datalogit has up to 8 Analog inputs versus 4 on the FC Hako
Reverse engineer Dicktator ECU Protocol and decode
I ran into many errors when compiling the powertune image with Ubuntu 20.04, but i have found a workaround to share, the error was giving
error: 'numerical_limits' is not a class template 300 | class numeric_limits <QR_PREPEND_NAMESPACE(qfloat16). : public numeric_limits
I found by adding the 3 lines
#ifdef __cplusplus
#include
#endif
to the files qfloat16.h and qbytearraymatcher.h
fixed this issue incase anyone else was having the same
Add Power FC support for more models
Looking to install in a project car very soon. Being in the UK and being massive pains that we are, is it possible to have speed measurement in MPH but temps and other units in Metric?
Reproduce the problem :
Select incorrect or no com port
Select Adaptronic
click connect
App crashes
Read out the string from message F3 to determine model and compare to predefined strings , to automatically determine which PFC model is used .
Add checkboxes to settings screen , for the user to manually select the dashboards that he wishes to be shown . Create the pages dynamically in swipeview (main.qml)
Every ECU should be moved to its own class
Move GoPro into a seperate class to unclutter the Serial class
Implement Readout of Sensors via GPIO and ADC on Raspberry pi
-Pressure Sensors
-Temp Sensors
Introduce persistance for Odometer readings , as well as a start value that can be selected by the user in Settings
Replace fixed Charts Datasources with freely selectable Datasources by the user
How can I read all the analog inputs of the black Datalogit?
Based on this issue #28 the response of the response of the 0x00 0x02 message is 7 bytes and I confirmed that.
Reading all 8 analog inputs of the black Datalogit would require a response of 11 bytes.
Maybe there is an other read message that is used for this?
Charts.qml has a moving X axis and shows the last 5 secondonds (100 data points with a 50 ms gap)
of live data as a graph .By trying to delete data that is older than 5 seconds the on screen live data gets also deleted .
Have managed to get through a few other issues while compiling but this one has me stumped log below ; any input appreciated. Fresh Ubuntu 17.04 install
powertune master Configuring
cd /home/cplagz/buildroot/output/build/powertune-master; PATH="/home/cplagz/buildroot/output/host/bin:/home/cplagz/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/cplagz/buildroot/output/host/usr/bin/qmake
Info: creating stash file /home/cplagz/buildroot/output/build/powertune-master/.qmake.stash
Project ERROR: Unknown module(s) in QT: charts location positioning sensors multimedia
package/pkg-generic.mk:217: recipe for target '/home/cplagz/buildroot/output/build/powertune-master/.stamp_configured' failed
make[1]: *** [/home/cplagz/buildroot/output/build/powertune-master/.stamp_configured] Error 3
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.