diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml new file mode 100644 index 0000000..4f89199 --- /dev/null +++ b/.github/workflows/unittests.yml @@ -0,0 +1,41 @@ +name: unit-tests + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-16.04 + + strategy: + max-parallel: 5 + matrix: + python-version: [2.7, 3.6, 3.7, 3.8, 3.9] + + steps: + - name: Checkout qiBullet Github repository + uses: actions/checkout@v2 + with: + lfs: true + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + architecture: 'x64' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install numpy --upgrade + pip install pybullet + pip install codecov + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: Install qiBullet + run: python setup.py develop --agree-license + - name: Tests + run: | + cd tests + coverage run test_launcher.py + - name: Coverage + run: | + cd tests + codecov \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b90d203..0000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -notifications: - email: - if: branch = master - -os : - - linux - -dist: - - xenial - -language: python - -python: - - "2.7" - - "3.5" - - "3.6" - - "3.7" - - "3.8" - -install: - - "pip install pybullet" - - "pip install numpy --upgrade" - - "pip install codecov" - - "python setup.py develop --agree-license" - -script: - - cd tests - - coverage run test_launcher.py - -after_success: - - codecov \ No newline at end of file diff --git a/README.md b/README.md index a27ebd6..18ae49b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# qiBullet [![Build Status](https://api.travis-ci.org/softbankrobotics-research/qibullet.svg?branch=master)](https://travis-ci.org/softbankrobotics-research/qibullet) [![codecov](https://codecov.io/gh/softbankrobotics-research/qibullet/branch/master/graph/badge.svg)](https://codecov.io/gh/softbankrobotics-research/qibullet) [![pypi](https://img.shields.io/pypi/v/qibullet.svg)](https://pypi.org/project/qibullet/) [![Downloads](https://pepy.tech/badge/qibullet)](https://pepy.tech/project/qibullet) [![Gitter chat](https://badges.gitter.im/qibullet.png)](https://gitter.im/qibullet "Gitter chat") +# qiBullet [![unit-tests](https://github.com/softbankrobotics-research/qibullet/workflows/unit-tests/badge.svg?branch=master)](https://github.com/softbankrobotics-research/qibullet/actions?query=workflow%3Aunit-tests) [![codecov](https://codecov.io/gh/softbankrobotics-research/qibullet/branch/master/graph/badge.svg)](https://codecov.io/gh/softbankrobotics-research/qibullet) [![pypi](https://img.shields.io/pypi/v/qibullet.svg)](https://pypi.org/project/qibullet/) [![Downloads](https://pepy.tech/badge/qibullet)](https://pepy.tech/project/qibullet) [![Gitter chat](https://badges.gitter.im/qibullet.png)](https://gitter.im/qibullet "Gitter chat") __Bullet-based__ python simulation for __SoftBank Robotics'__ robots. diff --git a/docs/Doxyfile b/docs/Doxyfile index a03415a..953127e 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "qiBullet" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.4.2 +PROJECT_NUMBER = 1.4.3 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/docs/api/annotated.html b/docs/api/annotated.html index 8dc59fd..708f894 100644 --- a/docs/api/annotated.html +++ b/docs/api/annotated.html @@ -24,7 +24,7 @@
qiBullet -  1.4.2 +  1.4.3
Bullet-based python simulation for SoftBank Robotics' robots.
@@ -100,36 +100,44 @@  CCameraRgb  Ncontroller  CController - Njoint - CJoint - Nlaser - CLaser - Nlink - CLink - Nnao_virtual - CNaoVirtual - Npepper_virtual - CPepperVirtual - Nrobot_module - CRobotModule - Nrobot_posture - CNaoPosture - CPepperPosture - CRobotPosture - CRomeoPosture - Nrobot_virtual - CRobotVirtual - Nromeo_virtual - CRomeoVirtual - Nros_wrapper - CNaoRosWrapper - CPepperRosWrapper - CRomeoRosWrapper - CRosWrapper - Nsensor - CSensor - Nsimulation_manager - CSimulationManager + Nfsr + CFsr + CFsrHandler + CNaoFsr + Nhelpers + CGravityHelper + Nimu + CImu + Njoint + CJoint + Nlaser + CLaser + Nlink + CLink + Nnao_virtual + CNaoVirtual + Npepper_virtual + CPepperVirtual + Nrobot_module + CRobotModule + Nrobot_posture + CNaoPosture + CPepperPosture + CRobotPosture + CRomeoPosture + Nrobot_virtual + CRobotVirtual + Nromeo_virtual + CRomeoVirtual + Nros_wrapper + CNaoRosWrapper + CPepperRosWrapper + CRomeoRosWrapper + CRosWrapper + Nsensor + CSensor + Nsimulation_manager + CSimulationManager diff --git a/docs/api/classes.html b/docs/api/classes.html index 974fb7e..5357d21 100644 --- a/docs/api/classes.html +++ b/docs/api/classes.html @@ -24,7 +24,7 @@
qiBullet -  1.4.2 +  1.4.3
Bullet-based python simulation for SoftBank Robotics' robots.
@@ -87,30 +87,35 @@
Class Index
-
B | C | J | L | N | P | R | S
+
B | C | F | G | I | J | L | N | P | R | S
- - + + + - - - - - + + + + + + + + - +
  B  
