0

I'm working on a juggling robot iiwa, and am looking to add disturbances onto the ball every now and then to see how well the controller works. Is there an easy way to add a force/disturbance (e.g. wind) onto the ball?

If it's helpful I'm making the ball using a sdf file.

BigBear
  • 188
  • 10

1 Answers1

1

MultibodyPlant has an applied_spatial_force input port to facilitate exactly this type of application. There are a number of relevant posts:

Applying an external force to an object in pydrake

Applying Propeller and Wing forces to a MultiBodyPlant in Drake

Russ Tedrake
  • 4,703
  • 1
  • 7
  • 10