Wondering if there is a way to control the playback speed of a video based on rpm? Basically want to create an animation that speeds up/slows down based on engine rpm. Thanks all
Unfortunately there isn’t. You could create different gif files of the same animation and each file has a different animation speed.
Thanks for your reply, that’s a shame. So have say 6 different video gauges at different speeds and use the fade animation control to make one visible triggered by rpm?
Basically.
You can setup how ever many vieo gauge you would like.
Then have triggers that would play the one needed, pause the other ones and fade in-out as well
btw you can fade instantly if you set both value to 1 1 or 0 0.
Unless there’s a way to control via xml, which I dont believe there is, this is the only way.
Im imagining it like you want to make the road move per say as you drive.
edit: if its for vehicle speed use vehicle speed and not rpm and so forth.
Good to know I was on the right track. Just want a basic engine animation that will reflect the cars rpm. I’ll give this a go, thanks again
I have something similar, its a miniture 4 valve engine GIF. I have a PNG that shows it not moving. The PNG gets hidden and shows the GIF when the trigger detects the engine is running. I think you could try to do something similar. To have a GIF match RPM will proably give you a lot of trouble.
I don’t mind but heads up, I believe the forum is English only.
From what Google translate said you want triggers or such to perform this action.
I can answer it tomorrow just lmk what you’re tryna do and I’ll give you the best answer I can on actions and triggers.
Would also like more info on triggers of you don’t mind, do I need to use an XML file to make use of them?
Sorry gusy been on vacation and haven’t really been checking.
Devs are also still out on holiday vacation.
For you, triggers and actions can all be done via the RealDash App.
Edit → Triggers
left side are triggers, right side are actions
Triggers and actions are “not” supposed to have the same name or they won’t trigger. I’m debating this as a dev told me this but when you import an animation xml they’ll produce actions with the same name. so a bit contradictory there, but try to keep them different names.
Actions are the physical action. Setting a value, changing text, pause/play, etc. You can either create buttons to tigger and action or make triggers.
triggers are like if statements if youre familar with java. So if the condions are met, perform trigger, and it can loop, have a cool down, or just be a one time thing.
For animations, only fade in/out can be done within the app. You need XML for more advance animation triggers/actions.
Hopefully the devs are also going to bring us the ability to fully import/export triggers and actions via XML the same way they have animations setup.
A basic trigger example would be
trigger condition
- if Vehicle Speed is greater than 0
reset condition - if Vehicle Speed is equal to 0
Actions - Action Type: Speak Text
- Text: The vehicle is in motion now.
This means you’ll have your system verbally notify you each time the vehicle starts going in motion from a complete dead stop.
You can also make a duplicate with some adjustments to do the opposite and tell you when you come to a complete stop.
Please refer to my previous message about basic trigger/action messages.
This one will be a lot more straight foward.
So if you want a trigger to be base on speed
Edit → Triggers → [On Right Side] ADD
Action Name: Play Animation
Action Type: Video Gauge Play
Select Gauge: [Select Gauge that includes animation, only gauges with a video/gif would appear on the list]
DONE-> [On Right Side] ADD
Action Name: Pause Animation
Action Type: Video Gauge Pause
Select Gauge: [Select Gauge that includes animation, only gauges with a video/gif would appear on the list]
DONE
This creates the play/pause animation. Make sure the Gauge selected are the same.
[On Left Side] ADD
Trigger:
- “Play - 25 MPH Animation”
- Cooldown(sec): 0
- enabled
Trigger Condition: - If Vehicle Speed is greater or equal to 25
Reset Condition: - If Vehicle Speed is less than 25
Actions: - Play Animation
[On Left Side] ADD
Trigger:
- “Pause - 25 MPH Animation”
- Cooldown(sec): 0
- enabled
Trigger Condition: - If Vehicle Speed is less than 25
Reset Condition: - If Vehicle Speed is greater or equal to 25
Actions: - Pause Animation
The first trigger will play the animation once youre going 25 mph or more and the second trigger will pause the animation once you drop below 25 mph.
If you have multiple animations for like 0mph, 10mph, 25 mph, 40 mph, 60 mph and 80 mph.
instead of having a pause trigger for each one, simply incorporate the pause triggers into the trigger.
Basically the 25 mph trigger will use the play action for the 25 mph. and it’ll use the pause action for 0, 10, 40,60, and 80. Using a total of 6 actions with the 1 trigger. And so forth with each one where you pause use the pause actions for the ones that dont apply, and the play action for the one that applies.
Hope that makes sense cuz actually typing each one out would be annoying.
btw cooldown isnt alwasy needed, I use it so that way triggers don’t be changing dramatically. for example lets say youre cruising exaclty at 25, you can be between lets say 24.5 to 25.5 due to human/mechanical error with the vehicle.
You’d have your tiggers firing back and forth alot since it’s close to that border line for the trigger. If you set cooldown to lets say 3 seconds, it’ll give you that time gap before that trigger can fire again.
Edit: please let me know if this helped.
It’s very complex and it’s easy to explain by typing and even worse, you don’t understand anything, you get more lost. It would be good if you could provide us with a video explaining how to make a trigger and an action as explained in text, it would be the most correct. For those who are experts, it’s perfect, and for those who aren’t, it gets confusing and nothing comes out.
At that point I’d be designing a dash for you. The example was used to point you into the right direction. It’s a diffrerent video animation based on speed level is a lot more complex then just a flashing turn signal.
This is not what I asked for, but rather a preview of how to make a simple arrangement of the objective of this command, but I saw that in this forum, as in many others, there are only experts who do not like newbies, but rather people who contribute to their projects, thank you.
Respectfully I typed out how to do so in detail and explained how it would work before. You should try to setup the example and see how it works for set trigger range and then add the next one and go from there.
I read over my instructions post and I believe it’s detailed enough to give you the preview.
Only “issue” I’ve seen is:
- Trigger Condition:
- If Vehicle Speed is greater or equal to 25
You’d have to adjust this with multiple speeds differences.
- Trigger Condition:
- If Vehicle Speed is greater or equal to 10
- AND
- If Vehicle Speed is less than 25
For example.
That way the trigger will always trigger when you’re speeding up or slowing down. The reset conditions would be the opposite.
Thanks, I’ll try but it’s hard to understand the concept, I haven’t even managed to create the sound in an icon yet because it appears in the test but doesn’t appear when I create the action. I don’t know if the .MP3 sound file also has to be in a specific RealDash folder so that this sound of the arrow or open door is created in this action.
Just make your gif and upload it and follow the steps I provided. Lmk the results. After that you can work on sound. I know the feature is there just never tried it.
Most likely you have to import the mp3 into RealDash as an image. But try focusing on one thing at a time.
I don’t know if you understood what I’m trying to express or do, I want to do it, I don’t know if a trigger or action is used, which one uses it, when turning on the vehicle key in which the panel turns on the lights, a gif or a video appears on the screen when turning off the key, this video or gif disappears and will only appear again with the key turned on again, do you understand?