Skip to content

Commit

Permalink
Merge pull request #17 from sonelu/CI-changes
Browse files Browse the repository at this point in the history
Move to version 0.0.9, updates to docs
  • Loading branch information
sonelu authored May 8, 2020
2 parents 2ef5c42 + f57e972 commit fab80f5
Show file tree
Hide file tree
Showing 30 changed files with 322 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
- pip install twine
- pip install --upgrade setuptools wheel
script:
- python setup.py install
- python -m twine upload dist/*.egg -u "${PYPI_USERNAME}" -p "${PYPI_PASSWORD}"
- python setup.py sdist bdist_wheel
- python -m twine upload dist/ -u "${PYPI_USERNAME}" -p "${PYPI_PASSWORD}"

script:
- coverage run -m pytest -v tests.py
Expand Down
3 changes: 2 additions & 1 deletion docs/reference/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ The following classes from ``base`` module are provided for representing various

BaseBus
FileBus
ShareableBus
ShareableFileBus

*Registers*

Expand Down Expand Up @@ -50,7 +52,6 @@ The following classes from ``base`` module are provided for representing various

BaseThread
BaseLoop
StepLoop
BaseSync
BaseReadSync
BaseWriteSync
Expand Down
4 changes: 3 additions & 1 deletion docs/reference/base/roboglia.base.BaseBus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ roboglia.base.BaseBus

.. autosummary::

~BaseBus.isOpen
~BaseBus.auto_open
~BaseBus.is_open
~BaseBus.name
~BaseBus.port
~BaseBus.robot


1 change: 1 addition & 0 deletions docs/reference/base/roboglia.base.BaseDevice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ roboglia.base.BaseDevice

.. autosummary::

~BaseDevice.auto_open
~BaseDevice.bus
~BaseDevice.dev_id
~BaseDevice.name
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/base/roboglia.base.BaseLoop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ roboglia.base.BaseLoop
~BaseLoop.name
~BaseLoop.paused
~BaseLoop.period
~BaseLoop.review
~BaseLoop.running
~BaseLoop.started
~BaseLoop.stopped
~BaseLoop.warning


2 changes: 2 additions & 0 deletions docs/reference/base/roboglia.base.BaseReadSync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ roboglia.base.BaseReadSync
~BaseReadSync.paused
~BaseReadSync.period
~BaseReadSync.registers
~BaseReadSync.review
~BaseReadSync.running
~BaseReadSync.started
~BaseReadSync.stopped
~BaseReadSync.warning


2 changes: 2 additions & 0 deletions docs/reference/base/roboglia.base.BaseSync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ roboglia.base.BaseSync
~BaseSync.paused
~BaseSync.period
~BaseSync.registers
~BaseSync.review
~BaseSync.running
~BaseSync.started
~BaseSync.stopped
~BaseSync.warning


2 changes: 2 additions & 0 deletions docs/reference/base/roboglia.base.BaseWriteSync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ roboglia.base.BaseWriteSync
~BaseWriteSync.paused
~BaseWriteSync.period
~BaseWriteSync.registers
~BaseWriteSync.review
~BaseWriteSync.running
~BaseWriteSync.started
~BaseWriteSync.stopped
~BaseWriteSync.warning


4 changes: 3 additions & 1 deletion docs/reference/base/roboglia.base.FileBus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ roboglia.base.FileBus

.. autosummary::

~FileBus.isOpen
~FileBus.auto_open
~FileBus.is_open
~FileBus.name
~FileBus.port
~FileBus.robot


1 change: 1 addition & 0 deletions docs/reference/base/roboglia.base.Joint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ roboglia.base.Joint

~Joint.activate_register
~Joint.active
~Joint.auto_activate
~Joint.desired_position
~Joint.device
~Joint.inverse
Expand Down
1 change: 1 addition & 0 deletions docs/reference/base/roboglia.base.JointPV.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ roboglia.base.JointPV

~JointPV.activate_register
~JointPV.active
~JointPV.auto_activate
~JointPV.desired_position
~JointPV.desired_velocity
~JointPV.device
Expand Down
1 change: 1 addition & 0 deletions docs/reference/base/roboglia.base.JointPVL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ roboglia.base.JointPVL

~JointPVL.activate_register
~JointPVL.active
~JointPVL.auto_activate
~JointPVL.desired_load
~JointPVL.desired_position
~JointPVL.desired_velocity
Expand Down
26 changes: 26 additions & 0 deletions docs/reference/base/roboglia.base.ShareableBus.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
roboglia.base.ShareableBus
==========================

.. currentmodule:: roboglia.base

.. autoclass:: ShareableBus


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~ShareableBus.__init__
~ShareableBus.can_use
~ShareableBus.naked_read
~ShareableBus.naked_write
~ShareableBus.stop_using






40 changes: 40 additions & 0 deletions docs/reference/base/roboglia.base.ShareableFileBus.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
roboglia.base.ShareableFileBus
==============================

.. currentmodule:: roboglia.base

.. autoclass:: ShareableFileBus


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~ShareableFileBus.__init__
~ShareableFileBus.can_use
~ShareableFileBus.close
~ShareableFileBus.naked_read
~ShareableFileBus.naked_write
~ShareableFileBus.open
~ShareableFileBus.read
~ShareableFileBus.stop_using
~ShareableFileBus.write





.. rubric:: Attributes

.. autosummary::

~ShareableFileBus.auto_open
~ShareableFileBus.is_open
~ShareableFileBus.name
~ShareableFileBus.port
~ShareableFileBus.robot


4 changes: 4 additions & 0 deletions docs/reference/dynamixel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ devices.
:toctree: dynamixel

DynamixelBus
ShareableDynamixelBus
MockPacketHandler
MockDynamixelBus

*Devices*

Expand All @@ -31,6 +34,7 @@ devices.

DynamixelAXBaudRateRegister
DynamixelAXComplianceSlopeRegister
DynamixelXLBaudRateRegister

*Syncs*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ roboglia.dynamixel.DynamixelBulkReadLoop
~DynamixelBulkReadLoop.__init__
~DynamixelBulkReadLoop.atomic
~DynamixelBulkReadLoop.pause
~DynamixelBulkReadLoop.process_devices
~DynamixelBulkReadLoop.process_registers
~DynamixelBulkReadLoop.resume
~DynamixelBulkReadLoop.run
~DynamixelBulkReadLoop.setup
Expand All @@ -31,12 +33,18 @@ roboglia.dynamixel.DynamixelBulkReadLoop

.. autosummary::

~DynamixelBulkReadLoop.auto_start
~DynamixelBulkReadLoop.bus
~DynamixelBulkReadLoop.devices
~DynamixelBulkReadLoop.frequency
~DynamixelBulkReadLoop.name
~DynamixelBulkReadLoop.paused
~DynamixelBulkReadLoop.period
~DynamixelBulkReadLoop.registers
~DynamixelBulkReadLoop.review
~DynamixelBulkReadLoop.running
~DynamixelBulkReadLoop.started
~DynamixelBulkReadLoop.stopped
~DynamixelBulkReadLoop.warning


Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ roboglia.dynamixel.DynamixelBulkWriteLoop
~DynamixelBulkWriteLoop.__init__
~DynamixelBulkWriteLoop.atomic
~DynamixelBulkWriteLoop.pause
~DynamixelBulkWriteLoop.process_devices
~DynamixelBulkWriteLoop.process_registers
~DynamixelBulkWriteLoop.resume
~DynamixelBulkWriteLoop.run
~DynamixelBulkWriteLoop.setup
Expand All @@ -31,12 +33,18 @@ roboglia.dynamixel.DynamixelBulkWriteLoop

.. autosummary::

~DynamixelBulkWriteLoop.auto_start
~DynamixelBulkWriteLoop.bus
~DynamixelBulkWriteLoop.devices
~DynamixelBulkWriteLoop.frequency
~DynamixelBulkWriteLoop.name
~DynamixelBulkWriteLoop.paused
~DynamixelBulkWriteLoop.period
~DynamixelBulkWriteLoop.registers
~DynamixelBulkWriteLoop.review
~DynamixelBulkWriteLoop.running
~DynamixelBulkWriteLoop.started
~DynamixelBulkWriteLoop.stopped
~DynamixelBulkWriteLoop.warning


9 changes: 8 additions & 1 deletion docs/reference/dynamixel/roboglia.dynamixel.DynamixelBus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ roboglia.dynamixel.DynamixelBus

~DynamixelBus.__init__
~DynamixelBus.close
~DynamixelBus.isOpen
~DynamixelBus.open
~DynamixelBus.ping
~DynamixelBus.read
~DynamixelBus.scan
~DynamixelBus.write


Expand All @@ -29,7 +29,14 @@ roboglia.dynamixel.DynamixelBus

.. autosummary::

~DynamixelBus.auto_open
~DynamixelBus.baudrate
~DynamixelBus.is_open
~DynamixelBus.name
~DynamixelBus.packet_handler
~DynamixelBus.port
~DynamixelBus.port_handler
~DynamixelBus.protocol
~DynamixelBus.robot


Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ roboglia.dynamixel.DynamixelDevice

.. autosummary::

~DynamixelDevice.auto_open
~DynamixelDevice.bus
~DynamixelDevice.dev_id
~DynamixelDevice.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,20 @@ roboglia.dynamixel.DynamixelSyncReadLoop

.. autosummary::

~DynamixelSyncReadLoop.all_length
~DynamixelSyncReadLoop.auto_start
~DynamixelSyncReadLoop.bus
~DynamixelSyncReadLoop.devices
~DynamixelSyncReadLoop.frequency
~DynamixelSyncReadLoop.name
~DynamixelSyncReadLoop.paused
~DynamixelSyncReadLoop.period
~DynamixelSyncReadLoop.registers
~DynamixelSyncReadLoop.review
~DynamixelSyncReadLoop.running
~DynamixelSyncReadLoop.start_address
~DynamixelSyncReadLoop.started
~DynamixelSyncReadLoop.stopped
~DynamixelSyncReadLoop.warning


Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,20 @@ roboglia.dynamixel.DynamixelSyncWriteLoop

.. autosummary::

~DynamixelSyncWriteLoop.all_length
~DynamixelSyncWriteLoop.auto_start
~DynamixelSyncWriteLoop.bus
~DynamixelSyncWriteLoop.devices
~DynamixelSyncWriteLoop.frequency
~DynamixelSyncWriteLoop.name
~DynamixelSyncWriteLoop.paused
~DynamixelSyncWriteLoop.period
~DynamixelSyncWriteLoop.registers
~DynamixelSyncWriteLoop.review
~DynamixelSyncWriteLoop.running
~DynamixelSyncWriteLoop.start_address
~DynamixelSyncWriteLoop.started
~DynamixelSyncWriteLoop.stopped
~DynamixelSyncWriteLoop.warning


Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
roboglia.dynamixel.DynamixelXLBaudRateRegister
==============================================

.. currentmodule:: roboglia.dynamixel

.. autoclass:: DynamixelXLBaudRateRegister


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~DynamixelXLBaudRateRegister.__init__
~DynamixelXLBaudRateRegister.read
~DynamixelXLBaudRateRegister.value_to_external
~DynamixelXLBaudRateRegister.value_to_internal
~DynamixelXLBaudRateRegister.write





.. rubric:: Attributes

.. autosummary::

~DynamixelXLBaudRateRegister.value


Loading

0 comments on commit fab80f5

Please sign in to comment.