Search found 68 matches

by TXBDan
Fri Jun 22, 2018 2:54 am
Forum: Lua Scripting
Topic: Help with script optimization
Replies: 6
Views: 3454

Good ideas! I'll implement them and test tomorrow. Thanks.
by TXBDan
Thu Jun 21, 2018 3:29 am
Forum: Lua Scripting
Topic: Help with script optimization
Replies: 6
Views: 3454

Interestingly the Haltech CANBUS protocol sends data at different rates. So using the modulus method, i made it so different functions are updated at either 50, 20, 10, or 5hz so that i could match the Haltech protocol and also put other things in more sensible update rate bins. This seems to work, ...
by TXBDan
Thu Jun 21, 2018 2:43 am
Forum: ShiftX2
Topic: Brightness scaling
Replies: 7
Views: 3330

Brightness scaling

Looking at the ShiftX2 API, there seems to be a value that isn't set in any of the demo code, brightness scaling. It's in the "Set Configuration Parameters Group 1" section here: https://wiki.autosportlabs.com/ShiftX2 Does this value determine the brightness of the LEDs when in auto-brightness mode?...
by TXBDan
Tue Jun 19, 2018 6:37 pm
Forum: RaceCapture App Operation and General Q&A
Topic: New build, What screen for RPI? Official RPI screen?
Replies: 6
Views: 3890

Why not just use a $60-80 Amazon Fire HD tablet? I have a Fire HD 8" and its great.
by TXBDan
Tue Jun 19, 2018 1:44 am
Forum: ShiftX2
Topic: ShiftX2 config in GUI instead of LUA?
Replies: 11
Views: 5232

Hi, We just released 2.13.5 firmware which offers 20% more Lua memory than 2.12.0. If you haven't, give it a try to see if that makes a difference. Also, you can post your current script here to see if we can optimize it. You're right, it should be a first class feature in the system. I think Shift...
by TXBDan
Tue Jun 19, 2018 1:41 am
Forum: Lua Scripting
Topic: Help with script optimization
Replies: 6
Views: 3454

Help with script optimization

Hello, First, what is the LUA memory limit (fw 2.13.5) and how can i measure the utilization of my script in order to compare? Is the memory usage a realtime memory thing or more of a storage thing? I ask because LUA optimizers seems to simply remove whitespace and comments. This script does a few t...
by TXBDan
Mon Jun 18, 2018 3:49 am
Forum: CAN mapping discussion
Topic: Send all RCPmk3 data to Aim Solo 2 DL over CANBUS?
Replies: 1
Views: 2209

This isn't optimized or fully verified, but it seems to be working with a 50Hz update rate. I'm using the Haltech V2 canbus protocol. In the Solo DL 2 i simply select the Haltech as the ECU canbus protocol and voila. function sendHaltech() local rpm = getTimerRpm(0) local tps = getAn...
by TXBDan
Mon Jun 18, 2018 3:47 am
Forum: ShiftX2
Topic: ShiftX2 config in GUI instead of LUA?
Replies: 11
Views: 5232

I'm also running into memory issues again now that i've added some canbus sending stuff. I'm using LUA minifier as well. (https://mothereff.in/lua-minifier)

There's really no reason to have all this ShiftX2 clutter in our scripts being that its standard Autosport Labs hardware.
by TXBDan
Mon Jun 18, 2018 3:34 am
Forum: CAN mapping discussion
Topic: Robust txCAN()? errors and time outs
Replies: 1
Views: 2030

Robust txCAN()? errors and time outs

Hello, I'm curious about how to make my sending of CAN messages as robust as possible. I notice that I occasionally get fail warnings which are triggered when txCAN() returns 0. I'm sending data at 50Hz (a send function is running with an onTick() at 50Hz) with the CANBUS set to 1mbps. How should th...
by TXBDan
Fri Jun 08, 2018 2:09 am
Forum: AnalogX
Topic: Can an AnalogX connect directly to an Aim Solo DL?
Replies: 3
Views: 3259

Can an AnalogX connect directly to an Aim Solo DL?

I'm interested in using an AnalogX as an "analog to CAN" bridge for connecting to an Aim Solo DL. Has anyone done this? Will the AnalogX just start broadcasting out of the box?

Thanks
by TXBDan
Wed May 16, 2018 4:43 pm
Forum: ShiftX2
Topic: ShiftX2 config in GUI instead of LUA?
Replies: 11
Views: 5232

brentp wrote:Hi - No update on this, no ETA on when it would exist. However, the 2.13.0 firmware has 20% more memory allocated to Lua, so that might resolve your memory issues.
Great, my issues were with 2.12. and it seems marginal so this should fix it. Thanks
by TXBDan
Wed May 16, 2018 1:04 am
Forum: RaceCapture App Bug Reporting / Feature Requests
Topic: Min/Max values inside of dashboard gauges
Replies: 3
Views: 2032

Min/Max values inside of dashboard gauges

Hey Brent,

I often which i could check what a max temperature was while out on track. It'd be cool if there was a small numerical display inside the dashboard gauges that could be set to record min/average/max gauge values.

Thanks,
Dan
by TXBDan
Wed May 16, 2018 1:02 am
Forum: ShiftX2
Topic: ShiftX2 config in GUI instead of LUA?
Replies: 11
Views: 5232

Hi Brent, any updates on this? My ShiftX2 still crashes and goes nuts about 1/4th of the time which i believe is due to memory capacity issues. I'd love to get it out of my LUA script. :)
by TXBDan
Wed May 16, 2018 1:00 am
Forum: CAN mapping discussion
Topic: Send all RCPmk3 data to Aim Solo 2 DL over CANBUS?
Replies: 1
Views: 2209

Send all RCPmk3 data to Aim Solo 2 DL over CANBUS?

I have a RCPmk3 setup with several sensors and working well. I would like to send all of the data to an Aim Solo DL so that the Solo with log it and i can use AIM RaceStudio software for analysis and for comparison with other people running Aim hardware. Aim seems to support various CANBUS protocols...
by TXBDan
Wed May 16, 2018 12:52 am
Forum: RaceCapture/Pro General Q&A
Topic: Data Analysis Software - Motec, Gems, AEM
Replies: 119
Views: 124596

Brent, I don't fully understand. I believe you're saying that users of different systems can upload their data to Podium by either having an RCP system or by using a Podium Connect + their existing Aim, Motec, etc system. In this way you could compare data with people on other systems assuming they ...