So, we are having issues with pointers. I just wanted to know if anyone else is getting the same errors. They are kernel task exceptions. When I get rid of the pointers and initialize the classes another way, it all works.
If anyone has a solution, please tell me. Otherwise, I just want to know if everyone else is having the same issue or it’s just me…
class RobotDemo : public SimpleRobot
dr = new Drive();
//AxisCamera &camera = AxisCamera::GetInstance();
* Drive left & right motors for 2 seconds then stop
dr->myRobot->Drive(0.5, 0.0); // drive forwards half speed
Wait(2.0); // for 2 seconds
dr->myRobot->Drive(0.0, 0.0); // stop robot
It keeps giving me that the Drive *dr; has not been initialized correctly, where I believe I have. Anyone know any ways I can debug this?