Skip to content

Examples from /sofiaLeg/sofiaComplete/ are broken #139

@epernod

Description

@epernod

To clean the ci I tried to fix the scenes below but didn't succeed:

  • softRobots/sofiaLeg/sofiaComplete/sofiaSixLegs.py
  • softRobots/sofiaLeg/sofiaComplete/DemoSofia.py (which in fact is just using sofiaSixLegs.py)

I already fixed several issues in #138 but there was still some problem, which required more knowledge of the modelling of that robot.
Especially regarding the call of:

leg , myController =    addSofia(sofia,
                                        name=name+str(i),
                                        rotation=rotation,
                                        translation=legPosition[i],
                                        scale=scale,
                                        surfaceColor=[0.0, 0.0, 1, 0.5],
                                        controller=actuatorArg[i],
                                        surfaceMeshFileName=surfaceMeshFileName)

refering to either SofiaLeg or Reduced_SofiaLeg which seems to have change (not the same parameters and returns)


As soon as those scene are fixed, they can be restore on the ci tests by removing the lines:

ignore "softRobots/sofiaLeg/sofiaComplete/sofiaSixLegs.py" # TODO fix: many errors in the scripts, methods signature changed, SOFA scene using old SofaPython API
ignore "softRobots/sofiaLeg/sofiaComplete/DemoSofia.py" # TODO fix: depends on sofiaSixLegs.py . Should be fixed if sofiaSixLegs.py is working

in https://github.com/SofaDefrost/ModelOrderReduction/blob/master/examples/.scene-tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions