Week 18. 14/12/2020

less than 1 minute read

This week I had to do:

  • Making Drone Cat&Mouse:

      import HAL
      import time
    
      HAL.despegar()
    
      while True:
          b = HAL.dame_objeto_de_color('red')
          print(b)
    
          if b['areas'] != 0 :
    
              if b['detalles'][0]['area'] < 300 :
    
                  HAL.set_v(0)
                  time.sleep(1)
                  HAL.girar_derecha_hasta(10)
              else:
                  HAL.set_v(1)
          else:
              time.sleep(2)
              HAL.girar_derecha_hasta(10)
    
  • Roomba 3d A-Frame & 1 Confeti actuator suck confetti, remove Aframe world elements. I create a new world in this case the pibot is a roomba and a small piece of ‘confeti’ that is a cylinder.
image 1 image 2
Roomba 3d Blender & JavaScript Editor

I try with collide event and I change the visibility:false, and the position of the confeti because static-body I couldn’t removed this Attribute. No way to remove or change staty-body attribute so the confeti piece is hiden by the plane.

The next week goals are:

  • Making Drone Cat&Mouse video promotion
  • Roomba 3d A-Frame & 1 Confeti actuator suck confetti with Position.
  • If I have time to look at the clamp with Roberto Gonzalez (video clamp kibotics slack)