Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wolfgang Merkt
example-robot-data
Commits
9f92ecdf
Commit
9f92ecdf
authored
Aug 28, 2019
by
Guilhem Saurel
Browse files
[Format] fix linters
parent
5f251809
Changes
3
Hide whitespace changes
Inline
Side-by-side
example_robot_data/robots_loader.py
View file @
9f92ecdf
...
@@ -70,6 +70,7 @@ def loadTalos():
...
@@ -70,6 +70,7 @@ def loadTalos():
addFreeFlyerJointLimits
(
robot
)
addFreeFlyerJointLimits
(
robot
)
return
robot
return
robot
def
loadTalosLegs
():
def
loadTalosLegs
():
robot
=
loadTalos
()
robot
=
loadTalos
()
URDF_FILENAME
=
"talos_reduced.urdf"
URDF_FILENAME
=
"talos_reduced.urdf"
...
...
setup.cfg
View file @
9f92ecdf
[flake8]
[flake8]
max-line-length = 119
max-line-length = 119
exclude =
python
/__init__.py
exclude =
example_robot_data
/__init__.py
[yapf]
[yapf]
column_limit = 119
column_limit = 119
...
...
unittest/test_load.py
View file @
9f92ecdf
...
@@ -38,11 +38,13 @@ class TalosTest(RobotTestCase):
...
@@ -38,11 +38,13 @@ class TalosTest(RobotTestCase):
RobotTestCase
.
NQ
=
39
RobotTestCase
.
NQ
=
39
RobotTestCase
.
NV
=
38
RobotTestCase
.
NV
=
38
class
TalosLegsTest
(
RobotTestCase
):
class
TalosLegsTest
(
RobotTestCase
):
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadTalosLegs
()
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadTalosLegs
()
RobotTestCase
.
NQ
=
19
RobotTestCase
.
NQ
=
19
RobotTestCase
.
NV
=
18
RobotTestCase
.
NV
=
18
class
HyQTest
(
RobotTestCase
):
class
HyQTest
(
RobotTestCase
):
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadHyQ
()
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadHyQ
()
RobotTestCase
.
NQ
=
19
RobotTestCase
.
NQ
=
19
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment