Backend support for real Kinova control with ft and gripper - #2
Backend support for real Kinova control with ft and gripper#2KishanSawant wants to merge 8 commits into
Conversation
|
|
||
| app-arm-includes(backend, has_arm) ::= << | ||
| <({app-arm-includes-<backend>})(has_arm)> | ||
| app-arm-includes(backend, has_arm, wrench_outputs) ::= << |
There was a problem hiding this comment.
all these changes with passing wrench_outputs as an arg to methods have to go. not a right implementation. for eg. its being passed to mujoco templates also even though not being used. and a very specific case for wrench. this should be coming from sensors.
|
|
||
| app-arm-post-setup(backend, arm_solvers, motions) ::= << | ||
| <({app-arm-post-setup-<backend>})(arm_solvers, motions)> | ||
| app-arm-start(backend, arm_solvers, fsm_namespace, fsm_step_event, fsm_step_event_idx) ::= << |
There was a problem hiding this comment.
why fsm specifics being passed??
| >> | ||
|
|
||
| app-arm-includes-mj_kdl(has_arm) ::= << | ||
| app-arm-includes-mj_kdl(has_arm, wrench_outputs) ::= << |
| ) | ||
| # ST4 treats an empty list as present in <if(...)>. Keep the automatically | ||
| # derived wrench list, but expose its empty case as null to template guards. | ||
| if not ir.get("wrench_outputs"): |
|
given we have scene graph now, we should generate kdl chain from the ktree. and use that. that will let us compose in graph. instead of this. |
|
@minhnh dont need to review this. as the codebase itself is still in dev stage. i havent finished with it and need lot of refinements. |
|
@KishanSawant you can keep this open and work on the real world experiments (u can make changes as u need). i have only had a brief look at PR. I can address all once i get back next week. |
| robot-init-robif2b-KinovaGen3(solver) ::= << | ||
| <if(solver.runtime_owner)> robif2b_kinova_gen3_nbx kinova_<solver.runtime_id>{}; | ||
| kinova_<solver.runtime_id>.conf.ip_address = "<ip-lookup.(solver.id)>"; | ||
| const char *kinova_<solver.runtime_id>_ip = std::getenv("MOTION_SPEC_KINOVA_IP"); |
There was a problem hiding this comment.
these has to come from a config file rather than env.
| \} robif2b_ft; | ||
| <endif> | ||
|
|
||
| struct robif2b_gripper_runtime { |
Summary
Adds generated real-hardware control for the Kinova Gen3 through the
robif2bbackend, with optional Robotiq FT-sensor and 2F-85 gripper communication.Changes
robif2bCMake target.MOTION_SPEC_KINOVA_IP.Robotiq devices
MOTION_SPEC_COMMUNICATION_DEVICESenv variable:arm,ft,gripper,ft,gripper, orall.arm).MOTION_SPEC_ROBOTIQ_FT_PORTMOTION_SPEC_ROBOTIQ_GRIPPER_PORTMOTION_SPEC_ROBOTIQ_FT_BIAS_SAMPLES(100by default,0disables it).MOTION_SPEC_COMMUNICATION_DEVICESonly selects devices supported by thegenerated model. Selecting
ftfor a model without a declared FT wrench does not add FT support.Model and introspection