Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Cmake issue on windows 10 #14

Open
Jiaxin-lim opened this issue Oct 14, 2021 · 9 comments
Open

Cmake issue on windows 10 #14

Jiaxin-lim opened this issue Oct 14, 2021 · 9 comments

Comments

@Jiaxin-lim
Copy link

Hi, i am getting the error while cloning.
Screenshot 2021-10-14 112209

Is that the reason why i am getting the error of:
'cmake' is not recognized as an internal or external command,
operable program or batch file.
while trying to build sick_generic_caller with cmake and Visual Studio 2019.

Any ways that i can resolve this issue? thank you.

@rostest
Copy link
Collaborator

rostest commented Oct 14, 2021

Thanks for your report. To run cmake from the command line, it is recommended to download and install cmake from https://cmake.org .
According to the Visual Studio screenshot, cmake seems to be installed successfully by vcpkg. The error message "CMake Error (find_package)..." suggests that a package is missing. Please provide the complete error messages with further details.

@Jiaxin-lim
Copy link
Author

Thank you. I had managed to successfully installed it.

Would just have 1 more question which is how do i write my own python scripts to send and received signal/tele command to my 781s Lidar?

@rostest
Copy link
Collaborator

rostest commented Oct 27, 2021

To handle Lidar data and commands in python, you need to implement an UDP receiver for the lidar data and a TCP sender and receiver for the lidar commands. Receiver and sender have to parse and handle the lidar data and telegrams according to the specification (manuals and telegram listings for your lidar).

@Jiaxin-lim
Copy link
Author

Where can i get the manuals for the 781s Lidar?

@reinbja
Copy link

reinbja commented Oct 28, 2021

Please have a look at our homepage www.sick.com. There, you will find all the technical documentation for the appropriate device.

Click on the link to open the manual directly.

@michael1309
Copy link
Collaborator

@Jiaxin-lim
Copy link
Author

@reinbja the link does work for me, i could'nt get to the manual directly.
@michael1309 i had tried the sick website and there isn't any manual there for me to refer to beside the telegram listing and operating instructions

@michael1309
Copy link
Collaborator

Would just have 1 more question which is how do i write my own python scripts to send and received signal/tele command to my 781s Lidar?
Handle the data with your own application requires the implementation of the full command stack using the SICK specific SOPAS command. It is much easier for you if you use this generic driver and push the lidar data to your own application by an online connection (like pushing data over udp or similiar) or by using a pipe or file. An excellent starting point for this would be the following line in the code


Here are all lidar data available and you replace the jpeg export etc. with your own implementation.

@michael1309
Copy link
Collaborator

Here is the specific link for the command communication. Compare the commands given their with the log output after starting the driver. This will give you in combination with source code inspection a clear understanding of the communication. In addition you can use wireshark to see the "real data" on wire:

https://cdn.sick.com/media/docs/7/27/927/technical_information_telegram_listing_ranging_sensors_lms1xx_lms5xx_tim2xx_tim5xx_tim7xx_lms1000_mrs1000_mrs6000_nav310_ld_oem15xx_ld_lrs36xx_lms4000_en_im0045927.pdf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants