Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-02-2024, 12:37 AM   #201 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
Compilation error - useChryslerMAPCorrection

I know this isn't a tech support forum, but I couldn't figure out this compilation problem. Would it be better to post this as an issue on github?

I would love to solve this, if you know what the problem is, or could point me toward how to solve it myself. Thanks!

I tried enabling useChryslerMAPCorrection, but compilation failed with the error:

Quote:
In file included from /home/ian/Arduino/mpguino_tav/mpguino_tav.ino:438:0:

/home/ian/Arduino/mpguino_tav/trip_measurement.h:438:52: error: 'tPressureChannel' was not declared in this scope
((mpMAPpressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel) // Pressures
/home/ian/Arduino/mpguino_tav/trip_measurement.h:439:53: error: 'tPressureChannel' was not declared in this scope

,((mpBaroPressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel)

/home/ian/Arduino/mpguino_tav/trip_measurement.h:440:53: error: 'tPressureChannel' was not declared in this scope
,((mpFuelPressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel)

/home/ian/Arduino/mpguino_tav/trip_measurement.h:441:52: error: 'tPressureChannel' was not declared in this scope
,((mpInjPressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel)

/home/ian/Arduino/mpguino_tav/feature_datalogging.ino: In function 'void idleProcess()':
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:528:20: error: 'prgmCalculateMAPpressure' was not declared in this scope
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:528:20: note: suggested alternative: 'prgmCalculateSpeed'
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:539:20: error: 'prgmCalculateBaroPressure' was not declared in this scope
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:539:20: note: suggested alternative: 'prgmCalculateBingoFuel'

exit status 1

Compilation error: 'tPressureChannel' was not declared in this scope
I messed around with it but was unable to make any progress. I'm using MPGuino v1.95tav 2023-Aug-14 with a legacy MPGuino setup.

useChryslerBaroSensor compiles without errors.

I also have an issue where instant mpg only shows up half the time while moving; it switches back to gal/h the other half of the time. My speed always shows up correctly, and the average mpg continues working.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-09-2024, 02:38 PM   #202 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
Serial Logging Frequency (speed)

So, the serial logging function output every 0.5 seconds. Is there a way to make this faster (i.e every 0.2 seconds, or even every 0.1)?
  Reply With Quote
Old 08-02-2024, 07:10 PM   #203 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
Found the last version where useChryslerMAPCorrection worked. It is commit "a50af8e". You can find it on github by going to "commits" and scrolling to Jun 3, 2023. Or by cloning the repo, and then doing "git checkout a50af8e". This is in case anyone else wants to try out Chrysler MAP Correction, obviously t_vago, you know where all that is.
  Reply With Quote
Old 11-19-2024, 08:23 PM   #204 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
I fixed useChryslerMapCorrection. All I did was move the code that changed in the broken version back to how it was before. I created a pull request for the latest version, available here (https://github.com/FlashStopFall/MPG...rMapCorrection) if you would like to use it. t_vago, I hope you are doing well, and I hope the pull request is satisfactory!

  Reply With Quote
The Following User Says Thank You to FlashStopFall For This Useful Post:
t vago (11-22-2024)
Reply  Post New Thread


Tags
mpguino, peak and hold

Thread Tools




Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com