Open HongyuanChen opened 1 month ago
I have ignored the ip address in ft_sensor.h. When I correct it as 192.168.1.1, the terminal reports the following errors:
[ft_sensor-2] restarting process
process[ft_sensor-2]: started with pid [88734]
[ INFO] [1717665718.144031801]: ATISensor IP : 192.168.1.1
[ INFO] [1717665718.144370585]: ATISensor frame : /ati_ft_link
[ft_sensor 192.168.1.1:49152] Start realtime streaming with 1 samples
[ft_sensor 192.168.1.1:49152] Using current calibration
error : Operation in progress
I/O warning : failed to load external entity "http://192.168.1.1/netftapi2.xml"
[ft_sensor 192.168.1.1:49152] Could not parse file http://192.168.1.1/netftapi2.xml
[ft_sensor 192.168.1.1:49152] Using default counts per force : 1000000
[ft_sensor 192.168.1.1:49152] Using default counts per torque : 1000000
[ft_sensor-2] process has died [pid 88734, exit code -7, cmd /home/bbl/chy/ati_ws/devel/lib/ati_sensor/ft_sensor_node __name:=ft_sensor __log:=/home/bbl/.ros/log/37555e1a-23e6-11ef-aafa-e772c84d7aa0/ft_sensor-2.log].
log file: /home/bbl/.ros/log/37555e1a-23e6-11ef-aafa-e772c84d7aa0/ft_sensor-2*.log
Hi, I have used this sensor software with a netFT box in the past but do not have access to one right now. I also participated to the development.
I would suggest to look http://192.168.1.1/netftapi2.xml
in a web browser directly when the sensor is operational. If this address is wrong, then check the doc of your sensor to find out what the correct address is. Additionally you could specify your hardware reference for better help.
Hi, Thank you for your answer. But I have tried to directly open the [(http://192.168.1.1/netftapi2.xml)] it seems quite well. So I don't understand what's wrong with the code or me. I have extended this question to my ATI hardwae provider, they also don't know what's wrong.
Ok. Just something that had happened within my lab: There was a difference between browser access and "terminal/software" access to http pages in our lab. We had to disable proxy access in our terminal before starting up the driver.
You could also try start the driver with a debugger, which might help to know why/where the node crashes
http://wiki.ros.org/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB
Sorry to interrupt you. I have faced a problem with the code. I create my workspace. And copy the downloaded zip file to the /workspace/src and unzip it and rename as ati_sensor. Then I have changed the ip address in ft_sensor_node.cpp and ft_sensor.launch with 192.168.1.1. Then catkin_make. When I use the following sentence to start the node like:
roslaunch ati_sensor ft_sensor.launch ip:=192.168.1.1 frame:=/ati_ft_link
The terminal returns as follows:
I try to find what is wrong with the thing but I can't find the .log file in the folder which mentioned in the terminal. I wonder if anyone have encountered similar problems as I do. Please help me and thanks a lot !!