Skip to content

kaisucode/nerf-navigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nerf Navigation

Installation

  • Follow the installation steps in the chvmp/champ repository. We've already included customizations for Spot, so no need to follow the additional instructions linked underneath section 1.1.
  • Follow the installation steps in the ngp_pl repository. We ran our program under pytorch 1.13.1+cu117.

To begin data collection through spot sensors

Navigate to src/

mkdir ../../spot_data

python main.py

Hit ctrl-c after a desired amount of keyframes have been captured, and the program will store the data in the spot_data folder

To control Spot 

Navigate to spot-sdk/python/examples/wasd

python wasd.py $ROBOT_IP

In the grey Spot client

  • Press 'p' to begin RRT* planning from current location to specified location in wasd.py
  • Press number keys 1~9 to navigate and plan to other preset locations instead
  • Press 'm' to execute a single step in the plan
  • Press 'M' to execute all steps in the plan
  • Press 'B' to move arm into position for data collection
  • Press 'o' to open the arm (this allows full, unobstructed view for the camera)
  • Press 'c' to log the current position in the console

To visualize the reconstruction from I-NGP

Navigate to NeRF/ngp_pl

python show_gui.py --root_dir ../../../spot_data/ --exp_name Spot --dataset_name spot_vis --ckpt_path ../../../spot_data/ckpts/spot_online/Spot/2_slim.ckpt

Reference

ngp_pl

instant-ngp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •