Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

What's the proper way to use gzerr?

$
0
0
I'm trying to use gzerr to output error messages to the console in which gazebo is running from. If I put the following code in my model plugin's load method, the gzerr text never shows in the console. gzerr << "this message never gets displayed\n"; std::cout << "this message gets displayed just fine" << std::endl; I'm starting gazebo using the "gazebo" command, and I have verified with an std::cout that the plugin's load method is getting called. I've also made sure that gazebo/common/Console.h is included. I've also tried using sdferr the same way as gzerr, and sdferr works exactly as expected. What am I doing wrong?

Viewing all articles
Browse latest Browse all 7017

Trending Articles