Changing BeamAdapter controls from keyboard to a PC controller #4815
-
Hello, I'm working on a project to have external control over the BeamAdapter simulation. I want the Interventional radiology controls to be controlled with a PC/videogame controller. Right now, my approach is to modify the files in the controller file. Mainly InterventionalRadiologyController.inl and BeamAdapterActionController.inl where the control keys for the simulation are set. But editing these files has no effect on the simulation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @morrismoose The BeamAdapterActionController has a data named "actions" and "actionString" to edit the controls. See the scene example here: https://github.com/sofa-framework/BeamAdapter/blob/master/examples/3instruments_collis.scn#L95-L97 |
Beta Was this translation helpful? Give feedback.
-
Hello, is that possible to control the beam using the linear ball screw actuator? If I want to simulate a multi-backbone continuum robot, how can I develop a controller with the QP? Many thanks! |
Beta Was this translation helpful? Give feedback.
Hi @morrismoose
The BeamAdapterActionController has a data named "actions" and "actionString" to edit the controls.
You can see here in the C++ code the various controls available.
See the scene example here: https://github.com/sofa-framework/BeamAdapter/blob/master/examples/3instruments_collis.scn#L95-L97