From 8c15dce300a25381f8af608bd8713eebd289c1ae Mon Sep 17 00:00:00 2001 From: Rohit John Varghese Date: Thu, 6 Nov 2025 00:37:22 -0600 Subject: [PATCH 1/2] chore: bump version to v2.2.1 --- pyproject.toml | 2 +- server.json | 4 ++-- uv.lock | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ae6a34f..c990680 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ros-mcp" -version = "2.2.0" +version = "2.2.1" description = "Connect AI Language Models with Robots on ROS using MCP" readme = "README.md" requires-python = ">=3.10" diff --git a/server.json b/server.json index 9821923..4c82911 100644 --- a/server.json +++ b/server.json @@ -6,13 +6,13 @@ "url": "https://github.com/robotmcp/ros-mcp-server", "source": "github" }, - "version": "2.2.0", + "version": "2.2.1", "packages": [ { "registryType": "pypi", "registryBaseUrl": "https://pypi.org", "identifier": "ros-mcp", - "version": "2.2.0", + "version": "2.2.1", "transport": { "type": "stdio", "command": "ros-mcp", diff --git a/uv.lock b/uv.lock index 434fae4..db1eefd 100644 --- a/uv.lock +++ b/uv.lock @@ -1526,7 +1526,7 @@ wheels = [ [[package]] name = "ros-mcp" -version = "2.2.0" +version = "2.2.1" source = { editable = "." } dependencies = [ { name = "fastmcp" }, From 539a0f5eb00e8ad33ff9c332857f0fdbcaa71757 Mon Sep 17 00:00:00 2001 From: Giovanni Toffetti Date: Wed, 3 Dec 2025 15:02:22 +0000 Subject: [PATCH 2/2] fix: use consistent image path for compressed and raw images Previously, compressed images were saved to `./camera/received_image_compressed.jpeg` while raw images were saved to `./camera/received_image.jpeg`. This caused the `analyze_previously_received_image` tool to fail when trying to analyze compressed images, as it only looks for `./camera/received_image.jpeg`. This commit standardizes the path for both compressed and raw images to use `./camera/received_image.jpeg`, ensuring that the analysis tool can find images regardless of their original format. --- utils/websocket_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/websocket_manager.py b/utils/websocket_manager.py index e360a1a..92c1e68 100644 --- a/utils/websocket_manager.py +++ b/utils/websocket_manager.py @@ -137,7 +137,7 @@ def parse_image(raw: Union[str, bytes] | None) -> dict | None: def _handle_compressed_image(data_b64: str, result: dict) -> dict | None: """Handle compressed image data (JPEG/PNG already encoded).""" - path = "./camera/received_image_compressed.jpeg" + path = "./camera/received_image.jpeg" image_bytes = base64.b64decode(data_b64) with open(path, "wb") as f: