StarlingUAS / ProjectStarling

BRL Flight Arena Infrastructure 2.0
Other
16 stars 3 forks source link

Foxglove doesn't work with latest rosbridge_suite container #146

Closed mhl787156 closed 2 years ago

mhl787156 commented 2 years ago

The latest version of the rosbridge_suite container does not appear to work with foxglove. The last working version is v0.1.0

Currently when running the rosbridge container, foxglove and rosbridge console logs shows an active connection but it appears that no data is being transferred (no start time/end time or anything else). Beforehand, it would all show up.

After some investigation it looks like v0.1.0 uses v1.0.7 of the rosbridge_suite, with v0.1.3 using v1.1.0 of the rosbridge_suite. There have been numerious chages between the two versions. So I cannot tell what is the problem.

The base ros container were also updated during this time.

Further investigation is required as to the cause of the error.

mhl787156 commented 2 years ago

I have opened an issue here: https://github.com/foxglove/studio/issues/2715 for reference.

mhl787156 commented 2 years ago

Current workaround for anyone stumbling across this issue (as of 24/01/2022) is to use this container instead: mickeyli789/rosbridge-suite:v0.1.0 which supports both runtime building of messages in env var MSGS_WS and plotting through foxglove.

To use either call directly with docker run, or replace the rosbridge-suite images in docker-compose files with it.