UserManual Mit Bugfix
UserManual Mit Bugfix
IPG Documentation
CarMaker ®
User Manual for the Cockpit Package - standard Edition
2
The information in this document is furnished for informational use only, may be revised
from time to time, and should not be construed as a commitment by IPG Automotive GmbH.
IPG Automotive GmbH assumes no responsibility or liability for any errors or inaccuracies
that may appear in this document.
This document contains proprietary and copyrighted information and may not be copied,
reproduced, translated, or reduced to any electronic medium without prior consent, in writ-
ing, from IPG Automotive GmbH.
© 1999 - 2013 by IPG Automotive GmbH – www.ipg.de
All rights reserved.
FailSafeTester, IPGCar, IPGControl, IPGDriver, IPGEngine, IPGGraph, IPGKinematics,
IPGLock, IPGMotorcycle, IPGMovie, IPGRoad, IPGRoaddata, IPGTire, IPGTrailer,
IPGTruck, RealtimeMaker, Xpack4 are trademarks of IPG Automotive GmbH.
CarMaker, TruckMaker, MotorcycleMaker, MESA VERDE are
registered trademarks of IPG Automotive GmbH.
All other product names are trademarks of their respective companies.
Table of Contents
1 Introduction 4
1.1 Purpose of this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 About the Cockpit Package standard edition . . . . . . . . . . . . . . . . . . . . . . 4
Chapter 1
Introduction
Chapter 2
How to get started
bin-directory
• G27_profile_win or G27_profile_linux
It is a default dataset which is configured for the Logitech G27 steering wheel connect-
ed to a Windows or a Linux computer. Both files are CarMaker Infofiles which can be
modified with the GUI or by editing it with a text editor. The profiles should be saved to
the bin folder of your CarMaker project directory.
doc-directory
• User Manual
It contains this documents which can be stored at the doc folder of your CarMaker
project directory or at any othe place on your PC.
lib-directory
• DMI.dll or DMI.so
The DMI libraries are natively written in C and compilied with the GNU Compiler Collec-
tion to both destination platforms. For Windows the DMI.dll and for Linux the DMI.so is
used.
• SDL2.dll
It is the Windows runtime library for the SDL interaction. To generate the SDL library for
Linux systems, please contact the CarMaker-Service Team to receive the needed SDL
source code for compilation (needed version: 2.0.0-6609).
CMext-CockpitPackageStandard.mod
Generates the CarMaker menu item “Specials” to open the GUI of the Cockpit Package
standard. This file has to be saved to the GUI folder of your IPG installation directory (../
IPG/hil/Version/GUI).
When the item is no visible after the first CarMaker start, please restart CarMaker and
check the menu bar again.
900 deg.∞
Label (1) To follow the next explanations, please take a look at Figure 2.3. For performing a driving
maneuver you have the opportunity to Open a dataset (profile) or to configure the Cockpit
Package standard manually. For the first Cockpit Package standard usage it is appropriate
to load the pre-defined dataset G27_profile_win on Windows or G27_profile_linux on
Linux, which are located in the bin-directory. Both profiles are suitable for the Logitech G27
steering wheel.
Label (2) When a dataset is loaded, the entry for the Active dataset is showing your choice.
Label (3) The next step should be to check the Current status. For each module a short feedback
dialog is given. When the dialog says that something is not fine (e.g.: No APO connection)
you should solve the problem (e.g.: Start a CarMaker TestRun once). Afterwards the status
can be updated by clicking the Refresh button.
Label (4) The Refresh button forces the complete Cockpit Package standard to check for valid con-
nections and to update the Cockpit Package standard dialog. The connections are distin-
guished between CarMaker APO connection and joystick device connection. In the case
that both connections are valid the Cockpit Package standard is put into the state ready.
Label (5) When a Attached joystick is detected the device name is displayed here.
Label (6) Finally, when the Cockpit Package standard is in the state ready, you can start your driving
maneuver after clicking Run DMI. Please keep in mind that you have to start the CarMaker
TestRun separately. To stop the driving input you can use the button Stop DMI.
1 2
4 5
3
Chapter 3
Setting your parameters
Label (1) To open the GUI for further parameter settings you can click through the Options button,
please see Figure 3.2.
Label (2) When you have defined your own dataset you have the possibility to store it on the hard-
disk with the Save [as] button.
1 3
4
2
5
Label (1) With the parameters Application host, Application class and Application user the destina-
tion of the APO connection can be specified. In the case of localhost the APO server
should be executed on your local machine. The entries has to be modified when you want
to connect to a APO server which is executed on another system, like HiL-platforms or net-
work computers and the Cockpit Package standard is running on your local machine, for
instance.
Label (2) The Sleep time [ms] defines the Cockpit Package standard cycle time roughly. It is the time
in which the Cockpit Package standard waits in a non busy status until the next loop exe-
cution is done. During one loop execution all input, signal processing and output actions
are performed.
When the time is specified too short you may block other program executions and waste
CPU performance.
Another parameter is the Driving mode. Here you can define which initial mode for starting
the Cockpit Package standard execution is used and you can see which mode is currenty
activated during the Cockpit Package standard is running. A mode includes the activation
or deactivation e.g. of the steering wheel, the foot pedals and the Force-Feedback. Please
see section 3.5 for more details.
Label (3) To define the range of the steering wheel angle you can modify the settings for Min. steer-
ing angle and Max. steering angle. When you have defined the global joystick property of
the angle to 900 degress (referring to section 2.1.2) you should enter from -450 to 450
Label (4) The setting for the Force-Feedback factor is based on an experiment. It is the ratio for gen-
erating 1 Nm steering torque in CarMaker and measuring 1 Nm at the Logitech G27 steer-
ing wheel. You can let this value as it is or you perform another measurement.
Instead of changing the Force-Feedback factor you can adapt the parameter Add. scaling
factor to influence the Force-Feedback strength. For the possibility that a vehicle has no
available power steering system and high torque values are expected you can set Add.
scaling factor to small values. The factor can be interpreted as a quasi power steering sys-
tem without any dynamic behaviour.
Label (5) The Steer. wheel damping is a damping coefficient which is mulitplied with steering angle
velocity. The result is a torque agianst the rotational direction which can prevent from oscil-
lations due to delays in the signal input and output. The parameter has to be determined
experimentally and depends on the vehicle model, tire model, steering wheel and Cockpit
Package standard cycle time, for instance.
Another quantity, which is influenced by signal delays and signal discretizations, is the cal-
culated steering wheel velocity. To prevent from strong peaks in the velocity channel a sim-
ple filter with the method “moving average” is implemented. With Filter coeff. steer veloc.
you can specify the amount of used filter coefficients for smoothing the signal.
3
1
4 5
2
6
Figure 3.3: Cockpit Package standard options - Buttons
Label (1) The three buttons define how the gear shifting in CarMaker should be executed. The
autonomous shifting via IPGDriver can be set with Shift IPGDriver. To activate the manual
gearbox you can press the button for Shift manual. To use the shift paddles of your steer-
ing wheel you can activate the function Shift paddles.
Please keep in mind that each of the functionality can only be used when the CarMaker
vehicle model supports the corresponding gear shift mode. For example, the model of the
Audi R8 does not have an automatic gearbox, so you can not use the option Shift paddles.
Label (2) When the shift paddles are active you can change the gears with Shift paddle R to select
the next higher gear or with Shift paddle L to select the next lower gear.
Label (3) The parameters influence the behavior of the driving maneuver in longitudinal and lateral
direction. When IPGDriver longit. is active this forces the IPGDriver to take the responsibil-
ity in longitudinal direction. The foot pedals of your steering system will be deactivated.
For the lateral direction the parameter IPGDriver lateral activates the IPGDriver and deac-
tivate your steering wheel. Activation and deactivation can be toggled by pressing the cor-
responding button multiple.
Label (4) With Force-Feedback you can activate or deactivate (toggle) the Force-Feedback system
of your steering wheel. When your steering wheel does not support Force-Feedback this
parameter has no influence.
During the Cockpit Package standard is running you can press the button for Stop Inter-
face to interrupt the loop execution and return back into the state ready.
Label (5) The residual parameters Gear 1 to Gear 6 and Gear R (for reverse) referring to the gears
which can be activated with the manual gearbox of your steering wheel system. The man-
ual gearbox can only be used when it is activated with the option Shift manual.
Label (6) Using the dialog, the first step is to click with the mouse on your preferred entry of the cor-
responding button you want to change.
The next step is to click through the Play button to put the Cockpit Package standard into
the mapping state. The dialog asks you now to press the desired button on your steering
wheel system. When you do not press a button within five seconds the last button value is
kept.
Label (1) The number of each of the axis refers to the corresponding driver input for the CarMaker
interaction.
Label (2) The mapping of the axes can be changed in the same way as for the buttons, please see
the previous section. Instead of pressing a joystick button you have to move the axis within
five seconds.
Label (3) Some information about the attached joystick should help to find out whether your device
is suitable for the purpose you like.
The parameter Cycle [ms] shows you which time is needed for one loop execution during
the Cockpit Package standard run time. The value should be nearly close to the parameter
Sleep time [ms] otherwise it is an indication that something is not working corretly.
Force- Steering
Reserved Shift flag Shift paddles Shift manual Foot pedals
Feedback wheel
• Bit 0: When the bit is set you can drive with the steering wheel. Clearing the bit forces
the IPGDriver to steer.
• Bit 1: Enables the usage of the foot pedals, like the gas, brake and clutch pedal. Clear-
ing the bit forces the IPGDriver to act with the pedals.
• Bit 2: Activates the gear shifting with the manual gearbox from your joystick device.
• Bit 3: Activates the gear shifting with the shift paddles. Your vehicle model has to sup-
port this functionality by using an automatic gearbox. In the case that bit 2 and bit 3 are
deactivated the IPGDriver shifts.
• Bit 4: This bit stands for the activation or deactivation (toggle) of the Force-Feedback.
• Bit 5: Setting this bit indicates that the mode of gear shifting has changed in the past. It
is just a flag and has not to be configured manually.
• Bit 6 ... 15: These bits have no function currently.
• The second is to define your desired Driving mode before running the Cockpit Package
standard. Thereto you can look at Table 3.1: “Driving mode - bit mask” and see that bit
0, 1, 2 and 4 has to be activated which leads to the integer value 23.
Now you can insert the value to the entry of the Driving mode. Always when the Cockpit
Package standard starts the desired mode is automatically selected.
16