Skip to main content

Tools for the HPP project

Project description

hpp-tools

This package contains some convenient command line tool for hpp. Current tools are:

  • hppcd
  • hpplog
  • hppmake
  • change_develconfig
  • recursivegit
  • wgit
  • gdbvim
  • hppautorestart
  • a gdb command to visualize configuration (See GDB Command)

Dependencies

For gdbvim command, you must install the vim plugin pyclewn.

Installation

First, the classic procedure:

$ mkdir build && cd build
$ cmake ..
$ make install

You need to source the file ${CMAKE_INSTALL_PREFIX}/etc/hpp-tools/bashrc. If you use the installation procedure described in HPP, you can simply add this line to ${DEVEL_HPP_DIR}/config.sh:

[ -f "${INSTALL_HPP_DIR}/etc/hpp-tools/bashrc" ] && source "${INSTALL_HPP_DIR}/etc/hpp-tools/bashrc"

# If you use ROS, you may want to add so that catkin works fine with hppcd
export ROS_LANG_DISABLE=genlisp:geneus:gennodejs

Optionally, you can use make target hppcd-defaults to install some link for HPP software:

$ make hppcd-defaults

Usage

  • addhppcd [<dir> [<alias>]] adds a folder to hppcd
  • hppcd <alias> goes the folder linked to 'alias'. It is compliant with cd -.
  • hpplog [binary-name] automatically tails the logs of the running hpp server. If no hpp server is running, it waits. The argument is the name of the binary file writting the logs. It defaults to hppcorbaserver.
  • hppmake --make-args "-s -j4" --debug hpp-core --release hpp-corbaserver will build, in order, hpp-core (resp. hpp-corbaserver) in debug mode (resp. in release mode).
  • filterhppoutput compresses hpp-util output. Use it like this: hpplog | filterhppoutput.
  • gdbvim [file-or-command]

hppautorestart

  • hppautorestart <command> This automatically restarts the command when it crashes or when you enter hpprestart in another terminal.
  • hpprestart This restarts all the command that have been launched using hppautorestart.

git helpers

First, here is a list of interesting git alias (Use git config --global alias.<aliasname> <alias-command>):

  • condensed pretty logs: log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all

  • expanded pretty logs: log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all

  • recursivegit [git-command] applies a git command on all subdirectories that are git repositories. To know the general state of your source repository: recursivegit status --short --branch. For fetching all repository: recursivegit fetch --all...

  • wgit simply combines command watch and git. Try it with one of the alias log command above !

GDB Command

The command forward-geometry enables you to display configuration directly in a viewer (gepetto-viewer or hpp-gui). The requirement for this command to work are the following:

  • compile gdb with python 2.7 support (and not python 3.4). You may skip this if you already have the good support. GDB 7.7.1 is by default compile with python 3.4
    • download the source: run cd /local/src && apt-get source gdb in a folder (I recommend /local/src/)
    • configure and install: cd /local/src/gdb-7.7.1, ./configure --prefix=/local --with-python=python2.7 and sudo make install
    • make sure the binary is available: which gdb should give you the path to the installed executable
  • add the following lines to ~/.gdbinit:
python
import os
gdb.execute ("directory " + os.environ["DEVEL_HPP_DIR"] + "/install/etc/gdb/")
end
source gdbinit

# If you do not use the DEVEL_HPP_DIR environment variable, then use this instead.
# source ${CMAKE_INSTALL_PREFIX}/install/etc/gdb/gdbinit
  • run help forward-geometry in the gdb cli.

### Log highlighter

Copy highlight/log.lang to ~/.highlight/langDefs/log.lang

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hpp_tools-9.0.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

hpp_tools-9.0.0-2-py314-none-any.whl (48.2 kB view details)

Uploaded Python 3.14

hpp_tools-9.0.0-2-py313-none-any.whl (48.2 kB view details)

Uploaded Python 3.13

hpp_tools-9.0.0-2-py312-none-any.whl (48.2 kB view details)

Uploaded Python 3.12

hpp_tools-9.0.0-2-py311-none-any.whl (48.2 kB view details)

Uploaded Python 3.11

hpp_tools-9.0.0-2-py310-none-any.whl (48.2 kB view details)

Uploaded Python 3.10

