Hi Radu, maybe a question regarding the custom driveline: If we would implement the direct drive ourselves, the logic around the driver subsystem does not work anymore since the driving commands are more complex, right? Or can we just insert prop commands that are piped to the other components such as the ground? I am specifically asking for these bits in the simulation loop:
vehicle::DriverInputs driver_inputs = driver->GetInputs(); vehicle.Synchronize(time, driver_inputs, terrain); terrain.Synchronize(time); vis->Synchronize(time, driver_inputs); Alex Lan schrieb am Donnerstag, 28. Dezember 2023 um 03:54:31 UTC+1: > Ok, thank you very much! > > 在2023年12月27日星期三 UTC+8 20:43:23<Radu Serban> 写道: > >> Alex, support for direct drive motors in Chrono::Vehicle is on the todo >> list. But I cannot tell you when I will get a chance to implement that. >> For now, you can model that yourself, for example using a custom >> driveline system. >> >> --Radu >> >> >> >> *From:* [email protected] <[email protected]> *On >> Behalf Of *Alex Lan >> *Sent:* Wednesday, December 27, 2023 12:39 PM >> *To:* ProjectChrono <[email protected]> >> *Subject:* [chrono] How to model four independent motor drive >> >> >> >> Hi, I want to model a electric vehicle that is driven by four in-wheel >> motors. The four motors drive each wheel independently and coordinately. >> Chrono seems to provide template of shaft-based powertrain with one engine. >> Is it possible for me to utilize template to implement the four-motor >> drive? or should I implement it as another class manually by myself? >> >> Best regards. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "ProjectChrono" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/projectchrono/08f4402d-9cf3-493c-b8ca-1954fedabb8an%40googlegroups.com >> >> <https://groups.google.com/d/msgid/projectchrono/08f4402d-9cf3-493c-b8ca-1954fedabb8an%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/a8ea5f08-a57c-4198-a856-942d8122c599n%40googlegroups.com.
