Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

@kfunaoka is correct that there is currently no way to check which version of Autoware is _running_ but there are several ways to check which version of the Autoware source code _is checked out_. Do the following:

cd autoware_dir
git describe --tags
  • If the above command returns a valid version without anything after it like 1.11.0, then that's the version you're on.
  • If it returns a version that looks like this: 1.11.0-23-gee08fad47, then that means that you've got a commit checked out that is 23 commits past the 1.11.0 tag and the commit hash is ee08fad47 (not sure where the g comes from).
  • If the above command returns fatal: Not a git repository (or any of the parent directories): .git, then you're probably working on 1.12.0-alpha.2 or higher and you can check the version that is checked out by asking one of the source directories like this:

.

cd autoware_dir/src/autoware/common
git describe --tags

Follow the instructions above to determine what the output of this command means.

@kfunaoka is correct that there is currently no way to check which version of Autoware is _running_ running but there are several ways to check which version of the Autoware source code _is is checked out_. out. Do the following:

cd autoware_dir
git describe --tags
  • If the above command returns a valid version without anything after it like 1.11.0, then that's the version you're on.
  • If it returns a version that looks like this: 1.11.0-23-gee08fad47, then that means that you've got a commit checked out that is 23 commits past the 1.11.0 tag and the commit hash is ee08fad47 (not sure where the g comes from).
  • If the above command returns fatal: Not a git repository (or any of the parent directories): .git, then you're probably working on 1.12.0-alpha.2 or higher and you can check the version that is checked out by asking one of the source directories like this:

.

cd autoware_dir/src/autoware/common
git describe --tags

Follow the instructions above to determine what the output of this command means.