FYP Process 4: Construction, Unity and Lidar

Aluminium profile measuring and cutting

20mm*20mm aluminium profile was used to construct the internal frame because it is easy to work with, lightweight and durable.

(Just for the record, I did not work in the dark but turned off the light for documentation purposes only.)

3D Modeling

This is the mounting adapter created in tinkercad to match the steel bearing, the motor and the wheel to the 20mm*20mm aluminium profile. the adapter for the suspension was created later as the suspension had not reach at the time of modeling the mounting adapter, however the 3 part fit nicely with just one try!

3d printing

Frame constructions and 3D printing part assembling.

many different screws, bolt and nuts were used to construct the frame and attach the wheel mount on the aliminium profiles.

Suspension Addition

The suspension is required as the Mecanum Wheel require friction to move in any direction, so the suspension does not only reduce the vibration, but to force the wheel to have traction with the floor at any point of time even on uneven surfaces.

Unity:
Animation done in Unity,

IlSample quest screen (there will be another screen to show the map or something)

These 3 were drawn in Adobe illustrator in separate layers and imported into unity to animate it.

Lidar:

Lidar uses infared laser to sense the distance in a 360 degree manner, it could give thousands of readings per second and the program will calculate them and map it out through a point cloud.

I bought a Lidar from China to try it out and the 1 I bought was C0602 

when using the program that was provided, the lidar works perfectly, but since I am going to use it in Unity, there are problems as Unity runs on C#(a programming language) while the SDK(Software Development Kit) runs in C++, although it is not impossible to write a bridge between the 2 language or write another code in C# to use the Lidar directly in unity, it was out of my capabilities to do so after trying for a week, and while researching for how to do it, i came across another Lidar that provided the Unity codes, however the code does not work on the current lidar I have……

SO, simple solution to this problem, either i ditch the idea of using a lidar OR I buy the Lidar with the Unity code and I put the current Lidar I have for sale online (at higher price than I bought it of course.) And of course, I chosed the 2nd option, to sell the one I have and buy the other 1 that provide a unity code. Carousell, my best friend.

 

Author: Ong Zi Feng

Just doing things, making stuffs.

Leave a Reply