user_invdyn.py 1.57 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# -*- coding: utf-8 -*-
"""Module for the definition of user functions related to inverse dynamic analysis."""
# Author: Robotran Team
# (c) Universite catholique de Louvain, 2021


def user_invdyn_init(mbs_data, mbs_invdyn):
    """Run specific operation required by the user before running inverse dynamic.

    Parameters
    ----------
    mbs_data : MBsysPy.MbsData
        The instance containing the multibody project.
    mbs_invdyn : MBsysPy.MbsInvdyn
        The instance of the current inverse dynamic process.

    Returns
    -------
    None.

    """
    print("user_invdyn_init (Template) : This function should not be called")

    return


def user_invdyn_loop(mbs_data, mbs_invdyn):
    """Run specific operation required by the user at the end of step.

    Parameters
    ----------
    mbs_data : MBsysPy.MbsData
        The instance containing the multibody project.
    mbs_invdyn : MBsysPy.MbsDirdyn
        The instance of the current inverse dynamic process.

    Returns
    -------
    None.
    """
    print("user_invdyn_loop(Template) : This function should not be called")

    return


def user_invdyn_finish(mbs_data, mbs_invdyn):
    """Run specific operations required by the user when inverse dynamic analysis ends.

    Parameters
    ----------
    mbs_data : MBsysPy.MbsData
        The instance containing the multibody project.
    mbs_invdyn : MBsysPy.MbsDirdyn
        The instance of the current inverse dynamic process.

    Returns
    -------
    None.

    """
    print("user_invdyn_finish (Template) : This function should not be called")

    return