I am using the standard tools and setup to make a Raspberry Pi robot buggy: 2 Miniature Brushless DC Motor 3 to 6V 2 Wheels Raspberry Pi L298N Motor Driver( with its battery pack connected)
I have done all the setup and have connected everything nicely. When I program the wheels to move forward while they are on the floor, they stay stationary. However, when I hold my buggy in my hands and program the wheels to move, they move just fine. Thinking this was a power problem, I set the speed of the wheels from 'self.forward( 0.5)' to 'self.forward( 0.7) ' but I find out that after a while the wheels stop turning and the led light on the driver board goes out. What do you think is happening?