Getting error while running a code for lidar ce30-d as using: command not found
Interfacing the lidar with ROS MELODIC has done correctly , but when the desired code is running ,it is showing errors on general commands . using namespace std; below are the errors displayed.
./lidarce30d.cpp: line 4: using: command not found
./lidarce30d.cpp: line 5: using: command not found
./lidarce30d.cpp: line 7: syntax error near unexpected token ('
./lidarce30d.cpp: line 7:
void DataReceiveCB(shared_ptr<pointcloud> cloud) {'