GitHub - indro-robotics/InDro-ARID: Repository for InDro's Autonomous Research Indoor Drone (ARID) · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
MCP RegistryIntegrate external tools
DEVELOPER WORKFLOWS
ActionsAutomate any workflow
CodespacesInstant dev environments
IssuesPlan and track work
Code ReviewManage code changes
Code QualityEnforce quality at merge
APPLICATION SECURITY
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub SponsorsFund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platformAI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced SecurityEnterprise-grade security features
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Pricing
Search/
Sign in
Sign up
Appearance settings
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
indro-robotics
InDro-ARID
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More items
InDro-ARID
Public
NotificationsYou must be signed in to change notification settings
Fork1 (1)
Star0 (0)You must be signed in to star a repository
About
Repository for InDro's Autonomous Research Indoor Drone (ARID)
Resources
Readme
Activity
Custom properties
Stars
0 stars
Watchers
0 watching
Forks
1 fork
Report repository
v1.1
BranchesTags
Go to file
Code
Open more actions menu
Latest commit
History
91 Commits
91 Commits
Folders and files
Name Name
Last commit message
Last commit date
.vscode
.vscode
docs
docs
isaac_ros-dev
isaac_ros-dev
local_ws
local_ws
scripts
scripts
.gitignore
.gitignore
.gitmodules
.gitmodules
README.md
README.md
setup.sh
setup.sh
View all files
Repository files navigation
README
More items
ARID Drone Workspace
NVIDIA Jetson Orin · ROS 2 Humble · Isaac ROS · PX4
End-to-end workspace for the ARID quadrotor: bootstrap script, robot description, GStreamer-based CSI camera stack, RealSense visual-inertial SLAM, PX4 fork, USB-reset service, and Foxglove visualization.
ROS_DOMAIN_ID = 23 (non-standard). The default ROS 2 domain is 0; ARID systems run on domain 23 to isolate from other ROS networks on the same LAN. This is exported automatically by the host .bashrc and inside the Isaac container via arid_env.sh. Any tool that needs to see the graph (Foxglove, ros2 topic list from another machine, etc.) must be set to ROS_DOMAIN_ID=23 as well, or it will see nothing.
setup.sh
./setup.sh [--fresh | --patch]
--fresh — first-time installation on a new system
--patch — re-run after a git pull to pick up config / service changes
No flag — auto-selects --patch if the sentinel /etc/arid_first_setup_done exists, otherwise prompts
All output is logged to log/setup_log_<timestamp>.log.
Steps (in order)
Step
What it does
Mode
power
Sets nvpmodel to max power (mode 0); holds critical L4T / kernel packages from apt upgrades
both
repos
Adds ROS, Nvidia Jetson, and Docker APT repos; regenerates NVIDIA CDI config
both
apt
Installs ROS packages, libusb, camera-info-manager, compressed-image-transport, etc.
both
px4_deps
Runs PX4 Tools/setup/ubuntu.sh (interactive prompt) to install firmware build deps
fresh only
git
Sets git credential cache; fixes script permissions; initializes and updates submodules
both
docker_patches
Copies patched Dockerfile.arid, arid_env.sh, and run_dev.sh into the isaac_ros_common submodule; marks them skip-worktree so git ignores local changes
both
skip_worktree
Marks tracked files inside ros_gst_cameras/gst_camera_manager/config/ and px4_vslam/config/ as skip-worktree, so local edits (camera serials, calibrations, pipeline tuning) don't appear in git status or get pushed by accident
both
bashrc
Rewrites the host .bashrc block: ROS_DOMAIN_ID=23, workspace path exports, sources local_ws/install/setup.bash, adds aliases (run_isaac, colcon_local, reset_usb, etc.)
both
permissions
Sudoers rule (uhubctl, gpioset, systemctl, usb_reset.sh — all without password); USB + GPIO udev rules; polkit rule for reset_usb.service; adds user to dialout + gpio groups
both
uhubctl
Builds and installs uhubctl from source (skips if already installed)
both
systemd
Copies and enables all systemd services (see Boot sequence below)
both
ros_workspace
Installs Python deps (websockets, pyudev, pyserial, empy); runs rosdep install; builds local_ws with colcon
both
docker
Installs Docker engine + NVIDIA runtime (fresh); ensures Docker is running (patch)
both
Boot sequence
Auto-started services after boot:
Service
What it does
usbfs-memory.service
One-shot: raises usbcore.usbfs_memory_mb to 1000 (default 16) so high-bandwidth USB cameras (RealSense multi-stream) don't hit "Out of frame resources!" / watchdog timeouts. Runs before the Docker/camera services
jetson-clocks.service
Locks CPU/GPU clocks to maximum frequency (supplements nvpmodel)
start_isaac_docker.service
Pulls and starts the Isaac ROS Docker container (isaac_ros_dev-aarch64-container) so it's ready before any ROS nodes launch
arid_description.service
Launches robot_state_publisher for the ARID xacro — publishes /robot_description (latched) and /tf_static. The VSLAM stack waits for this before starting
gst_camera_manager.service
Starts the GStreamer camera manager — the cam_down pipeline is loaded but idle; activate via a SetBool service call (see Cameras)
usb_ros_reset.service
Hosts the /reset_usb ROS 2 service (Trigger) — performs a hardware USB reset on the ARK PAB carrier on demand
What to expect at login
Docker container running — docker ps shows isaac_ros_dev-aarch64-container.
ARID TF tree available — ros2 topic echo /tf_static --once --qos-durability transient_local returns immediately.
Camera manager idle — the cam_down service exists but no frames flowing yet.
Local workspace already sourced in .bashrc; ROS 2 packages in local_ws are immediately available.
Cameras (CSI)
One CSI camera pipeline defined in local_ws/src/ros_gst_cameras/gst_camera_manager/config/pipelines.yaml. Uses an IMX219 sensor @ 1920×1080 mono via nvarguscamerasrc → nvvidconv → appsink.
Pipeline
Sensor ID
Frame ID
Topic root
cam_down
sensor-id=0
bottom_visual_link
/cam_down
Start / stop / status:
# Start
ros2 service call /gst_camera_manager/cam_down std_srvs/srv/SetBool '{data: true}'
# Stop
ros2 service call /gst_camera_manager/cam_down std_srvs/srv/SetBool '{data: false}'
# Status (per-pipeline + global)
ros2 service call /gst_camera_manager/cam_down/status std_srvs/srv/Trigger '{}'
ros2 service call /gst_camera_manager/status_all std_srvs/srv/Trigger '{}'
ros2 service call /gst_camera_manager/stop_all std_srvs/srv/Trigger '{}'
Each pipeline publishes /<topic>/image_raw, /<topic>/image_raw/compressed, and /<topic>/camera_info. Liveness is exposed on /gst_camera_manager/<name>/alive (latched Bool). For deeper details (encoding auto-detect, default camera_info, QoS, alive_threshold, troubleshooting): see ros_gst_cameras/README.md.
Visual-Inertial SLAM (RealSense + Isaac ROS VSLAM)
Three RealSense cameras (D43X / D45X compatible) feeding the Isaac ROS VSLAM node, plus a PX4 bridge. Camera serials, resolutions, frame IDs are configured in isaac_ros-dev/src/px4_vslam/config/vslam_config.yaml.
# Inside the Isaac ROS container (use `start_isaac` then `isaac_bash`)
ros2 launch px4_vslam vslam.launch.py
# or just:
vslam
The launch blocks until /robot_description is on the graph (i.e. arid_description.service is up). It then starts:
3 × RealSense drivers (left, front, right)
Isaac ROS Visual SLAM node (6-camera stereo-multicam)
vio_transform — bridges VSLAM odometry into PX4 via uXRCE-DDS
vslam_reactor_node — supervises VSLAM, gates jumps, retries SetSlamPose on misalignment
Tunables for the reactor live in px4_vslam_reactor/config/reactor_conf.yaml. See px4_vslam/README.md and px4_vslam_reactor/README.md for full topic / service / config reference.
Before flying: edit vslam_config.yaml to match your specific RealSense serial numbers and the actual mount frames in arid_description/urdf/arid.xacro.
PX4 firmware
Custom PX4 fork at local_ws/auxiliary/PX4-Autopilot/ (submodule, branch PX4-InDro). Includes the ARID Quad V1.1 airframe (4025_arid_quad_v1_1) and Jetson-friendly install patches.
Build
cd local_ws/auxiliary/PX4-Autopilot
make ark_fmu-v6x_default # build for ARK FMU v6X
make ark_fmu-v6x_default upload # flash over USB (FMU in bootloader mode)
Output: build/ark_fmu-v6x_default/ark_fmu-v6x_default.px4.
Select the airframe at runtime
param set SYS_AUTOSTART 4025
param save
reboot
Robot description (arid_description)
Xacro description + meshes for ARID. Auto-launched on boot by arid_description.service, which runs display.launch.py with robot_state_publisher. Frames published include base_link, autopilot, four propellers, three RealSense links, the bottom_visual_link CV-camera frame, flow_link, and rangefinder_link.
For RViz / Foxglove visualization with this xacro, see arid_description/README.md.
Foxglove visualization
foxglove_bridge lives in local_ws/src/ros-foxglove-bridge. After building the workspace it's available as a regular ROS 2 launch:
ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765
# or (inside the container) just:
foxglove_bridge
Then connect Foxglove Studio to ws://<jetson-ip>:8765.
USB reset
The ARK PAB carrier's USB hub can be hardware-reset on demand via the /reset_usb service:
ros2 service call /reset_usb std_srvs/srv/Trigger '{}'
# or just:
reset_usb
The service node (usb_ros_reset.service) calls systemctl start reset_usb.service, which invokes scripts/usb_reset.sh (uhubctl). For details: reset_ark_usb/README.md.
Camera calibration
A wrapper around ros2 camera_calibration is at local_ws/auxiliary/camera_calibration/ — auto-detects display, bootstraps a numpy<2 venv (so cv_bridge works), interactively picks the topic, saves output as <topic_slug>_calibration.yaml next to the script. Built to work over a NoMachine remote display.
./local_ws/auxiliary/camera_calibration/camera_calibrate.sh
Useful aliases
Host (set by setup.sh):
run_isaac # Launch Isaac ROS Docker interactively
build_isaac # Rebuild the Isaac ROS Docker image
start_isaac # Start the container in background
stop_isaac # Stop the container
isaac_bash # Open a shell inside the running container
reset_usb # Manually trigger USB hub reset
colcon_local # Build local_ws and source it
clean_local # Clean local_ws build/install/log
rosdep_local # Install rosdep deps for local_ws
Inside the container (set by arid_env.sh):
reset_usb # Trigger USB reset via ROS service
vslam # Launch VSLAM (px4_vslam)
foxglove_bridge # Start Foxglove bridge on port 8765
rosdep_isaac # Install rosdep deps for isaac_ros_dev
colcon_isaac # Build isaac_ros_dev workspace
clean_isaac # Clean isaac_ros_dev build/install/log
Package reference
Custom packages (in this repo)
Package
Purpose
local_ws/src/arid_description
Xacro, meshes, RViz config; auto-launched on boot
local_ws/src/ros_gst_cameras
ROS 2 GStreamer-based camera stack (gst_cam_node + gst_camera_manager)
local_ws/src/reset_ark_usb
ROS 2 service wrapping the systemd USB-reset unit
local_ws/src/ros-foxglove-bridge
Foxglove WebSocket bridge (vendored copy)
local_ws/auxiliary/camera_calibration
Camera-calibration launcher (NoMachine-friendly)
isaac_ros-dev/src/px4_vslam
RealSense + Isaac VSLAM launch package + PX4 bridge
isaac_ros-dev/src/px4_vslam_reactor
VSLAM ↔ PX4 supervisor with YAML-tunable thresholds
Submodules (external upstreams)
Submodule
Role
local_ws/auxiliary/PX4-Autopilot
PX4 flight-stack fork (indro-robotics/PX4-Autopilot @ PX4-InDro) — adds the ARID Quad V1.1 airframe + Jetson install patches
local_ws/src/foxglove-sdk
Foxglove SDK pinned at tag sdk/v0.22.0 — provides the Foxglove WebSocket protocol library used by ros-foxglove-bridge
local_ws/src/px4_msgs
Upstream PX4 message definitions (PX4/px4_msgs @ release/1.15) — required by the host-side usb_ros_reset-style nodes that touch PX4 telemetry
isaac_ros-dev/src/isaac_ros_common
NVIDIA Isaac ROS shared base (Dockerfile chain, common message types, build helpers); patched by setup.sh to inject Dockerfile.arid and arid_env.sh
isaac_ros-dev/src/isaac_ros_nitros
NVIDIA's NITROS framework — zero-copy intra-process tensor / image transport that the VSLAM and image pipeline build on
isaac_ros-dev/src/isaac_ros_image_pipeline
Isaac ROS GPU image-processing nodes (RectifyNode, ImageFormatConverterNode, etc.) — used by VSLAM and consumable by other CV pipelines
isaac_ros-dev/src/isaac_ros_visual_slam
NVIDIA's GPU-accelerated visual SLAM node + its message/service interfaces — the VSLAM backend launched by px4_vslam
isaac_ros-dev/src/realsense-ros
Intel RealSense ROS 2 driver pinned at 4.51.1 — drives the three RealSense cameras feeding VSLAM
isaac_ros-dev/src/px4-ros2-interface-lib
Auterion's px4_ros2_cpp library at 1.4.0 — high-level mode/control SDK for writing custom flight modes against PX4
isaac_ros-dev/src/px4_msgs
Same upstream PX4 messages, mirrored inside the Isaac ROS workspace so container-side packages can build against them
About
Repository for InDro's Autonomous Research Indoor Drone (ARID)
Resources
Readme
Activity
Custom properties
Stars
0 stars
Watchers
0 watching
Forks
1 fork
Report repository
Releases
Packages
Contributors
Languages
Footer
© 2026 GitHub, Inc.
Footer navigation
Terms
Privacy
Security
Status
Community
Docs
Contact
Manage cookies
Do not share my personal information
You can’t perform that action at this time.Identifikace uložené verze
SHA-256: faae0360667fceda39314368cba1be1b79c288fcebb56b2ff534b3c7fcaa7ebc