hpp_tools-9.0.0-1-py3-none-manylinux_2_28_x86_64.whl (48.2 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

hpp_tools-9.0.0-1-py3-none-manylinux_2_28_aarch64.whl (48.2 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

hpp_tools-9.0.0-1-py3-none-macosx_11_0_arm64.whl (48.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

hpp_tools-9.0.0-1-py3-none-macosx_10_9_x86_64.whl (48.5 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file hpp_tools-9.0.0.tar.gz.

File metadata

  • Download URL: hpp_tools-9.0.0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hpp_tools-9.0.0.tar.gz
Algorithm Hash digest
SHA256 f3fa6376eddb1590f1fda3679410bda92bf271494a06aa1e0726490524a428a4
MD5 fcd0833ccf133815c0095a2ae13984c6
BLAKE2b-256 14bd95d2d615d9dfae5a5f1b0fe394466b5fab9f597ece8a545a4b3b6864a197

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0.tar.gz:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-2-py314-none-any.whl.

File metadata

  • Download URL: hpp_tools-9.0.0-2-py314-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3.14
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hpp_tools-9.0.0-2-py314-none-any.whl
Algorithm Hash digest
SHA256 1cf5592f81e4cbc98dd63156cf25b39044c615de1e6d15604c772328bbb2c002
MD5 fee866cb91aede1ec81b200e4bfd359c
BLAKE2b-256 c36372bdb39aedc3255e5468078c1d7d31fb57bf7a285e2adcb451b315d00b37

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-2-py314-none-any.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-2-py313-none-any.whl.

File metadata

  • Download URL: hpp_tools-9.0.0-2-py313-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3.13
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hpp_tools-9.0.0-2-py313-none-any.whl
Algorithm Hash digest
SHA256 3d18102650032393ca5f905bf8904af2b1dc0e79bbde727d299616687047b875
MD5 5143c126a0c38a9975d830090552c198
BLAKE2b-256 9094cc14b4cd377ab909bb494e3f240218e6502badc145afc770c43129a2fc96

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-2-py313-none-any.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-2-py312-none-any.whl.

File metadata

  • Download URL: hpp_tools-9.0.0-2-py312-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3.12
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hpp_tools-9.0.0-2-py312-none-any.whl
Algorithm Hash digest
SHA256 72aa77b5fa492899cb80a0bbbdc0e53d01846acea9612f4522b0c6258ad9e457
MD5 a8b2dbb9f021f00112f3450fbf895e37
BLAKE2b-256 94ad5910db4201e9ea7ab8d084fe905976be32c44749c36ad6ad36c76a42ef09

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-2-py312-none-any.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-2-py311-none-any.whl.

File metadata

  • Download URL: hpp_tools-9.0.0-2-py311-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3.11
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hpp_tools-9.0.0-2-py311-none-any.whl
Algorithm Hash digest
SHA256 470cf8f64014d896a959252a7615b19a26304c0c64cbdb12c103a4157ba07763
MD5 df309e999fde6db0f970edc59a4db030
BLAKE2b-256 1d90383641d51116913b27a8d88090403a4c69927dcb683256ef275fd38ebf91

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-2-py311-none-any.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-2-py310-none-any.whl.

File metadata

  • Download URL: hpp_tools-9.0.0-2-py310-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3.10
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hpp_tools-9.0.0-2-py310-none-any.whl
Algorithm Hash digest
SHA256 febe3c1259fb617c517eefd6cad0582be4aad54f78f55431838247145976c45b
MD5 3a3fd32a215f47d54040203e94fb1370
BLAKE2b-256 0f95c3f2a2c8122be5061c1fc84f95eafbd3da41033e3c813af8db6730d4fd28

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-2-py310-none-any.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-1-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hpp_tools-9.0.0-1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 42c5c81d92e53ce7d7fb2d9cf97e3b684b8ceb3e32e3846d57027fb1c7388ac2
MD5 e5c46dda5c0b3464bc6e7a0c9ca8e09c
BLAKE2b-256 3981627a2bd15129a7ef347db148a90e97e0e64febe70617ed4d5dbe2b06eb12

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-1-py3-none-manylinux_2_28_x86_64.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-1-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hpp_tools-9.0.0-1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d166cad3f154e99f7c7b2ff447e94ddcba9a1857945812ab1a7d7ed8f830007
MD5 fda77a7fcc9a98388a5c6986673a3cd5
BLAKE2b-256 2b0955218b52fdbf23c2a99870b5d04c68f81a31541b03f7d7e2787424cc3508

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-1-py3-none-manylinux_2_28_aarch64.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hpp_tools-9.0.0-1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ab48d87589b93f7170582b52efa6bb7115db0021427b99bb999bdc07d9de95b1
MD5 d4f6f2432a5bdcad6d6fdcca8f5a9d64
BLAKE2b-256 50a1ca7cc8938fd32875028c71e0989e6fde4311c3a846d5c2b3943e709b3e17

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-1-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hpp_tools-9.0.0-1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for hpp_tools-9.0.0-1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 16b5ee64dd15c060fd33c5965da25f699c741cae2e3ebf26220d53d643aa16f8
MD5 42c4084edbeb13a040bb6c76a971f7b6
BLAKE2b-256 5b529eb0533e38e5f612267dbf6496cbc7fbaafb86d9037f8421e9d5b18a45ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for hpp_tools-9.0.0-1-py3-none-macosx_10_9_x86_64.whl:

Publisher: release.yml on cmake-wheel/hpp-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page