Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot read csv_asvp_sound_speed data #94

Open
B3ND3R opened this issue Aug 22, 2023 · 0 comments
Open

cannot read csv_asvp_sound_speed data #94

B3ND3R opened this issue Aug 22, 2023 · 0 comments

Comments

@B3ND3R
Copy link

B3ND3R commented Aug 22, 2023

I updated the Dockerfile to the following

FROM ros:noetic-ros-core-focal

RUN apt-get update && apt-get upgrade -y 
RUN apt-get install -y libcereal-dev libglfw3-dev libceres-dev libtinyxml2-dev libopencv-dev python3-pip python3-opencv 
RUN apt-get install -y xorg-dev
RUN pip install ipython==5.0.0

RUN apt-get install git -y
RUN git clone https://github.com/nilsbore/auvlib.git
WORKDIR auvlib
RUN git submodule update --init && mkdir -p build
WORKDIR build
RUN cmake -DCMAKE_INSTALL_PREFIX=../install .. ; exit 0
RUN make -j4
RUN make install

RUN echo "export PYTHONPATH=$PYTHONPATH:/auvlib/install/lib" >> ~/.bashrc && /bin/bash -c "source ~/.bashrc"  && rm -rf /var/lib/apt/lists/*

The container builds successfully. I can start the python3 interpreter and import the csv_data utility

from auvlib.data_tools import csv_data

However, when I try to run
sound_speeds = csv_data.csv_asvp_sound_speed.parse_file(svp_path)

I get the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: vector::_M_default_append

I've also tried adding auvlib/install/share to PATH and running ldconfig, but that doesn't work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant