ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Is there a way to know which version of Autoware is running?

asked 2019-08-05 04:45:58 -0600

hir gravatar image

When installing multiple versions at the same time, it is useful to see the version of Autoware that you started.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-08-07 16:22:41 -0600

Josh Whitley gravatar image

updated 2019-08-07 16:23:22 -0600

@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.

edit flag offensive delete link more

Comments

thanks so much!

Stanley HU gravatar image Stanley HU  ( 2019-08-13 03:04:51 -0600 )edit
0

answered 2019-08-05 18:45:37 -0600

kfunaoka gravatar image

There is no way to check the version except for git command for now (v1.12.0). It is useful and should be :)

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-08-05 04:45:58 -0600

Seen: 1,567 times

Last updated: Aug 07 '19