Search found 8 matches

by chang wang
Tue Nov 05, 2024 6:05 am
Forum: SCONE
Topic: access some of the states of the leg in a lua script
Replies: 8
Views: 563

Re: access some of the states of the leg in a lua script

Great, that looks correct. Please note that you can also simply use grf_test:length() and gravity():length() to the lengths of these vectors. I have another question why my calculated and analyzed windows are not equal? calcn_l = model:find_body( "calcn_l" ) foot_com = calcn_l:com_pos().x model_com...
by chang wang
Tue Nov 05, 2024 4:37 am
Forum: SCONE
Topic: access some of the states of the leg in a lua script
Replies: 8
Views: 563

Re: access some of the states of the leg in a lua script

The states are computed in the GaitStateController, so if you'd like the additional states from the Song controller then you'd have to implement the state transitions yourself. Please note that you can still use normal ReflexController instances as children of your ScriptController (just like with ...
by chang wang
Tue Nov 05, 2024 3:59 am
Forum: SCONE
Topic: access some of the states of the leg in a lua script
Replies: 8
Views: 563

Re: access some of the states of the leg in a lua script

The states are computed in the GaitStateController, so if you'd like the additional states from the Song controller then you'd have to implement the state transitions yourself. Please note that you can still use normal ReflexController instances as children of your ScriptController (just like with ...
by chang wang
Tue Nov 05, 2024 3:47 am
Forum: SCONE
Topic: access some of the states of the leg in a lua script
Replies: 8
Views: 563

Re: access some of the states of the leg in a lua script

The states are computed in the GaitStateController, so if you'd like the additional states from the Song controller then you'd have to implement the state transitions yourself. Please note that you can still use normal ReflexController instances as children of your ScriptController (just like with ...
by chang wang
Mon Nov 04, 2024 7:54 am
Forum: SCONE
Topic: access some of the states of the leg in a lua script
Replies: 8
Views: 563

access some of the states of the leg in a lua script

Hi, how can I access some of the states of the leg in a lua script, such as gait phase, load, etc.? I recently tried to implement Song's article[1] in SCONE again and found that I can't go to fully implement it according to GaitStateConreoller, so I would like to implement it using lua script, thank...
by chang wang
Tue Oct 15, 2024 4:32 am
Forum: SCONE
Topic: workspace
Replies: 2
Views: 263

Re: workspace

One more question, I want to develop some new modules based on your Reference Manual that are usable in software, for example to improve MuscleReflex, how should I do it?
by chang wang
Mon Oct 14, 2024 8:50 pm
Forum: SCONE
Topic: workspace
Replies: 2
Views: 263

workspace

Is it possible to develop such a function, similar to the matlab workspace, it allows user to see the simulation process or after the end of the simulation of some parameters, not necessarily the parameters of the controller, but also can get some user-defined parameters. Thank you.