EdwardLiuyc / StaticMapping

Use LiDAR to map the static world
MIT License
340 stars 69 forks source link

[registerPublisher] Failed to contact master at [master:11311]. Retrying... #60

Closed promistrio closed 2 years ago

promistrio commented 2 years ago

Hi! I have Ubuntu 20. ROS Noetic. After runing any mapping scripts I've got error.

[registerPublisher] Failed to contact master at [master:11311].  Retrying...

Some additional commands didn't documented in ReadME

promistrio commented 2 years ago

I solve it just run

export ROS_HOSTNAME=localhost 
export ROS_MASTER_URI=http://localhost:11311
roscore

before script, but i've got next problem. I will describe it in new issue

EdwardLiuyc commented 2 years ago

@promistrio Basically, I thought running roscore before you run anything in ROS should be a common knowledge. So I didn't mention it in the readme.