hexagon logo

How can I trigger an external action from within the driver control file?

Hello,
 
I want to trigger an action from within the driver control files that is not an standard output (throttle/steering/clutch etc). Basically I want to do some minimaneuvers to achieve a certain vehicle state, then activate a parking lock torque in the gearbox, then deactivate it and continue the simulation.
 
Of course I could use some STEP(time) functions in the torque expression to activate the torque at the right moment, but that solution wouldn't be general for different driver control files . Any ideas on how to trigger such an action from within the driver control file?
 
Thanks
/Oskar
 
 
 
 
 
 
 
Parents
  • Actually r.gobbur has got a point.
     
    You could replace the EventAll with acouple of EventRunNext in the acf then insert commands to activate/deactivate the torque. Manual work, but a valid workaround.
    When thought about, it is even possible to do it automatically with the use of a mac_ana_ful_sub_custom_pos macro (but that would only work for files_only analyses).
     
    Regards
    Thomas
Reply
  • Actually r.gobbur has got a point.
     
    You could replace the EventAll with acouple of EventRunNext in the acf then insert commands to activate/deactivate the torque. Manual work, but a valid workaround.
    When thought about, it is even possible to do it automatically with the use of a mac_ana_ful_sub_custom_pos macro (but that would only work for files_only analyses).
     
    Regards
    Thomas
Children
No Data