Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Clarification: Dynamic Values in RigidSolver Class (link_state, dof_state, geom_state) #539

Open
pjw971022 opened this issue Jan 11, 2025 · 0 comments

Comments

@pjw971022
Copy link

pjw971022 commented Jan 11, 2025

Hi,
I'm curious about the meaning of various dynamic values being updated in the link_state, dof_state, and geom_state within the RigidSolver class. Specifically, I'd like to understand what each value represents in the following struct:

struct_link_state = ti.types.struct(
    cinr_inertial=gs.ti_mat3,    
    cinr_pos=gs.ti_vec3,        
    cinr_quat=gs.ti_vec4,       
    cinr_mass=gs.ti_float,       
    crb_inertial=gs.ti_mat3,     
    crb_pos=gs.ti_vec3,          
    crb_quat=gs.ti_vec4,         
    crb_mass=gs.ti_float,        
    cdd_vel=gs.ti_vec3,         
    cdd_ang=gs.ti_vec3,          
    pos=gs.ti_vec3,              
    quat=gs.ti_vec4,             
    ang=gs.ti_vec3,              
    vel=gs.ti_vec3,              
    i_pos=gs.ti_vec3,         
    i_quat=gs.ti_vec4,          
    j_pos=gs.ti_vec3,        
    j_quat=gs.ti_vec4,         
    j_vel=gs.ti_vec3,            
    j_ang=gs.ti_vec3,           
    cd_ang=gs.ti_vec3,     
    cd_vel=gs.ti_vec3,     
    root_COM=gs.ti_vec3,       
    mass_sum=gs.ti_float,       
    COM=gs.ti_vec3,              
    mass_shift=gs.ti_float,      
    i_pos_shift=gs.ti_vec3,      
    cfrc_flat_ang=gs.ti_vec3,    
    cfrc_flat_vel=gs.ti_vec3,    
    cfrc_ext_ang=gs.ti_vec3,     
    cfrc_ext_vel=gs.ti_vec3,    
    contact_force=gs.ti_vec3,   
    hibernated=gs.ti_int,        
)

Could you please explain the purpose and meaning of each of these dynamic values?

Thank you,
Jinwoo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant