Stephen,
You were right on. Most of the Tesla Model S code worked straight away. I have made a pull request for my initial work that involves only the Tesla CAN bus on Can1. I have not even started looking at the Toyota CAN because most of the useful stuff is already broadcast on the Tesla bus.
I pulled the cooling system temperatures and pump speed percentages and put them in new vehicle specific metrics. I fumbled my way through copying the method of making a vehicle specific web page from the Nissan Leaf code so that I could display that information. However, I got stuck when populating those metrics into the web page. The compiler throws this error for each of my new metrics:
L:/OVMS/home/miimura/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/vehicle_toyotarav4ev/src/vehicle_toyotarav4ev.cpp: In static member function 'static void OvmsVehicleToyotaRav4Ev::WebCooling(PageEntry_t&, PageContext_t&)':
L:/OVMS/home/miimura/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/vehicle_toyotarav4ev/src/vehicle_toyotarav4ev.cpp:100:50: error: invalid use of member 'OvmsVehicleToyotaRav4Ev::m_v_bat_cool_in_temp' in static member function
c.printf("<p>Battery Coolant Inlet: %.1f C</p>", m_v_bat_cool_in_temp->AsFloat());
^
In file included from L:/OVMS/home/miimura/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/vehicle_toyotarav4ev/src/vehicle_toyotarav4ev.cpp:38:0:
L:/OVMS/home/miimura/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/vehicle_toyotarav4ev/src/vehicle_toyotarav4ev.h:90:22: note: declared here
OvmsMetricFloat *m_v_bat_cool_in_temp;
^
Anybody have a clue what I'm doing wrong here?