Rename mjpPlugin.capabilities -> mjpPlugin.capabilityflags
PiperOrigin-RevId: 495080532 Change-Id: I81743472b816a331890a7cb05bfb7a89ebf07ff9
This commit is contained in:
committed by
Copybara-Service
parent
5c021d042b
commit
30b4309af9
@@ -28,13 +28,13 @@ typedef enum mjtPluginCapabilityBit_ {
|
||||
} mjtPluginCapabilityBit;
|
||||
|
||||
struct mjpPlugin_ {
|
||||
const char* name; // globally unique name identifying the plugin
|
||||
const char* name; // globally unique name identifying the plugin
|
||||
|
||||
int nattribute; // number of configuration attributes
|
||||
const char* const* attributes; // name of configuration attributes
|
||||
|
||||
int capabilities; // bitfield of mjtPluginCapabilityBit specifying optional plugin capabilities
|
||||
int needstage; // an mjtStage enum value specifying the sensor computation stage
|
||||
int capabilityflags; // bitfield of mjtPluginCapabilityBit specifying plugin capabilities
|
||||
int needstage; // an mjtStage enum value specifying the sensor computation stage
|
||||
|
||||
// number of mjtNums needed to store the state of a plugin instance (required)
|
||||
int (*nstate)(const mjModel* m, int instance);
|
||||
|
||||
Reference in New Issue
Block a user