Package Summary

Tags No category tags.
Version 0.1.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/ros1_template.git
VCS Type git
VCS Version master
Last Updated 2017-08-31
Dev Status MAINTAINED
Released UNRELEASED

Package Description

C++ project template with ROS logging following good practices

Additional Links

Maintainers

  • Alexander Reimann

Authors

  • Alexander Reimann

ROS1 CPP Template

This package is a template to be used as a reference when creating c++ libraries (and applications if wanted) to be used in a ROS package. The main part of the implementation should go into this package and be independent from ROS.

The only packge dependencies are on the roslint for checking the coding style (build dependency only) and rosconsole to have a uniform way for logging. In this package we are following http://wiki.ros.org/BestPractices as much as possible, where it makes sense.

Usage

  • Create a catkin_workspace ( Ref : http://wiki.ros.org/catkin/Tutorials/create_a_workspace )
  • Add this ros1_cpptemplate package into src/ of the workspace (and maybe more like beginner_tutorials)
  • Build the workspace (Ref : http://wiki.ros.org/catkin/Tutorials/using_a_workspace)
  • Source the devel workspace::

    $ source devel/setup.bash

  • run the tests of this package::

    $ catkin run_tests ros1_cpptemplate

  • run all the tests::

    $ catkin run_tests

  • launch the demo application::

    $ ./devel/lib/ros1_cpptemplate/multithread_fibonacci

  • install that workspace::

    $ make install

  • source the install workspace::

    $ source install/setup.bash

CHANGELOG

Changelog for package ros1_cpptemplate

Forthcoming

  • Merge pull request #10 from pyros-dev/cpp Add cpp template packages
  • Make max. reconfigurable
  • Fix linter errors
  • Header install rule
  • Remove dependency on rostest as it is not used
  • Add log prefixes
  • Update README
  • Add ros1_cpptemplate README
  • Remove class name from log, because should be supplied by logger
  • Remove wrong comment
  • Update package description
  • Replace std::cout with ROS loggers
  • ros1_cpptemplate package
  • Contributors: AlexReimann, Alexander Reimann

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros1_cpptemplate at answers.ros.org

Package Summary

Tags No category tags.
Version 0.1.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/pyros-dev/ros1_template.git
VCS Type git
VCS Version master
Last Updated 2017-08-31
Dev Status MAINTAINED
Released UNRELEASED

Package Description

C++ project template with ROS logging following good practices

Additional Links

Maintainers

  • Alexander Reimann

Authors

  • Alexander Reimann

ROS1 CPP Template

This package is a template to be used as a reference when creating c++ libraries (and applications if wanted) to be used in a ROS package. The main part of the implementation should go into this package and be independent from ROS.

The only packge dependencies are on the roslint for checking the coding style (build dependency only) and rosconsole to have a uniform way for logging. In this package we are following http://wiki.ros.org/BestPractices as much as possible, where it makes sense.

Usage

  • Create a catkin_workspace ( Ref : http://wiki.ros.org/catkin/Tutorials/create_a_workspace )
  • Add this ros1_cpptemplate package into src/ of the workspace (and maybe more like beginner_tutorials)
  • Build the workspace (Ref : http://wiki.ros.org/catkin/Tutorials/using_a_workspace)
  • Source the devel workspace::

    $ source devel/setup.bash

  • run the tests of this package::

    $ catkin run_tests ros1_cpptemplate

  • run all the tests::

    $ catkin run_tests

  • launch the demo application::

    $ ./devel/lib/ros1_cpptemplate/multithread_fibonacci

  • install that workspace::

    $ make install

  • source the install workspace::

    $ source install/setup.bash

CHANGELOG

Changelog for package ros1_cpptemplate

Forthcoming

  • Merge pull request #10 from pyros-dev/cpp Add cpp template packages
  • Make max. reconfigurable
  • Fix linter errors
  • Header install rule
  • Remove dependency on rostest as it is not used
  • Add log prefixes
  • Update README
  • Add ros1_cpptemplate README
  • Remove class name from log, because should be supplied by logger
  • Remove wrong comment
  • Update package description
  • Replace std::cout with ROS loggers
  • ros1_cpptemplate package
  • Contributors: AlexReimann, Alexander Reimann

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros1_cpptemplate at answers.ros.org