The LIDAR process dies at the start of the first power-up program.

Source: Internet
Author: User

Phenomenon: LiDAR processes die at the first power-up program from the start

Cause: The program starts to set the output strength data to: true (default after power failure is: false), and then start reading strength data, but at this time the strength data is not ready, the strength of the function is not initialized some values, causing the program to exit

Processing: 1. Delay before reading the strength data

2. Assigning an initial value to an error variable in a constructor

Experience:

1. It is important to assign an initial value to a variable in a constructor, and do not forget that otherwise it is an indeterminate number.

2. Write the program to protect the sub-function output is correct, or the sub-function can be correctly run, will not error.

3.

The LIDAR process dies at the start of the first power-up program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.