Skip to content

Add support for joint passive force sensors #27

@ShravanTata

Description

@ShravanTata

Description

Currently we do not store joint passive forces. These are available in MuJoCo.

Expected Behavior

qpassive_row = physics.named.data.qfrc_passive.axes.row
    sensor_maps['qpassive2data'] = np.array([
        row2index(row=qpassive_row, name=joint_name, single=True)
        for joint_name in joints_names
    ])

Actual Behavior

What actually happened.

Steps to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Environment

  • FARMS version: [e.g. 1.2.3]
  • Python version: [e.g. 3.8.10]
  • Operating System: [e.g. Ubuntu 20.04, Windows 10, macOS 12.1]
  • Hardware: [e.g. CPU specs, GPU if relevant]

Simulation Details

  • Model type: [e.g. spinal cord, limb, full body]
  • Simulation parameters: [duration, timestep, etc.]
  • Input files: [attach if relevant]

Screenshots

If applicable, add screenshots to help explain your problem.

Additional Context

Add any other context about the problem here. Screenshots, plots, or simulation outputs can be helpful.

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