Open windrunners opened 2 years ago
Hi, thanks for your interest.
I guess you ran the test_ft_sensor_reading.py. It's irrelevant to this project. This script is just for real-time reading of the force-torque sensor. You can ignore it.
Best regards, Jianbang
Hi, very glad to receive your reply.
The main program I'm running is "train_peg_insertion.py". But But it says "No module named 'ATI_Sensor'. The specific error subroutine is ”test_ft_sensor_reading.py“ and the error line is "from ATI_Sensor import Sensor as FT_Sensor".
Could you please find out what's going on when you have time? Thank you!
I think you can comment on the line "from ATI_Sensor import Sensor as FT_Sensor".
And make the line uncomment: "# from NetFT import Sensor as FT_Sensor".
If it still goes wrong, could you please share the entire error message with me?
About the NetFT module, you can refer to https://github.com/CameronDevine/NetFT
Thank you for your help!
A new problem has arisen as shown below: self.table_uid = p.loadURDF(os.path.join(self._urdf_root, "table/table.urdf"), 0.5000000, 0.00000, -.820000, pybullet.error: Cannot load URDF file.
I think I'm missing some URDF files.
Where can I download these URDF files about table. urdf, simple_button. urdf, target_box_new.urdf?
I think the table and simple_button URDF model is a built-in model of PyBullet.
As for the target_box_new.urdf, it's a self-made box. You can simply replace it with a box in your program. I'm sorry that I'm not able to provide this URDF file currently.
Thank you for your help. I have solved the problem.
@wangshuo-bmd Hello, can you share your urdf file? Thanks for your attention
@mechanics-chenshuo The project file has a complete URDF file. Just modify the sensor import code as described above, "from ati_sensor import sensor as ft_sensor"
And make the line uncomment: "\from netft import sensor as ft\u sensor"
Hello, thanks for your open source project.
I'm trying to run this program, but it says "No module named 'ATI_Sensor'". Where can I get the ATI_Sensor data?