The sensor packages are located within the data directory of the indro-base folder. To access this directory, open a terminal and run the following command:
cd ~/docker/indro-base/data
Once inside the data folder, you can navigate to the specific sensor package you want to modify. For example, to access the RoboSense package, use the command below:
cd rslidar_sdk # replace with the actual directory name
ls
After making the necessary changes to the sensor package, you will need to rebuild the Docker image to apply these changes.
Navigate back to the indro-base directory:
cd ~/docker/indro-base
Run the following commands to build and run the Docker container:
docker-compose build
docker-compose up --force-reacreate -d
After making changes to a sensor package or if you need to troubleshoot, you can check the status of a sensor by viewing the logs for its corresponding Docker service.
To view the logs, use the following command in the terminal, replacing <container_name> with the actual name of the Docker service for the sensor you wish to check:
docker logs <container_name>
For example, to check the logs for the phidget_imu sensor, you would use:
docker logs phidget