-
Controller (qibullet.controller)   NaoRosWrapper (qibullet.ros_wrapper)   RobotPosture (qibullet.robot_posture)   SimulationManager (qibullet.simulation_manager)   
  J  
-
NaoVirtual (qibullet.nao_virtual)   RobotVirtual (qibullet.robot_virtual)   
BaseController (qibullet.base_controller)   
  P  
-
RomeoPosture (qibullet.robot_posture)   
FsrHandler (qibullet.fsr)   Link (qibullet.link)   PepperRosWrapper (qibullet.ros_wrapper)   
  S  
+
  G  
+
  N  
+
PepperVirtual (qibullet.pepper_virtual)   
BaseController (qibullet.base_controller)   
  R  
+
Sensor (qibullet.sensor)   
  C  
-
Joint (qibullet.joint)   RomeoRosWrapper (qibullet.ros_wrapper)   
  L  
-
PepperBaseController (qibullet.base_controller)   RomeoVirtual (qibullet.romeo_virtual)   
Camera (qibullet.camera)   PepperPosture (qibullet.robot_posture)   RosWrapper (qibullet.ros_wrapper)   
CameraDepth (qibullet.camera)   Laser (qibullet.laser)   PepperRosWrapper (qibullet.ros_wrapper)   
  S  
-
CameraResolution (qibullet.camera)   Link (qibullet.link)   PepperVirtual (qibullet.pepper_virtual)   
CameraRgb (qibullet.camera)   
  N  
-
  R  
-
Sensor (qibullet.sensor)   
GravityHelper (qibullet.helpers)   NaoFsr (qibullet.fsr)   SimulationManager (qibullet.simulation_manager)   
  I  
+
NaoPosture (qibullet.robot_posture)   RobotModule (qibullet.robot_module)   
Camera (qibullet.camera)   NaoRosWrapper (qibullet.ros_wrapper)   RobotPosture (qibullet.robot_posture)   
CameraDepth (qibullet.camera)   Imu (qibullet.imu)   NaoVirtual (qibullet.nao_virtual)   RobotVirtual (qibullet.robot_virtual)   
CameraResolution (qibullet.camera)   
  J  
+
  P  
+
RomeoPosture (qibullet.robot_posture)   
CameraRgb (qibullet.camera)   RomeoRosWrapper (qibullet.ros_wrapper)   
Controller (qibullet.controller)   Joint (qibullet.joint)   PepperBaseController (qibullet.base_controller)   RomeoVirtual (qibullet.romeo_virtual)   
  F  
+
  L  
+
PepperPosture (qibullet.robot_posture)   RosWrapper (qibullet.ros_wrapper)   
NaoPosture (qibullet.robot_posture)   RobotModule (qibullet.robot_module)   
Fsr (qibullet.fsr)   Laser (qibullet.laser)   
-
B | C | J | L | N | P | R | S
+
B | C | F | G | I | J | L | N | P | R | S