Skip to content

Add Cloud Agent development environment - #41

Closed
msadowski wants to merge 1 commit into
mainfrom
cursor/setup-cloud-agent-environment-806b
Closed

msadowski wants to merge 1 commit into
mainfrom
cursor/setup-cloud-agent-environment-806b

Conversation

@msadowski

Copy link
Copy Markdown
Contributor

Summary

Adds a Cloud Agent development environment for the Foxglove tutorials repository so agents can run, test, and demo the tutorials end to end.

The repo is a heterogeneous collection of tutorials. This environment targets the pieces that are runnable without external hardware or a full ROS install:

  • The repo-wide README generator (.utils/generate_readme.py), which is the only check enforced in CI (Autogenerate README).
  • The runnable Foxglove SDK Python tutorials: the ROSCON Spain 2024 CSV→MCAP converter and the EtherNet/IP integration (simulator + Foxglove WebSocket bridge).

Changes

  • .cursor/environment.json — declares the environment and runs the install script.
  • .cursor/install.sh — idempotent setup: ensures python3-venv, creates a virtualenv at ~/.venvs/foxglove-tutorials, and installs the consolidated dependency set (README generator deps + foxglove-sdk, cpppo, pylogix, numpy, pandas, mcap).

Usage

source ~/.venvs/foxglove-tutorials/bin/activate
# README (CI check)
python .utils/generate_readme.py
# CSV -> MCAP tutorial
cd foxglove_sdk/rosconesp24_tutorial && python mcap_tutorial.py

Validation

All verified end to end in the VM:

Check Result
README generation (CI check) README up to date, no drift
ROSCON CSV→MCAP tutorial Valid MCAP, 3 channels, 153 messages
EtherNet/IP simulator + Foxglove bridge 35 tags streamed on ws://127.0.0.1:8765, 2695+ messages recorded to MCAP
Install idempotence Passed twice

Notes

  • ROS1/ROS2 integrations (require a full ROS install), the LeRobot SO-100 tutorial (requires physical arm + cameras), and the Jupyter notebook tutorials (require Foxglove Data Platform API tokens) are intentionally out of scope for this general environment.
Open in Web Open in Cursor 

Set up a Python virtual environment with the dependencies needed to run the
repo-wide README generator (enforced in CI) plus the runnable Foxglove SDK
Python tutorials (ROSCON Spain 2024 CSV->MCAP and the EtherNet/IP integration).

Co-authored-by: mat <mat@foxglove.dev>
@msadowski msadowski closed this Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants