Open Flash-boy opened 4 years ago
[ 62%] Linking CXX shared library /home/gy/Documents/ros/WeiMeng/devel/lib/liburg_c_wrapper.so [ 62%] Built target urg_c_wrapper [ 68%] Linking CXX executable /home/gy/Documents/ros/WeiMeng/devel/lib/urg_node/getID [ 75%] Linking CXX shared library /home/gy/Documents/ros/WeiMeng/devel/lib/liburg_node_driver.so [ 81%] Built target getID [ 87%] Built target urg_node_driver [ 93%] Linking CXX executable /home/gy/Documents/ros/WeiMeng/devel/lib/urg_node/urg_node [100%] Built target urg_node gy@gy-Default-string:~/Documents/ros/WeiMeng$
It,s ok when i build the file and it's ok to ping the device
gy@gy-Default-string:~/Documents/ros/WeiMeng$ ping 192.168.0.10 PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data. 64 bytes from 192.168.0.10: icmp_seq=1 ttl=64 time=0.170 ms 64 bytes from 192.168.0.10: icmp_seq=2 ttl=64 time=0.189 ms 64 bytes from 192.168.0.10: icmp_seq=3 ttl=64 time=0.187 ms 64 bytes from 192.168.0.10: icmp_seq=4 ttl=64 time=0.152 ms ^C --- 192.168.0.10 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3048ms rtt min/avg/max/mdev = 0.152/0.174/0.189/0.019 ms
but when i run the node
gy@gy-Default-string:~$ rosrun urg_node urg_node _ip_address:=192.168.0.10 [ INFO] [1603868340.363169912]: Connected to network device with intensity and ID: H1642385 Segmentation fault (core dumped)
so it,s something wrong about the source code? 2. install by use `sudo apt-get install ros-kinetic-urg-node`
[ INFO] [1603867460.253374970]: Connected to network device with intensity and ID: H1642385 [ INFO] [1603867460.320499879]: Streaming data.
Everything is OK
Segfault after I git clone and build,however it's ok when i install by APT
gy@gy-Default-string:~/Documents/ros/WeiMeng$ ping 192.168.0.10 PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data. 64 bytes from 192.168.0.10: icmp_seq=1 ttl=64 time=0.170 ms 64 bytes from 192.168.0.10: icmp_seq=2 ttl=64 time=0.189 ms 64 bytes from 192.168.0.10: icmp_seq=3 ttl=64 time=0.187 ms 64 bytes from 192.168.0.10: icmp_seq=4 ttl=64 time=0.152 ms ^C --- 192.168.0.10 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3048ms rtt min/avg/max/mdev = 0.152/0.174/0.189/0.019 ms
gy@gy-Default-string:~$ rosrun urg_node urg_node _ip_address:=192.168.0.10 [ INFO] [1603868340.363169912]: Connected to network device with intensity and ID: H1642385 Segmentation fault (core dumped)
[ INFO] [1603867460.253374970]: Connected to network device with intensity and ID: H1642385 [ INFO] [1603867460.320499879]: Streaming data.