publish message not maintain(bool type) in the program
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.
With this question, it is going to be very difficult to help you. The description doesn't sufficiently explain what is going wrong. Perhaps you could edit your question and add some sample code?