Open kinni318 opened 7 months ago
Hello, what is the IP of the sensor? is it the one configured in the CPP code? And is your host IP correctly configured?
And since you are using the .launch as well, maybe I think you want to use the ASync Interface https://github.com/SICKAG/sick_safetyscanners_base?tab=readme-ov-file#asynchronous-client
Hello, Failed to connecting the nanoScan3 by the following steps... We have no idea what caused this problem. Could you some one to help on it?
1, Installing the library on a linux PC(ubuntu18.04 & C++ environment.) Followed the Installation step of https://github.com/SICKAG/sick_safetyscanners_base *libsick_safetyscanners_base.so was created.
2, Building via the command below; g++ main.cpp -I../sick_safetyscanners_base/include/ -L. -lsick_safetyscanners_base -lboost_system -o main
3.Result of running $./main ; [INFO]: Command Method Acknowledged. terminate called after throwing an instance of 'sick::timeout_error' what(): Timeout exceeded while waiting for sensor data [timeout: 5seconds] ...... PS: We can run sick_safetyscanners.launch and get data by python at the same PC and the same nonaScan3.
===>The file - main.cpp;<===
int main() {
} Thanks in advance.