Skip to main content
The Neuronav SDK is designed to be easily extensible. You can add support for any depth camera by implementing the SensorBase interface. This guide shows you how to integrate new sensors in under 20 minutes.

Quick Start Template

Here’s a complete template for adding a new sensor:

Step-by-Step Guide

Step 1: Understand Your Camera

Before implementing, gather information about your camera:

Step 2: Create Sensor Class

Create a new file neuronav/sensors/your_camera.py:

Step 3: Implement Core Methods

Configure Method

Start Method

Stop Method

Get Methods

Step 4: Handle Special Cases

Multiple Processes

Some cameras require multiple nodes:

Topic Remapping

If your camera uses different topic names:

Network Cameras

For IP/network cameras:

Step 5: Add to Package

Update neuronav/sensors/__init__.py:
Update main neuronav/__init__.py:

Step 6: Test Your Sensor

Create a test script:

Testing Checklist

Before considering your sensor integration complete:

Next Steps

Test with SLAM

Run SLAM with your new sensor

Share Your Integration

Contribute your sensor to the SDK

Configuration Guide

Learn about advanced configuration

Troubleshooting

Debug common integration issues

Contributing Your Sensor

If you’ve successfully integrated a new sensor, consider contributing it back to the community:
  1. Fork the Neuronav SDK repository
  2. Add your sensor implementation
  3. Include documentation and examples
  4. Submit a pull request
We’d love to expand our sensor support!