Functions for printing the contents of mjvScene.
PiperOrigin-RevId: 812699642 Change-Id: Iafff53c952c952624129ff01a8c1b0aa5d38eec5
This commit is contained in:
committed by
Copybara-Service
parent
e1c7e19780
commit
6a7566872a
@@ -291,7 +291,7 @@ MJAPI void mj_printFormattedModel(const mjModel* m, const char* filename, const
|
||||
MJAPI void mj_printModel(const mjModel* m, const char* filename);
|
||||
|
||||
// Print mjData to text file, specifying format.
|
||||
// float_format must be a valid printf-style format string for a single float value
|
||||
// float_format must be a valid printf-style format string for a single float value.
|
||||
MJAPI void mj_printFormattedData(const mjModel* m, const mjData* d, const char* filename,
|
||||
const char* float_format);
|
||||
|
||||
@@ -309,6 +309,14 @@ MJAPI void mju_printMatSparse(const mjtNum* mat, int nr,
|
||||
MJAPI int mj_printSchema(const char* filename, char* buffer, int buffer_sz,
|
||||
int flg_html, int flg_pad);
|
||||
|
||||
// Print scene to text file.
|
||||
MJAPI void mj_printScene(const mjvScene* s, const char* filename);
|
||||
|
||||
// Print scene to text file, specifying format.
|
||||
// float_format must be a valid printf-style format string for a single float value.
|
||||
MJAPI void mj_printFormattedScene(const mjvScene* s, const char* filename,
|
||||
const char* float_format);
|
||||
|
||||
|
||||
//---------------------------------- Components ----------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user