-
Notifications
You must be signed in to change notification settings - Fork 0
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
Problem on Project [Husky_Lasertag_Game] #46
Comments
In step 1 the master node needs to export those environment variables before running roscore.
Each time either of you open a terminal window, make sure to export those same environment variables before running any commands in that terminal.
…-chase murray
On Apr 6, 2024, at 3:12 PM, hh ***@***.***> wrote:
Hi Dr. Murray,
When we tried to connect each other's machine, it seems that we are not able to see the topic data from guest's side.
Here is what we did:
1: "master" runs ifconfig and get ip address, then runs roscore
2. "guest" runs export ROS_MASTER_URI="http://ipadress:11311"
3. both run rostopic list and got the same output
4.
* Following the ROS wiki for running across two machines<http://wiki.ros.org/ROS/Tutorials/MultipleMachines>, one runs rosrun rospy_tutorials listener.py, the other runs rosrun rospy_tutorials talker.py: the listener can't get anything while talker's terminal keeps popping out "hello world".
* "master" runs roslaunch husky_gazebo empty_world.launch, and both runs rostopic list and got the same output. When "master" tries rostopic echo /front/scan, it works fine; but when "guest" runs rostopic echo /front/scan it says "WARNING: no messages received and simulated time is active. Is /clock being pushlished?"
1. Following Answer for solving the error above<https://answers.ros.org/question/12083/messages-being-blocked-from-publishing/>, "guest" tries rosparam set use_sim_time false, which doesn't work and returns "too many arguments"
2. Besides that, we also followed ROS networksetup<http://wiki.ros.org/ROS/NetworkSetup>. We pinged each other, and did netcat. Both works correctly.
We don't know what's going until here. Could you please let us know how to deal with it or provide any useful link for solving this problem? We appreciate your help.
Best,
Huize and Kaiwen
—
Reply to this email directly, view it on GitHub<#46>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AENBMDCAOXLRBYGNR7MCDELY4BCITAVCNFSM6AAAAABF2U66ZWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDSMZWHE4TSOI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
We tried to run |
On the master
The master computer must export both of these environment variables in each terminal window, before you run any other ROS-related commands. You may wish to put these in your
On each client
|
Got it work. Thank you professor. |
Hi Dr. Murray,
When we tried to connect each other's machine, it seems that we are not able to see the topic data from guest's side.
Here is what we did:
1: "master" runs
ifconfig
and get ip address, then runsroscore
2. "guest" runs
export ROS_MASTER_URI="http://ipadress:11311"
3. both run
rostopic list
and got the same output4.
rosrun rospy_tutorials listener.py
, the other runsrosrun rospy_tutorials talker.py
: the listener can't get anything while talker's terminal keeps popping out "hello world".roslaunch husky_gazebo empty_world.launch
, and both runsrostopic list
and got the same output. When "master" triesrostopic echo /front/scan
, it works fine; but when "guest" runsrostopic echo /front/scan
it says "WARNING: no messages received and simulated time is active. Is /clock being pushlished?"rosparam set use_sim_time false
, which doesn't work and returns "too many arguments"We don't know what's going until here. Could you please let us know how to deal with it or provide any useful link for solving this problem? We appreciate your help.
Best,
Huize and Kaiwen
The text was updated successfully, but these errors were encountered: