-
Notifications
You must be signed in to change notification settings - Fork 67
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
Haptic feedback #90
Comments
Thanks for creating the issue. Which exact haptic device are you talking about? You do not have to manually enable the MTMR:
hardware name: MTMR
haptic gain: {linear: 0.03, angular: 1}
workspace scaling: 5
simulated multibody: "../multi-bodies/grippers/pr2 gripper small red.yaml"
# root link:
location: {
position: {x: -0.5, y: 0, z: 0},
orientation: {r: 0, p: 0, y: 0}}
button mapping: {
a1: 1,
a2: 2,
next mode: 3,
prev mode: 4}
pair cameras: [camera1, camera2] # The motion of the IID-SDE is w.r.t the first camera in the list For the haptic device, the field Also, what branch are you on? If on |
Yes, I'm on |
Yes, we did have support for that, however, I commented out that code to enable integration with ambf-1.0. I can try re-integrating that with the branch |
It would be great! Thanks |
Good afternoon,
__
I connected the haptic device to the robot in simulation.
To get the haptic feedback, I enabled it with the -e 1 flag and, in the ambf/ambf_framework/afInputDevice.h file, I changed the m_dev_force_enable from false to true.
However when the robot interacts with other bodies in the scene I don't get any feedback. Is there something else I need to change to get it?
Moreover, is there a way to plot the forces of interaction when a collision happens?
The text was updated successfully, but these errors were encountered: