Closed AceyGit closed 1 year ago
Hi @AceyGit, I'm guessing you're running ROS in WSL? WSL uses a network bridge, so the ROS bridge can have troubles finding the simulator. Try to get your WSL host ip, for instance with this command:
cat /etc/resolv.conf | grep nameserver | cut -d ' ' -f 2
And try to use the host
parameter of the ROS bridge (this value defaults to localhost
)
Hi @wouter-heerwegh,
Thank you for the help, it has gotten me over the first hurdle and mainly solved my issues. I can now connect successfully but when I do connect with Rviz in which it appears that camera data is not being published, inclusive of when I run
rostopic /fsds/camera/cam1
I am not moving the vehicle as of yet, and I want to make sure that would not affect this. As well, I would like your advice as to where to start/ how to move the vehicle for a person new to this 'software', seeing as a keyboard does not work whilst on the bridge.
Any help or pointers in the right direction is greatly appreciated. Thanks!
I do see /fsds/cam1
and /fsds/cam2
, do these contain the images? If so I'll update the documentation to contain the correct topic names
Yep, that does appear to be the case!
The code in the bridges has been updated to properly follow the information in the docs (#356)
Hey everyone, I'm a very fresh face in the AV/DV world and have started my final year project on it. I am getting a very similar issue to #353 and can't seem to work it out, as I have restarted a million times, reverted back to v2.1, attempted (and failed) compiling the simulator and so much more but no luck.
I am running: Ubuntu - 18.04.5 LTS on WSL ROS Melodic Pre-compiled fsds executable file at C:/users/username/Formula-Student-Driverless-Simulator
Having followed the setup guide to the best of my knowledge, I have been getting the following error when I try and launch the ROS bridge and didn't particularly understand the solution from the other issue closed.
Any help would be greatly appreciated,
Thanks!