When I publish message, callback function from subscriber works well. However when I use bool type of valuable, the valuable disappear in the program. For example I publish 1.0 and bool type valuable = ture. After 5 seconds, the valuable automatically change like false(initial set-up). When I only use bool type, it is occurred. Anybody have the same issue. Help me.
↧