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?
Originally posted by pcdangio on Gazebo Answers with karma: 207 on 2016-04-13
Post score: 0