ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It looks like you have a type name shadowing a local variable name:

On line 211, there is a commented-out declaration of a scanData variable of type TSickLMS511ScanData

On line 219, you declare a variable named data with type scanData

Line 423 assumes that scanData is a variable