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

Where can I find the list of verbs for catkin?

asked 2020-11-23 03:26:57 -0500

Rufus gravatar image

The official list of verbs for catkin as obtained from catkin -h is

  [build | clean | config | create | env | init | list | locate | profile]

I stumbled upon a few additional verbs:

  • run-tests : Builds and runs the tests
  • test: Runs and prints the test results (I think)

I'm guessing these aren't the full list of catkin verbs available. Where can I find all available verbs?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-11-23 05:31:37 -0500

gvdhoorn gravatar image

The "additional verbs" you mention are actually not verbs. They are aliases.

From the catkin_tools documentation (here):

The catkin command allows you to define your own verb “aliases” which expand to more complex expressions including built-in verbs, command-line options, and other verb aliases. These are processed before any other command-line processing takes place, and can be useful for making certain use patterns more convenient.

On my system, running catkin --list-aliases returns:

b: build
bt: b --this
install: config --install
ls: list
p: create pkg
run_tests: build --verbose --catkin-make-args run_tests --
test: build --verbose --make-args test --

Note the last two lines, which are the aliases you mention.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2020-11-23 03:26:57 -0500

Seen: 122 times

Last updated: Nov 23 '20