Gazebo | Ignition | Community
Ask Your Question
0

The transition/difference between Citadel and Fortess

asked 2021-10-14 14:08:44 -0600

kakcalu13 gravatar image

Hi there!

I wanted to test my current file on Fortress but it seems that there's few ign syntax are not supported on Fortress from Citadel.

image description

Is there any doc about this?

edit retag flag offensive close merge delete

Comments

could you please include the whole SDF file? thanks!

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2021-10-14 16:49:38 -0600 )edit

Absolutely!!! Here

THank you so much!

kakcalu13 gravatar imagekakcalu13 ( 2021-10-14 16:57:44 -0600 )edit
1

Perfect. I added some instructions to my answer to check SDFormat spec. Not difficult to solve your problem I think.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2021-10-14 17:14:23 -0600 )edit

Nice! Thank you so much for your time!

kakcalu13 gravatar imagekakcalu13 ( 2021-10-14 17:15:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-10-14 16:52:45 -0600

Jose Luis Rivero gravatar image

updated 2021-10-14 17:13:49 -0600

Main change probably affecting you is the update from sdformat9 to sdformat12 which, indeed, has some improvements that generates some incompatibilities. SDFormat has its own migration guide. I sometimes found useful to run ign sdf --check (ignition-tools package) to get some hints about what's going on.

Another useful resource is the SDFormat spec. In your case http://sdformat.org/spec?ver=1.8&elem... says that ambient should in range 0,1 and you are using 2.0 in your file. This is not the only problem but the rest can be fixed using error output and spec.

Good luck!

edit flag offensive delete link more

Comments

Ah, gotcha! I'm going to try that one out!

Does it need for me to have both versions?

kakcalu13 gravatar imagekakcalu13 ( 2021-10-14 16:58:22 -0600 )edit
1

There is a nice option in "ign sdf check --versions" that should tell you which versions are found in the system and "ign sdf --force-version <version>" to make the tool to use different versions and compare results. In your case I would run against both, 9.x and 12.x, but look for the output in 12.x to see if it helps. Good luck.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2021-10-14 17:06:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-10-14 14:08:44 -0600

Seen: 308 times

Last updated: Oct 14 '21