fkie / multimaster_fkie

ROS stack with FKIE packages for multi-robot (discovering, synchronizing and management GUI)
BSD 3-Clause "New" or "Revised" License
272 stars 106 forks source link

fix: adjust for ros msg standarts #118

Closed incebellipipo closed 4 years ago

incebellipipo commented 4 years ago

This message definition creates problems with several generators i.e. gennodejs. For reference: https://wiki.ros.org/msg#Constants

Correct definition must look like following:

string RICK=morty

This is the problem that this message definition creates in js:


// Constants for message
MasterState.Constants = {
  STATE_NEW: ''new'',
  STATE_REMOVED: ''removed'',
  STATE_CHANGED: ''changed'',
}

There are way too many quotes