CoppeliaSim-VR-Toolbox
CoppeliaSim-VR-Toolbox copied to clipboard
CoppeliaSim-VR-Toolbox 2.2 build
the file 'vrep_plot_container.h' is lost
Hi @holyotters,
As you can see from the latest commit this repository is quite old, and it is not actively maintained. So I don't remember any details of the code anymore. However, the same issue has been discussed and solved here: #13 . I hope this works for you as well, and good luck!
Kind regards, Boris
Hi @BorisBogaerts Thank you for your recovery, I deleted the relevant code according to your description, and the reconstruction was successful, but there was no input for the handle operation, and I found that the following function was not called during debugging.
void OnButton3D(vtkEventData *edata) { int mode; bool trackpad = false; bool Joystick = false; std::string signalName; vtkEventDataDeviceInput button = edata->GetAsEventDataDevice3D()->GetInput(); vtkEventDataDevice controller = edata->GetAsEventDataDevice3D()->GetDevice(); vtkEventDataDevice tracked = vtkEventDataDevice::GenericTracker; vtkEventDataAction action = edata->GetAsEventDataDevice3D()->GetAction(); vtkEventDataDevice Headset = vtkEventDataDevice::HeadMountedDisplay;
bool left = false;
if (controller == vtkEventDataDevice::LeftController) {
signalName = "L_";
left = true;
}
else if (controller == vtkEventDataDevice::RightController) {
signalName = "R_";
left = false;
}
if (button == vtkEventDataDeviceInput::Trigger) {
signalName.append("Trigger_");
}else if (button == vtkEventDataDeviceInput::Grip) {
signalName.append("Grip_");
}else if (button == vtkEventDataDeviceInput::TrackPad) {