Browse Search Popular Register Upload Rules User list Login:
Search:
Truck with combustion engine

Image:
screenshot of the scene

Author: JakubKubo

Group: Collaborations

Filesize: 0.82 MB

Date added: 2018-02-10

Rating: 5.6

Downloads: 1125

Views: 409

Comments: 4

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Controls:
Right/Left -gas
Down - brake
Ctrl/Shift - gear
I - ignition
S - starter

Notes:
- I4 combustion engine, OHV, 20cm bore (max RPM 650)
- previous version had V8 negative damping spring engine
- truck have 2.5t
- Clutch is automatic, gearbox is sequential
- Textured ground (credits to Toni)
Last edited at 2018/03/01 12:29:58 by JakubKubo
Please log in to rate this scene
edit
Similar scenes
Title: Truck with I6 combustion engine
Rating: 5.625
Filesize: 0.81 MB
Downloads: 9948
Comments: 14
Ratings: 2
Date added: 2018/03/01 12:27:05
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: combustion engine at gasoline
Rating: 5
Filesize: 321.53 kB
Downloads: 2166
Comments: 8
Ratings: 1
Date added: 2010/06/21 18:54:50
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Internal Combustion Engine(?)
Rating: 5
Filesize: 172.87 kB
Downloads: 759
Comments: 0
Ratings: 1
Date added: 2014/02/03 17:01:57
Made with: Algodoo v2.0.1
Rating: rated 5
download
Title: Combustion Engine
Rating: 5
Filesize: 51.12 kB
Downloads: 620
Comments: 1
Ratings: 1
Date added: 2015/10/11 19:19:08
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Tractor with COMBUSTION ENGINE
Rating: 6.75
Filesize: 236.36 kB
Downloads: 2642
Comments: 4
Ratings: 6
Date added: 2009/03/25 17:32:16
Made with: Phun
Rating: rated 6.8
download
Title: Combustion engine
Rating: 5
Filesize: 48.49 kB
Downloads: 461
Comments: 3
Ratings: 1
Date added: 2020/04/02 15:50:18
Made with: Algodoo v2.1.0
Rating: rated 5
download
Nice work.:tup:

Here's a suggestion for your one hinge scale:

initialize:
_oldm = 0.0;
_lastHit = 0.0;

postStep:
g := scene.entityByGeomID((readable(entity)).geom0);
v := (readable(entity)).totImp3(1) * sim.frequency / 9.8 - 25000.0;
m := _oldm + 3.0 / sim.frequency * (v - _oldm);
_oldm = m;
sim.time - _lastHit > 0.5 ? {
g.text = math.toInt(m) + " kg";
_lastHit = sim.time
} : {}

This adds a low pass smoothing filter that has a 3 second time constant to the output and updates the scale twice a second.
Last edited at 2018/02/23 09:42:14 by s_noonan
- This truck is his "tatra" (truck uploaded in FB group only), I just made something similar to his, for comparision...his is way better:D
- What is "g" good for if you use it only once? Just wasted RAM space:D
- So it is scale that update text every half a second?

"low pass smoothing filter"
... sorry my english is not good enough to understand this:/

How to make high torque gearbox? Because it slips like crazy here, mainly at low rpm and high torque
Q: What is "g" good for if you use it only once? Just wasted RAM space.
A: No good unless you use it more than once.

Q: So it is scale that update text every half a second?
A: So you can read the last digit in the number. What good is a display that changes 120 times per second?

Q: "low pass smoothing filter"?
A: low pass means let the low frequencies go through the filter. Smoothing means stop the display from showing big rapid change.

At any rate, the code is there to try if you desire. Don't try it if you don't like it.

Q: How to make high torque gearbox?
A: I don't know. My first guess would be to use spur gears or circle gears. My second thought would be to see how other people make gear boxes.
Note: This scene is done really well and near perfect. I comment on one small aspect of the scene, which probably accounts for 0.01% of the scene. Do what you feel like doing. I will not feel bad if you disregard the comments below.

If your goal was to use one line of code for the scale, then you did well. If your goal was to stabilize the reading, then you can still improve the scene. The code below may help you accomplish both:
Initialize:
_count = 0;
_sum = 0;
_time = 0;
postStep:
sim.time > _time ? {
_time = sim.time + 1;
(scene.entityByGeomID((readable(entity)).geom0)).t­ext = math.toInt(((_sum * sim.frequency / _count) - (25000 * Sim.gravityStrength)) / Sim.gravityStrength) + "/100,000 kg";
_count = 0;
_sum = 0
} : {
_count = _count + 1;
_sum = _sum + (readable(entity)).totImp3(1)
}

Regarding transmission slipping, see Strong Transmission.
Last edited at 2018/02/26 10:18:12 by s_noonan