ChanWoo.Sung Posted December 1, 2021 Posted December 1, 2021 I directly access and change the variables of the TouchBox class in the UH60_Cockpit class, but it is not changed in the Update statement of the TouchBox class. May I know why not? : TouchBox.h : TouchBox.cpp : UH60_Cockput.cpp
cash-metall Posted December 7, 2021 Posted December 7, 2021 Hello! it is not clear for this code what is happening: - what is type of "catchball"? - catchball from uh60 and touchbox::update it is the same instance? maybe there are few different components and you are testing another? - carrybutton_on is boolean type, but you are print %f like floating number. try to use %d instead
Recommended Posts