JakobEngel / dso

Direct Sparse Odometry
GNU General Public License v3.0
2.27k stars 906 forks source link

Running without GUI #244

Open anatoly-kryzhanovsky opened 2 years ago

anatoly-kryzhanovsky commented 2 years ago

Good day i try to launch dso on my raspberry with ROS.

i have raspberry with camera and ubuntu server on it also i have pc with ubuntu desktop

i can run camera node on raspberry and use it on my PC with dso_ros package

now i want to move dso_ros to raspberry i compile dso without pangolin, remove usage of pangolin in dso_ros

but then i start it on raspberry i receive following error

Unable to init server: Could not connect: Connection refused

(post Optimize:22143): Gtk-WARNING **: 13:47:34.346: cannot open display:
dso_live: /usr/include/boost/thread/pthread/mutex.hpp:56: boost::mutex::~mutex(): Assertion `!posix::pthread_mutex_destroy(&m)' failed.
Aborted (core dumped)

so, because i didn't find any link to GUI in dso_ros i think that i miss something then prepare dso. can anybody helm me?

anatoly-kryzhanovsky commented 2 years ago

ok, i found the issie - there is invoke of debugPlot method in FullSystem.cpp. just comment them anr recompile.