Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:examples:sensor:lidar [2012/06/06 20:19] raivo.sellen:examples:sensor:lidar [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
 ===== Theory ===== ===== Theory =====
-[{{   :en:examples:sensor:lidar3.jpg?220|SICK Laser Rangefinder (LIDAR)}}]+ 
 +[{{  :en:examples:sensor:lidar3.jpg?220|SICK Laser Rangefinder (LIDAR)}}] 
 LIDAR (Light Detection and Ranging) is an optical remote sensing system which can measure the distance of a target by illuminating it with light. LIDAR technology is being used in Robotics for the perception of the environment as well as object classification. The ability of LIDAR technology to provide 2D elevation maps of the terrain, high precision distance to the ground, and approach velocity can enable safe landing of robotic and manned vehicles with a high degree of precision. LIDAR (Light Detection and Ranging) is an optical remote sensing system which can measure the distance of a target by illuminating it with light. LIDAR technology is being used in Robotics for the perception of the environment as well as object classification. The ability of LIDAR technology to provide 2D elevation maps of the terrain, high precision distance to the ground, and approach velocity can enable safe landing of robotic and manned vehicles with a high degree of precision.
  
Line 74: Line 76:
 #include <homelab/usart.h> #include <homelab/usart.h>
  
-// 
 // Defining USART interface. // Defining USART interface.
-// 
 usart port = USART(0); usart port = USART(0);
  
-// 
 // Defining button pins. // Defining button pins.
-// 
 pin button1 = PIN(C, 0); pin button1 = PIN(C, 0);
 pin button2 = PIN(C, 1); pin button2 = PIN(C, 1);
  
-// 
 // Initialize // Initialize
-// 
 static inline void init() static inline void init()
 { {
Line 96: Line 92:
  // Set-up of the LCD.  // Set-up of the LCD.
  lcd_gfx_init();  lcd_gfx_init();
-  +  // Cleaning the screen.
- // Cleaning the screen.+
  lcd_gfx_clear();  lcd_gfx_clear();
-  +  // Switching on the background light.
- // Switching on the background light.+
  lcd_gfx_backlight(true);   lcd_gfx_backlight(true);
-  +  // Displaying the name of the program.
- // Displaying the name of the program.+
  lcd_gfx_goto_char_xy(3, 1);  lcd_gfx_goto_char_xy(3, 1);
  lcd_gfx_write_string("Lidar");  lcd_gfx_write_string("Lidar");
Line 118: Line 111:
 } }
  
-// 
 // Main program // Main program
-// 
 int main(void) int main(void)
 {  {
en/examples/sensor/lidar.1339013984.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0