I’m having issues generating cones onto a custom track for using the given generate_cones.tcl script for CarMaker 13.0.1. I load my pregenerated track ‘Isaac_silverstone’; a single lane track with a route (route_0) going through, select the car (FS_Autonomous), and then save this as a new TestRun.
I then load up the Script Control and run the generate_cones.tcl script, which starts and finishes without error. When I open the Scenario/Road editor, there are no cones on track, but instead over 300 traffic object templates are stacked over each other at the origin with the various cone colours that should have been spread over the track.
Hello,
We have recently found out that the cone generation script is no longer working properly in CarMaker 13. We will release a newer version of the FSAI package with multiple fixes soon, including a fix to this script.
That being said, I have no issue sharing the fixed script with you now. It will be a good test to check if it’s working properly before it gets released again.
generate_cones.7z (1.3 KB)
Hi Bogomil,
Unfortunately still getting issues:
Hello,
The script expects you to have the current track saved as an external .rd5 Road file. There are two ways to define your road in CarMaker, one is to save it directly in the TestRun, and the other way is to save it as an external file.
You can access that by holding the “Save As” button in Scenario Editor and choosing “Save to road file as…”
Once this is done, save your test run afterwards as well, then it will store the reference to the external rd5 file, and the cone script should work.
Hi Bogomil, I followed the steps you provided and can confirm the track generation worked for my existing track, and 2 newly generated ones. Thanks for the support!