Go to Post If Andy Baker wants 9999 for his new team then who's gonna stop him? - IndySam [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 03-04-2016, 02:14 AM
Peter Mitrano Peter Mitrano is offline
Registered User
no team
 
Join Date: Jan 2016
Location: Worcester MA
Posts: 21
Peter Mitrano is an unknown quantity at this point
Re: FRCSim / Gazebo: Publishing an uninitialized message on topic

FRCSim maintainer here. This is in fact a "bug" of sorts, but it shouldn't effect anything on your end. Does your simulation still work?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:54 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi