This package is here to demonstrate a ros package setup that uses sphinx for documentation, unittest for python unit testing, and has a python package that is separate from its nodes.
src/me495_practices
is a python packagedoc_example.py
is an example of documentation in the codehardmath
has a function that adds two numbers
add_numbers
- Creates a service:add_two
that adds two numbers using the =hardmath= package
test/add_two_test
- Usesunittest
to perform ordinary python unit testingtest/add_two_client_test.py
- A ros node that tests the =add_numbers= serviceclient_test.test
-rostest
file to launchadd_two_client_test.py
and anadd_numbers
node
- Build Sphinx Documentation using
rosdoc_lite .
from the root directory