UF_MOTION_scalar_force_torque_s (view source)
 
Defined in: uf_motion_types.h
 
Also known as:
 
Overview
Data structure definition for use with both scalar forces and torques.


Data Members

name [ UF_OBJ_NAME_BUFSIZE ]
char
The name of the force or torque.
If NULL, a default name will be
created.

attach_body
tag_t
The link the force is acting on,
or the revolute joint the torque
is acting on.

origin_1
tag_t
The point that defines the location
the force is acting from. Not
needed for torque.

origin_2
tag_t
The point that defines the location
the force is acting to. Not needed
for torque.

force_function
tag_t
The function describing the force
magnitude.

torque_function
tag_t
The function describing the torque
magnitude.

reaction_link
tag_t
The optional link that receives an
equal and opposite reaction force.
If fixed to ground, this should be
NULL_TAG. Not needed for torque.