-
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
ERROR in running 'input_device_teleop_example' #159
Comments
Hello, sudo ./ambf_simulator -p60 -t1 --launch_file home/dvrk/ambf/ambf_ros_modules/examples/input_device_teleop_example/launch.yaml -l10 -i0 I think there is a missing Another possible issue that you may end up running into is with the |
Thank you for answering my question! I have fixed the problem, it was caused by this root. I copy the path from file properties and missed something. I typed it by myself and it didn't happen again. I used sudo since the USB device can't be detected without sudo. |
Well, I still have issues with this example. Right now I can run the command: |
ASYNCHRONOUS MULTI-BODY FRAMEWORK SIMULATOR (AMBF Simulator)
STARTUP COMMAND LINE OPTIONS: ambf_simulator Command Line Options: INFO! USING SIMULATION SPEED FACTOR OF: 1 |
Can you try the new commit above? Please make sure to set the |
dvrk@dvrk-desktop:~/ambf/bin/lin-x86_64$ ./ambf_simulator -p60 -t1 --launch_file /home/dvrk/ambf/ambf_ros_modules/examples/input_device_teleop_example/launch.yaml -l10 -i0 ASYNCHRONOUS MULTI-BODY FRAMEWORK SIMULATOR (AMBF Simulator)
STARTUP COMMAND LINE OPTIONS: ambf_simulator Command Line Options: INFO! USING SIMULATION SPEED FACTOR OF: 1 |
Did you run the |
Yes, I run the command 'python3 gripper_control_via_device_ifc.py' first, then the simulator. |
Can you copy and paste the contents on these two files: |
Did you by any chance modify the |
What should I do in those two files? Change the path to the absolute path? |
No, I am asking if you modified any of these two files in your local copy? Based on your comment above, it appears that you did. That is why I asked for you to copy and paste the contents of these files (that are on your local machine) here so that I can see them.
|
input devices: [ MTML: MTMR: root link:location: { Geomagic Touch: Razer Hydra0: Razer Hydra1: Novint Falcon1: Novint Falcon2: Sigma7: Omega7: |
I change the absolute path in the file'/home/dvrk/ambf/ambf_ros_modules/examples/input_device_teleop_example/input_devices'. If I don't do that, there will be ERROR under the WARNING |
I think we are narrowing in on the problem. You replaced the contents of |
Oh, I'm so sorry. I don't realize that. I replace the input_device.yaml from the pull request. Also, I replace the ambf/ambf_framework/afInputDevices.cpp from the pull request. I completely reinstall the AMBF now. The example works well. |
I was wondering how can I use the haptic device as an input device in AMBF? Do I need to create a python client to get the input data and send it to the AMBF? |
Glad to hear that the example is working now. What haptic device do want to use with AMBF? And what do you want to do with the haptic device, i.e.
If its the first option, you may use the Python client OR create an AMBF Plugin where you can do everything you want. |
I have installed the driver for my haptic device, but I don't know how to get data from the driver and send those data to the python client. Can you give me any advice? |
Let's try to set up some time this Thursday for a zoom meeting as I don't have a force dimension device at hand to test this out. |
Hello,
I'm new on AMBF and I try to run the example in the AMBF files
The example is 'https://github.com/WPI-AIM/ambf/tree/ambf-1.0/ambf_ros_modules/examples/input_device_teleop_example'.
At the second step, after I run: sudo ./ambf_simulator -p60 -t1 --launch_file home/dvrk/ambf/ambf_ros_modules/examples/input_device_teleop_example/launch.yaml -l10 -i0
The Error is :
bad file
Failed to Load home/dvrk/ambf/ambf_ros_modules/examples/input_device_teleop_example/launch.yaml
ERROR! COULDN'T DETERMINE THE CORRECT ADF LOADER FOR THE FILE "home/dvrk/ambf/ambf_ros_modules/examples/input_device_teleop_example/launch.yaml"
My environment:
Ubuntu 20.04
ROS: noetic
version:1.15.14
What's the ADF LOADER and how can I fix it?
Thank you for your help,
Best
FrogsHunter
The text was updated successfully, but these errors were encountered: