Hello,
I just installed FRCsim according to the instructions. After starting frcsim with any of the provided worlds, I get multiple “Publishing an uninitialized message on topic” error messages (enough to pollute my terminal, having to kill the process with ctrl+c ASAP when launching to see the init proces). Here is the error:
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/time]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/dio/1/2/position]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/dio/1/2/velocity]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/dio/3/4/position]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/dio/3/4/velocity]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/analog/2/position]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/analog/2/velocity]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/analog/1]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/analog/3]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/dio/5/6/position]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/dio/5/6/velocity]. Required field [data] missing.
[Err] [Publisher.cc:99] Publishing an uninitialized message on topic[/gazebo/frc/simulator/analog/2]. Required field [data] missing.
.
I think there is a bug in the WPILIB sim or on my system (tried on two ubuntu, one 14.04 and one 15.04, same bug). Can someone help me figure out the problem?
Acrilex
Team 5179
EDIT: If I start the simulator with no world selected, this happens when putting any robots (goat or gearsbot). Thus, the error seems to be with Gazebo frc simulator functions.