feat(on-objects): Consume objects from mqtt topic
This commit is contained in:
		
							
								
								
									
										12
									
								
								pkg/steering/test_data/bboxes-01.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								pkg/steering/test_data/bboxes-01.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
{
 | 
			
		||||
  "bboxes": [
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.5258789,
 | 
			
		||||
      "top": 0.1706543,
 | 
			
		||||
      "left": 0.26660156,
 | 
			
		||||
      "bottom": 0.47583008,
 | 
			
		||||
      "confidence": 0.4482422
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										25
									
								
								pkg/steering/test_data/bboxes-02.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								pkg/steering/test_data/bboxes-02.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
{
 | 
			
		||||
  "bboxes": [
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.6879883,
 | 
			
		||||
      "top": 0.115234375,
 | 
			
		||||
      "left": 0.1586914,
 | 
			
		||||
      "bottom": 0.66796875,
 | 
			
		||||
      "confidence": 0.82714844
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.2794531,
 | 
			
		||||
      "top": 0.301816406,
 | 
			
		||||
      "left": 0.15698242,
 | 
			
		||||
      "bottom": 0.65748047,
 | 
			
		||||
      "confidence": 0.83447266
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.6875,
 | 
			
		||||
      "top": 0.11328125,
 | 
			
		||||
      "left": 0.15673828,
 | 
			
		||||
      "bottom": 0.66748047,
 | 
			
		||||
      "confidence": 0.85253906
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										27
									
								
								pkg/steering/test_data/bboxes-03.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								pkg/steering/test_data/bboxes-03.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
{
 | 
			
		||||
  "bboxes": [
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.2211914,
 | 
			
		||||
      "top": 0.14953613,
 | 
			
		||||
      "left": 0.0015258789,
 | 
			
		||||
      "bottom": 0.64941406,
 | 
			
		||||
      "confidence": 0.5595703
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.22192383,
 | 
			
		||||
      "top": 0.14819336,
 | 
			
		||||
      "left": 0.0014038086,
 | 
			
		||||
      "bottom": 0.64941406,
 | 
			
		||||
      "confidence": 0.5493164
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.21948242,
 | 
			
		||||
      "top": 0.1459961,
 | 
			
		||||
      "left": 0.0015258789,
 | 
			
		||||
      "bottom": 0.65185547,
 | 
			
		||||
      "confidence": 0.5595703
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										25
									
								
								pkg/steering/test_data/bboxes-04.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								pkg/steering/test_data/bboxes-04.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
{
 | 
			
		||||
  "bboxes": [
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.99902344,
 | 
			
		||||
      "top": 0.08947754,
 | 
			
		||||
      "left": 0.8095703,
 | 
			
		||||
      "bottom": 0.54296875,
 | 
			
		||||
      "confidence": 0.4741211
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.99902344,
 | 
			
		||||
      "top": 0.08666992,
 | 
			
		||||
      "left": 0.80859375,
 | 
			
		||||
      "bottom": 0.54003906,
 | 
			
		||||
      "confidence": 0.453125
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "right": 0.99902344,
 | 
			
		||||
      "top": 0.09423828,
 | 
			
		||||
      "left": 0.8095703,
 | 
			
		||||
      "bottom": 0.54345703,
 | 
			
		||||
      "confidence": 0.44995117
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								pkg/steering/test_data/config.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								pkg/steering/test_data/config.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
{
 | 
			
		||||
  "steering_steps":[-1, -0.66, -0.33, 0, 0.33, 0.66, 1],
 | 
			
		||||
  "distance_steps": [0, 0.2, 0.4, 0.6, 0.8, 1],
 | 
			
		||||
  "data": [
 | 
			
		||||
    [0, 0, 0, 0, 0, 0],
 | 
			
		||||
    [0, 0, 0, 0, 0, 0],
 | 
			
		||||
    [0, 0, 0.25, -0.25, 0, 0],
 | 
			
		||||
    [0, 0.25, 0.5, -0.5, -0.25, 0],
 | 
			
		||||
    [0.25, 0.5, 1, -1, -0.5, -0.25]
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-01.jpg
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-01.jpg
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.6 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-02.jpg
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-02.jpg
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 6.4 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-03.jpg
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-03.jpg
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 6.1 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-04.jpg
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								pkg/steering/test_data/img-04.jpg
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.0 KiB  | 
		Reference in New Issue
	
	Block a user