View Single Post
  #1   Spotlight this post!  
Unread 01-10-2016, 10:34 PM
acrilex acrilex is offline
Registered User
AKA: Alexandre Croteau
FRC #5179 (Sénateurs)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Drummondville, QC, CA
Posts: 9
acrilex is an unknown quantity at this point
FRCSim / Gazebo: Publishing an uninitialized message on topic

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:
Code:
 
[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.

Last edited by acrilex : 01-10-2016 at 11:10 PM.
Reply With Quote