-
Notifications
You must be signed in to change notification settings - Fork 46
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
create3 not scanning for network #257
Comments
Looking through the logs I do see a lot of "missing file" errors and network errors overall. Not sure if that should be the case?
|
If the Network is down, it can be brought up by doing the following series of steps (Ignore the step numbers, do them in the order that I am showing here): These are a subset of the create3 setup guide found here: https://edu.irobot.com/create3-setup. You can go through all of the steps listed there but you should have already done the update step and the mutli-robot namespacing should be done through the turtlebot4-setup tool not through the create3 interface. Additionally, please note that for discovery server, the create3 should not be connected to the internet. It is only for simple discovery where the create3 should be directly connected to the internet. |
Thank you @hilary-luo |
Hmmm, you can give it a try but simple discovery does result in more network traffic so if you are seeing an issue with the network not being able to handle the traffic then this is unlikely to fix it. Good luck and feel free to let me know if you are looking for more assistance. |
It would seem I'm not out of the woods yet. However, when launching diagnostics no data is coming though. Running Rviz is showing OK for the camera but no image is showing. Yet, using the teleop keyboard on my pc I can make the bot move. If I compare the topic list from the PI to the pc, there seems to be a significant difference. Does that mean that icreate and the bot aren't really communicating well? What would be the right steps to try and resolve this? --- /Users/sascha/Downloads/bot/ubuntu_pi.txt Tue Sep 5 14:17:51 2023
+++ /Users/sascha/Downloads/bot/ubuntu_pc.txt Tue Sep 5 14:18:32 2023
@@ -1,34 +1,35 @@
/battery_state
+/clicked_point
+/cliff_intensity
+/cmd_audio
+/cmd_lightring
/cmd_vel
-/color/preview/image
-/diagnostics
-/diagnostics_agg
-/diagnostics_toplevel_state
/dock_status
-/function_calls
+/goal_pose
/hazard_detection
-/hmi/buttons
-/hmi/display
-/hmi/display/message
-/hmi/led
/imu
+/initialpose
/interface_buttons
-/ip
-/joint_states
-/joy
-/joy/set_feedback
+/ir_intensity
+/ir_opcode
+/kidnap_status
+/mobility_monitor/transition_event
/mouse
/oakd/rgb/preview/camera_info
/oakd/rgb/preview/image_raw
-/oakd/rgb/preview/image_raw/compressed
-/oakd/rgb/preview/image_raw/compressedDepth
-/oakd/rgb/preview/image_raw/theora
+/odom
/parameter_events
/robot_description
+/robot_state/transition_event
/rosout
/scan
-/stereo/depth
+/slip_status
+/static_transform/transition_event
+/stop_status
/tf
/tf_static
/wheel_status
+/wheel_ticks
+/wheel_vels
+ It's also worth noting that the display on the bot isn't giving battery info, and there are only 3 of the 5 led lights on. (left, middle and right) |
So for now I've given up on simple discover - instead I'm trying with the discovery server again. However the moment I run Do you have any thoughts on ways to reduce the network traffic? Or maybe some thoughts on wifi routers that have more bandwidth? |
I agree that it seems as though the devices were not all set up properly in simple discovery. But as you say, we can continue with discovery server. In regards to the network, have you connected the raspberry pi to a 5GHz network? That would be the first place to start, in order for your system to be able to support full functionality. What are the symptoms that make you say that the wifi is saturated? I am running my turtlebots off of a dlink router I got from a thrift shop, I just made sure that it supported 5 GHz. In the meantime, there are some things you can do to limit the network traffic but it involves reducing which features that you use. When you say that when you launch rviz with lidar and camera, the wifi is saturated, are you trying to actually display the camera feed in rviz or just launching rviz to begin with? You should be able to launch rviz without subscribing to / displaying the camera feed. That should really cut down on the network traffic. Also, if you have diagnostics on, try turning it off (can be turned off through the turtlebot-setup tool). That should also reduce the network traffic. |
Fair enough. I'll probably like to circle back to this once the networking issue is resolved. As you say simple discovery will increase the network traffic even more. So that sounds like #1 to deal with.
So the wifi is pre-dual band. I read in the docs that dual-band would work better, never realising that this dual band is really a requirement more than an optional "improvement". The AP I ordered last night is a Zyxell NWA210X. Probably overkill judging from your response - but this current pre-dual band router I'm using isn't cutting it.
Hmm, can't seem to find that option in the turtle-bot setup. I did see some options like this when running |
Investing in a good quality AP sets you up well for future work. I assume that you are referring to finding the option to turn off diagnostics. It is actually a setting on the robot that you will change, not accessed through ROS2 services. SSH into the robot and run |
Success! So for sure, buy yourself a modern Wifi Access point. Lol I'll try getting the simple discovery running as well. |
I do not understand the step 3. Where is the listing supposed to be exactly? I work with Ubuntu 22.04 in a Virtual Machine. |
Here's the downloaded log file for your reference: Do you recommend any resource(books, video tutorials, blog articles etc..) to make sense of the messages in the log file? That would be much appreciated. Thank you. |
It's in the create3 screen. The wifi SSID input field will turn into a dropdown once the wifi is live. Also it won't show you which SSID you're actually connected to. But if you're connected to a wifi and all went well you'll see an ip-address. |
I do not get the dropdown activated. There is an Identify Robot button on top as shown in the picture below, which when I click the light ring turns solid cyan, Assuming that Create-3 is then connected to the Computer's Wi Fi, I tried opening the 192.168.10.1 page mentioned in the Instruction steps and it would not open, A snapshot of the logs corresponding to the action for your reference, Also, when I try and download the logs, the logs that are downloaded seem to be random and not corresponding to the most relevant and latest ones. Is this a bug or have I misunderstood something? @hilary-luo |
@ramakrishnasakethi Please discuss your issue on your open ticket. If you wish to ask other people questions you can tag them on your ticket but for my own sanity I will be responding to you with troubleshooting steps etc. on your ticket only (or tickets when you have multiple independent issues open). I have responded there about the fact that you have not successfully enabled the hotspot / wifi on your create3 robot. @sdobbelaere Would you agree that this issue is now resolved for you and the ticket can be closed? Thank you for entering the PR, I (or a colleague) will review and get back to you. |
Indeed, ticket resolved. Thank you for your help @hilary-luo |
Please provide the following information:
Expected behaviour
List of SSIDs to select network on the create3 web interface.
Actual behaviour
Dropdown remains empty. Digging in logs, the message "network is down" keeps coming back.
What I've done so far:
every time followed by looking in the dropdown and re-scanning for networks.
In the logs, I keep seeing a message
Interface doesn't support scanning : Network is down
for wlan0.Similarly, manually setting the SSID and password don't work.
Logs
Aside from the issue at hand, It would be nice to better understand the relation between the create3 and the rest of the bot. They seem to be 2 independent systems, yet not entirely. I'm having a hard time identifying the relation.
The text was updated successfully, but these errors were encountered: