# Coding & Integration

**URL:** https://forums.ipg-automotive.com/c/coding-integration/5.md

[Latest](https://forums.ipg-automotive.com/latest.md) · [Categories](https://forums.ipg-automotive.com/categories.md) · [Tags](https://forums.ipg-automotive.com/tags.md)

---

## [About the Coding & Integration category](https://forums.ipg-automotive.com/t/about-the-coding-integration-category/11)

<div class="topic-metadata">

**Author:** [@david.barry](https://forums.ipg-automotive.com/u/david.barry)\
**Replies:** 0

</div>

A place to discuss coding & integration

---

## [Issues with OpenDRIVE file in CarMaker (broken connections & jitter)](https://forums.ipg-automotive.com/t/issues-with-opendrive-file-in-carmaker-broken-connections-jitter/2103)

<div class="topic-metadata">

**Author:** [@ShawnHuang](https://forums.ipg-automotive.com/u/ShawnHuang)\
**Replies:** 0\
**Last updated:** [14 July 2026 10:10 UTC](https://forums.ipg-automotive.com/t/issues-with-opendrive-file-in-carmaker-broken-connections-jitter/2103 "2026-07-14T10:10:35Z")

</div>

Hello, NW.xodr(two links with junction) jitter.video I am currently working on converting map data into the OpenDRIVE format. The files have successfully passed validation using both Agility3’s validator and qc‑opendr…

---

## [Integrating Physical Brake Hardware with CarMaker via Vector VT System](https://forums.ipg-automotive.com/t/integrating-physical-brake-hardware-with-carmaker-via-vector-vt-system/2098)

<div class="topic-metadata">

**Author:** [@Pedro](https://forums.ipg-automotive.com/u/Pedro)\
**Replies:** 0\
**Last updated:** [29 June 2026 14:46 UTC](https://forums.ipg-automotive.com/t/integrating-physical-brake-hardware-with-carmaker-via-vector-vt-system/2098 "2026-06-29T14:46:40Z")

</div>

We are currently working on test bench using IPG CarMaker integrated with Vector CANoe and the VT System. I am glad to report that the basic communication interface between CarMaker and the VT System is already successfu…

---

## [Co-Simulation Issue between IPG/Carmaker for Simulink with FMU](https://forums.ipg-automotive.com/t/co-simulation-issue-between-ipg-carmaker-for-simulink-with-fmu/2095)

<div class="topic-metadata">

**Author:** [@sara\_leal](https://forums.ipg-automotive.com/u/sara_leal)\
**Replies:** 0\
**Last updated:** [22 June 2026 09:27 UTC](https://forums.ipg-automotive.com/t/co-simulation-issue-between-ipg-carmaker-for-simulink-with-fmu/2095 "2026-06-22T09:27:23Z")

</div>

Hi, I am reaching out to request technical guidance regarding a critical solver/ integration issue I am encountering when replacing an external battery model via FMI into CarMaker for Simulink. Despite consulting the st…

---

## [Integrating FMU Model in CarMaker with Simulink co-simulation](https://forums.ipg-automotive.com/t/integrating-fmu-model-in-carmaker-with-simulink-co-simulation/2090)

<div class="topic-metadata">

**Author:** [@sara\_leal](https://forums.ipg-automotive.com/u/sara_leal)\
**Replies:** 0\
**Last updated:** [11 June 2026 09:34 UTC](https://forums.ipg-automotive.com/t/integrating-fmu-model-in-carmaker-with-simulink-co-simulation/2090 "2026-06-11T09:34:03Z")

</div>

Dear CarMaker Team, I am running into an issue using an FMU plug-in for the HV Battery model class together with CarMaker for Simulink, and would appreciate your guidance. I have developed a HV battery model in Simulin…

---

## [Issue building FSAI FCM](https://forums.ipg-automotive.com/t/issue-building-fsai-fcm/2067)

<div class="topic-metadata">

**Author:** [@IJordano478](https://forums.ipg-automotive.com/u/IJordano478)\
**Replies:** 6\
**Last updated:** [30 April 2026 09:28 UTC](https://forums.ipg-automotive.com/t/issue-building-fsai-fcm/2067 "2026-04-30T09:28:59Z")

</div>

As title says, I can’t perform the initial build.sh of the FS\_autonomous package. I have attached below an output of the build. There seems to be an issue finding several of the core library packages, however I don’t kno…

---

## [Custom HV Battery Model for hybrid endurance racing applications using "Simulink Plug-In"](https://forums.ipg-automotive.com/t/custom-hv-battery-model-for-hybrid-endurance-racing-applications-using-simulink-plug-in/2065)

<div class="topic-metadata">

**Author:** [@sara\_leal](https://forums.ipg-automotive.com/u/sara_leal)\
**Replies:** 0\
**Last updated:** [15 April 2026 13:06 UTC](https://forums.ipg-automotive.com/t/custom-hv-battery-model-for-hybrid-endurance-racing-applications-using-simulink-plug-in/2065 "2026-04-15T13:06:30Z")

</div>

Hello ! As part of my MSc Research Project, I am focused on developing and integrating an HV Battery Model with implemented controller techniques for hybrid endurance racing applications (LMDh) into IPG CarMaker environ…

---

## [CarMaker Office, CockpitPackage Standard](https://forums.ipg-automotive.com/t/carmaker-office-cockpitpackage-standard/2049)

<div class="topic-metadata">

**Author:** [@ht\_woo](https://forums.ipg-automotive.com/u/ht_woo)\
**Replies:** 0\
**Last updated:** [11 March 2026 22:47 UTC](https://forums.ipg-automotive.com/t/carmaker-office-cockpitpackage-standard/2049 "2026-03-11T22:47:10Z")

</div>

Hello, I am currently on CarMaker Office 14.1.1. I am currently trying to connect a generic game console controller(ps4) to test out the CockpitPackage. I have managed to configure the buttons for the pedal and steerin…

---

## [Python API Questions](https://forums.ipg-automotive.com/t/python-api-questions/2047)

<div class="topic-metadata">

**Author:** [@rbaiju151](https://forums.ipg-automotive.com/u/rbaiju151)\
**Replies:** 0\
**Last updated:** [9 March 2026 18:03 UTC](https://forums.ipg-automotive.com/t/python-api-questions/2047 "2026-03-09T18:03:37Z")

</div>

Hello all, I am part of a Formula Student team and am currently building a simulation automation tool with cmapi (Python). I apologize if these questions have already been asked and answered, but I had a few clarificatio…

---

## [Python API with CM4SL model](https://forums.ipg-automotive.com/t/python-api-with-cm4sl-model/2015)

<div class="topic-metadata">

**Author:** [@Dekka](https://forums.ipg-automotive.com/u/Dekka)\
**Replies:** 2\
**Last updated:** [2 March 2026 12:25 UTC](https://forums.ipg-automotive.com/t/python-api-with-cm4sl-model/2015 "2026-03-02T12:25:31Z")

</div>

Hello! I have a simulink model for a power train system, and I am trying to automate my simulations by using the python API provided. There is a SimControlBatchCM4SL, so I would imagine it would be possible to run this m…

---

## [Matlab automated testing](https://forums.ipg-automotive.com/t/matlab-automated-testing/2025)

<div class="topic-metadata">

**Author:** [@Gabriele](https://forums.ipg-automotive.com/u/Gabriele)\
**Replies:** 1\
**Last updated:** [4 February 2026 16:29 UTC](https://forums.ipg-automotive.com/t/matlab-automated-testing/2025 "2026-02-04T16:29:33Z")

</div>

Hello guys, I’m trying to setup a matlab script that automatically load, run and stop the CM4S simulation. After reading the ProgrammersGuide, i think that all can be done with the following few line of code: %% Init …

---

## [Carmaker-ROS interface connection issue](https://forums.ipg-automotive.com/t/carmaker-ros-interface-connection-issue/1989)

<div class="topic-metadata">

**Author:** [@Vishwam008](https://forums.ipg-automotive.com/u/Vishwam008)\
**Replies:** 0\
**Last updated:** [5 December 2025 06:28 UTC](https://forums.ipg-automotive.com/t/carmaker-ros-interface-connection-issue/1989 "2025-12-05T06:28:09Z")

</div>

I have been trying to connect to the CarMaker 14.1.1 ros API , but the standard carmaker nodes dont seem to publish anything on standard topics. \`\`\`→ run ‘source “ros/ros2\_ws/install/setup.bash”’ not found: “/home/arch…

---

## [Updating Traffic Actor using API](https://forums.ipg-automotive.com/t/updating-traffic-actor-using-api/1961)

<div class="topic-metadata">

**Author:** [@prabanjan\_KAN](https://forums.ipg-automotive.com/u/prabanjan_KAN)\
**Replies:** 1\
**Last updated:** [29 September 2025 09:51 UTC](https://forums.ipg-automotive.com/t/updating-traffic-actor-using-api/1961 "2025-09-29T09:51:04Z")

</div>

Dear IPG, Is it possible to Update the position of Traffic actors in a scenario using carmaker API? Thanks.

---

## [Need help with getting tyre angles](https://forums.ipg-automotive.com/t/need-help-with-getting-tyre-angles/1944)

<div class="topic-metadata">

**Author:** [@hjk3889](https://forums.ipg-automotive.com/u/hjk3889)\
**Replies:** 2\
**Last updated:** [11 September 2025 02:27 UTC](https://forums.ipg-automotive.com/t/need-help-with-getting-tyre-angles/1944 "2025-09-11T02:27:07Z")

</div>

Is there any way I can get tyre angles in User.c? I know that I can access the steering angle with Vehicle.Steering.Ang variable. But seems like there is no variable for tyre angles.

---

## [Inquiry on Modifying Tire Parameters via IFileModify in CarMaker](https://forums.ipg-automotive.com/t/inquiry-on-modifying-tire-parameters-via-ifilemodify-in-carmaker/1933)

<div class="topic-metadata">

**Author:** [@wsung1](https://forums.ipg-automotive.com/u/wsung1)\
**Replies:** 1\
**Last updated:** [3 September 2025 12:17 UTC](https://forums.ipg-automotive.com/t/inquiry-on-modifying-tire-parameters-via-ifilemodify-in-carmaker/1933 "2025-09-03T12:17:00Z")

</div>

Hi, all! Script Control is a tool used to create, manage, and run scripts that automate the testing process in the CarMaker simulation environment. One of its functions, IFileModify, sets the value of a specified string…

---

## [IPGDriver + Feedforward](https://forums.ipg-automotive.com/t/ipgdriver-feedforward/1926)

<div class="topic-metadata">

**Author:** [@geantae](https://forums.ipg-automotive.com/u/geantae)\
**Replies:** 0\
**Last updated:** [5 August 2025 02:48 UTC](https://forums.ipg-automotive.com/t/ipgdriver-feedforward/1926 "2025-08-05T02:48:31Z")

</div>

"I’m trying to add a steering feedforward term to the internal IPGDriver controller in the VehicleControl block in CarMaker. Is this possible?"

---

## [Batemo simulink implementation](https://forums.ipg-automotive.com/t/batemo-simulink-implementation/1890)

<div class="topic-metadata">

**Author:** [@grams](https://forums.ipg-automotive.com/u/grams)\
**Replies:** 0\
**Last updated:** [25 June 2025 15:49 UTC](https://forums.ipg-automotive.com/t/batemo-simulink-implementation/1890 "2025-06-25T15:49:02Z")

</div>

New post since the previous one was 4 years old.

---

## [Custom battery on Simulink](https://forums.ipg-automotive.com/t/custom-battery-on-simulink/89)

<div class="topic-metadata">

**Author:** [@IMSother](https://forums.ipg-automotive.com/u/IMSother)\
**Replies:** 4\
**Last updated:** [24 June 2025 15:06 UTC](https://forums.ipg-automotive.com/t/custom-battery-on-simulink/89 "2025-06-24T15:06:45Z")

</div>

Hi, I would like to use a custom battery model on my CM4SM project, but i dont know where is the right place to put it. I tried just put it on simulink and use a CM Write Dict block to replace the values from CM but that…

---

## [Reading object tag via RoadGetObjectTag() very expensive](https://forums.ipg-automotive.com/t/reading-object-tag-via-roadgetobjecttag-very-expensive/1861)

<div class="topic-metadata">

**Author:** [@vairl](https://forums.ipg-automotive.com/u/vairl)\
**Replies:** 1\
**Last updated:** [12 June 2025 16:25 UTC](https://forums.ipg-automotive.com/t/reading-object-tag-via-roadgetobjecttag-very-expensive/1861 "2025-06-12T16:25:11Z")

</div>

Hi everyone, I needed a place to store some external IDs and relate them to CarMaker objects. The solution I found was to manually store them to the object tag in scenario editor. In the C code I read it out using RoadG…

---

## [Issue with using QuantSubcribe with proc or foreach for TCL script control](https://forums.ipg-automotive.com/t/issue-with-using-quantsubcribe-with-proc-or-foreach-for-tcl-script-control/1791)

<div class="topic-metadata">

**Author:** [@David](https://forums.ipg-automotive.com/u/David)\
**Replies:** 0\
**Last updated:** [20 April 2025 09:08 UTC](https://forums.ipg-automotive.com/t/issue-with-using-quantsubcribe-with-proc-or-foreach-for-tcl-script-control/1791 "2025-04-20T09:08:44Z")

</div>

Hi, I am looking to try and automate running simulations using the script manager and TCL however I am having some issues! I am trying to run a sweep of a variable and log some quantities however when I utilise proc or …

---

## [Using cm4sl with CMRosIF](https://forums.ipg-automotive.com/t/using-cm4sl-with-cmrosif/1753)

<div class="topic-metadata">

**Author:** [@geantae](https://forums.ipg-automotive.com/u/geantae)\
**Replies:** 1\
**Last updated:** [5 April 2025 16:10 UTC](https://forums.ipg-automotive.com/t/using-cm4sl-with-cmrosif/1753 "2025-04-05T16:10:05Z")

</div>

Hi all, I am using ROS2 Humble, CarMaker 14.0, and MATLAB 2023b. I want to use CarMaker with Simulink through cm4sl while also utilizing CarMaker with CMRosIF functionality. However, I am facing many issues and have not…

---

## [How can I get the suspension spring length in C code in CarMaker?](https://forums.ipg-automotive.com/t/how-can-i-get-the-suspension-spring-length-in-c-code-in-carmaker/1738)

<div class="topic-metadata">

**Author:** [@geantae](https://forums.ipg-automotive.com/u/geantae)\
**Replies:** 4\
**Last updated:** [2 April 2025 08:36 UTC](https://forums.ipg-automotive.com/t/how-can-i-get-the-suspension-spring-length-in-c-code-in-carmaker/1738 "2025-04-02T08:36:09Z")

</div>

I want to exchange information between CarMaker and Simulink using ROS2. However, the manual does not provide C code for obtaining the spring length. How can I get the spring length shown in the image?

---

## [How to open IPGMovie automatically while running testrun using python api](https://forums.ipg-automotive.com/t/how-to-open-ipgmovie-automatically-while-running-testrun-using-python-api/1735)

<div class="topic-metadata">

**Author:** [@azzouguen](https://forums.ipg-automotive.com/u/azzouguen)\
**Replies:** 3\
**Last updated:** [25 March 2025 12:30 UTC](https://forums.ipg-automotive.com/t/how-to-open-ipgmovie-automatically-while-running-testrun-using-python-api/1735 "2025-03-25T12:30:59Z")

</div>

I’m wondering if there’s a way to open IPGMovie GUI automatically while using python api to run testrun? so that I can see what happens in the simulation scenario while the test is running?

---

## [Create New TestRun from Scratch using Python API](https://forums.ipg-automotive.com/t/create-new-testrun-from-scratch-using-python-api/1634)

<div class="topic-metadata">

**Author:** [@ravi1998](https://forums.ipg-automotive.com/u/ravi1998)\
**Replies:** 1\
**Last updated:** [17 March 2025 12:57 UTC](https://forums.ipg-automotive.com/t/create-new-testrun-from-scratch-using-python-api/1634 "2025-03-17T12:57:56Z")

</div>

Hello, I want to create a new TestRun from scratch and add ego vehicle and few traffic participants with cusstom parameters using Python API. is it possible at all? If yes, How complicated would it be ? and any example …

---

## [Movie NX, access Powertrain quantities](https://forums.ipg-automotive.com/t/movie-nx-access-powertrain-quantities/1026)

<div class="topic-metadata">

**Author:** [@Ceserik](https://forums.ipg-automotive.com/u/Ceserik)\
**Replies:** 1\
**Last updated:** [14 March 2025 14:55 UTC](https://forums.ipg-automotive.com/t/movie-nx-access-powertrain-quantities/1026 "2025-03-14T14:55:20Z")

</div>

Hello, I am a member of Formula Student team. We are using movie NX for the driver in the loop. I want to add bars showing how much torque each motor is making. I have trouble accessing the Powertrain variables from Mov…

---

## [Can CarMaker receive geometry messages and make them move in the simulation?](https://forums.ipg-automotive.com/t/can-carmaker-receive-geometry-messages-and-make-them-move-in-the-simulation/1689)

<div class="topic-metadata">

**Author:** [@geantae](https://forums.ipg-automotive.com/u/geantae)\
**Replies:** 1\
**Last updated:** [11 March 2025 12:36 UTC](https://forums.ipg-automotive.com/t/can-carmaker-receive-geometry-messages-and-make-them-move-in-the-simulation/1689 "2025-03-11T12:36:18Z")

</div>

Hello everyone! My current environment is: ROS2 Humble CarMaker 14.0 I have confirmed that the simulation works by sending Gas, Steering Angle, and Brake values from ROS to CarMaker. Now, I want to send x, y, z coor…

---

## [Sending Data via Video Interface Box](https://forums.ipg-automotive.com/t/sending-data-via-video-interface-box/1684)

<div class="topic-metadata">

**Author:** [@Abhirajrs](https://forums.ipg-automotive.com/u/Abhirajrs)\
**Replies:** 0\
**Last updated:** [2 March 2025 23:53 UTC](https://forums.ipg-automotive.com/t/sending-data-via-video-interface-box/1684 "2025-03-02T23:53:35Z")

</div>

I am trying to send camera feed data from a simulation to my Nvidia Jetson AGX Orin via Video Interface Box. I have added and mounted a camera RSI sensor in a prebuilt example of camera sensor in CarMaker-12, and have en…

---

## [Set car position during simulation](https://forums.ipg-automotive.com/t/set-car-position-during-simulation/1678)

<div class="topic-metadata">

**Author:** [@IJordano478](https://forums.ipg-automotive.com/u/IJordano478)\
**Replies:** 0\
**Last updated:** [28 February 2025 11:39 UTC](https://forums.ipg-automotive.com/t/set-car-position-during-simulation/1678 "2025-02-28T11:39:47Z")

</div>

Is it possible to set a car position mid simulation using C code? An example would be a request to reset the car to the centre of the track if it drives off. Isaac

---

## [Passing LiDAR and Camera RSI data to ROS framework over CM4SL](https://forums.ipg-automotive.com/t/passing-lidar-and-camera-rsi-data-to-ros-framework-over-cm4sl/1677)

<div class="topic-metadata">

**Author:** [@MFEdriverless](https://forums.ipg-automotive.com/u/MFEdriverless)\
**Replies:** 0\
**Last updated:** [27 February 2025 21:48 UTC](https://forums.ipg-automotive.com/t/passing-lidar-and-camera-rsi-data-to-ros-framework-over-cm4sl/1677 "2025-02-27T21:48:55Z")

</div>

Hello! We’re looking to use CM4SL to simulate an autonomous car’s perception and control pipelines. Our hope is to pass our RSI data from our CM4SL node over to the rest of our ROS2 framework using the included sensor l…

---

## [GPU-Sensors 128, 129, 130: Error: Timeout During Startup](https://forums.ipg-automotive.com/t/gpu-sensors-128-129-130-error-timeout-during-startup/1670)

<div class="topic-metadata">

**Author:** [@tylerchanner](https://forums.ipg-automotive.com/u/tylerchanner)\
**Replies:** 1\
**Last updated:** [27 February 2025 11:05 UTC](https://forums.ipg-automotive.com/t/gpu-sensors-128-129-130-error-timeout-during-startup/1670 "2025-02-27T11:05:37Z")

</div>

Hi everyone, I’m encountering the following error when launching CarMaker Office: GPU-Sensors 128, 129, 130: Error: Timeout during startup System Setup: OS: Ubuntu 22.04.6 GPU: NVIDIA GTX 1650 Mobile CUDA Version: 1…

[Next page](https://forums.ipg-automotive.com/c/coding-integration/5.md?page=1)
