The gyro and ultrasonic was wired in the right way but using RC extension cable that was connected by using two different wire.
However when we print out the output, they give us some alien language than cannot be read by human being:confused:
Does anyone experience this problem?
coz we need help
what are you using to print out the output?
we uses c++ which led to the command promt by opening operator console
I think he meant which method. (printf or cout)
Cout can sometimes take a number in as a char byte, so it outputs the character code assoiated with that number, resulting in…alien language!
Also, you can’t print every cycle, if you do it accumalates and you get old data.
~DtD
we use the debugging tool and printed out the angle that gyro currently has
we have no clue why but it gives us humongous numbers such as 7 million and increases by constant value such as 700 000. So it starts from a random number or 0, and keep increases from 700 000.
Output is like
0
700000
1400000
2100000 and so forth