Changelog
- fix(variobot_mcu): more code cleanup
- fix(variobot_control): Use PID controllers without causing errors (#21)
- refactor: cleanup code
- fix: micro-ros stuff and wiring
I cleaned up the MCU code generated by Gemini quite a lot. There were a lot of small bugs and improvements that could be made here and there.
I designed a top plate for the robot where the Lidar will go. I am also temporarily putting the other 2 pcbs and wiring on this only rn.
I then got the PID controllers working with the simulation properly. The main thing I needed to figure out was how to disable them in the simulation without having to create an entirely separate parameters file for the controllers specifically for the simulation.
They need to be disabled for simulation, as the Gazebo hardware interface doesn’t simulate actual motors and just transfers whatever is sent to it as angular velocity for the wheels.
I then spent multiple hours wiring and screwing everything on the physical robot to get it working. I have the encoders giving accurate angular velocity and position data now.
Now I have to tune the motor PIDs and after that we should have the robot moving!
Log in to leave a comment