![]() |
Having trouble with new robot program and Command.cpp
Hey all, I know summer CD is slow and the C++ subsection is basically dead during the summer, so I decided I should put this in general programming to get a bit more attention.
So down to the issue. I was doing my yearly rewrite of our code from this year, and when I go to run the code on the robot, the robot code crashes the DS says "No Robot Code". So I added some couts right at the start of Robot::Init and no dice either. No text is output which is very strange to me considering the first line should at least execute. My next thought is to run it as a debugging program and I catch a glimpse of two errors in the console which I did not see before. Here they are: Code:
0xb6fd7d40 in ?? () from c:\frc/lib/ld-linux.so.3Code:
ROBOT INIT!I also was looking through the debugger and this is what is shows. I am not really amazing at using and understanding the debugger, but I thought it would be useful. ![]() My code is here: https://github.com/team2053tigertron.../OffSeason2016 - Drew |
Re: Having trouble with new robot program and Command.cpp
I think your pointer to timer is null in the constructor of IntakeRoller in Commands/Intake/IntakeRoller.cpp
|
Re: Having trouble with new robot program and Command.cpp
That was the issue! Thanks for the help! It probably should have stuck out to me more.
Drew |
| All times are GMT -5. The time now is 14:34. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi