Recommended: VSCode-based IDE with SSH
The recommended approach is to use a VSCode-based IDE with remote SSH so you can edit directly on the robot with full IDE features, use AI-assisted tooling, access the robot file system seamlessly, and run/debug in the real robot environment; compatible options include Cursor, Windsurf, Antigravity, and VSCode, and all support Remote - SSH (built-in or extension) so developing on MARS feels local.Connecting via SSH
Enter SSH target
Use the robot IP/hostname and credentials from Connecting via SSH.
Tips for SSH Development
Set up SSH keys to avoid repeated password prompts, keep the connection stable withServerAliveInterval in your ~/.ssh/config, and use the integrated terminal to run ROS2 commands and test agents directly on the robot.
Alternative: Local Development with Deployment
You can also develop locally and deploy to MARS by writing and testing on your machine, copying files withscp or rsync, then SSHing into the robot to run and validate. This works well when network connectivity is limited, when you prefer your local environment, or when you are working on code that does not need robot hardware for initial iteration.
Direct SSH Terminal
For quick edits or debugging, you can SSH directly into MARS using terminal-based editors likenano or vim. See Connecting via SSH for connection details.
This is best for quick configuration changes, viewing logs, and running diagnostic commands.
