|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Wireless options for 2nd system
We're currently ordering our 2nd system and the two obvious options to us on the Driverstation side were to wire it into the same router as the other Driverstation (which is what we are doing) or buy another router for it.
The only downside I can think of is that it requires the two control boards to be physically wired together during practice. I had an idea though, and really don't have near enough savvy with the new system to know if it would work. Could we purchase a gaming adapter like on the robot, and put that on to the 2nd controller to act as a bridge with the router? This would save us some money over buying another router, but still allow the convenience of not having to wire both controllers together. Please let me know if this possible, or if I'm just being silly. |
|
#2
|
|||||
|
|||||
|
Re: Wireless options for 2nd system
I haven't looked over the documentation for the new system entirely yet, but it's my understanding that the driver station needs a specific IP, which means that the two systems could not be networked together, as they would both be set to the same IP address.
As an aside, I know that somebody mentioned somewhere, for a non-competition system, you could look into using cheaper 802.11b/g hardware, rather than paying the extra for the 11n hardware... |
|
#3
|
|||||
|
|||||
|
Re: Wireless options for 2nd system
Quote:
|
|
#4
|
|||||
|
|||||
|
Re: Wireless options for 2nd system
Yes(as far as I know - have not seen any final documentation on the FMS for this year yet), but part of your IP is also your team number, that's how it is keeping things separate.
|
|
#5
|
|||||
|
|||||
|
Re: Wireless options for 2nd system
Quote:
but, can we use a gaming adapter on the 2nd? |
|
#6
|
||||
|
||||
|
Re: Wireless options for 2nd system
Can't you just change the last digit of the IP to something that isn't being used, say 10.XX.YY.9? I think that would work for non-official practices and what not. There's even a spot in you cRIO to define is as robot "2" if I remember correctly.
|
|
#7
|
|||||
|
|||||
|
Re: Wireless options for 2nd system
Unfortunately, no(at least as is my understanding)...the cRIO firmware expects a certain IP for the driver station in order to communicate.
|
|
#8
|
||||
|
||||
|
Re: Wireless options for 2nd system
If you set your team# on the second drivers station/cRio to something else, then you will be able to purchase a new gaming adapter for the second robot, and it won't interfere.
If you want to save money you can purchase a lower cost WiFi G adapter, and enable the 2.4ghz functionality of the router. |
|
#9
|
||||
|
||||
|
Re: Wireless options for 2nd system
The easiest solution would be if the router (OI side of the wireless) supported the 255.0.0.0 subnet mask. If it did you would be able to have a 10.xx.yy.device network and a 10.aa.bb.device network. Unfortunately the router we were supplied with will only support a 255.255.255.0 subnet mask.
The reason this would work is that the subnet mask defines what IP addresses the router routes. For example if your routers IP was 10.99.99.4 (team 9999) with the subnet mask of 255.255.255.0 it will only look for devices with 10.99.99.x IP addresses on the LAN ports. If the subnet mask was 255.0.0.0 the router would look for all IP addresses starting with 10.x.y.z. If you had a router that you could setup with a 255.0.0.0 subnet mask you would be able to setup 2 separate control systems on the same router as long as each control system had individual "team number" IP address sets. The router would just have to have any 10.x.y.z address. Let me know if you have any questions on this. I would love to explain it more if needed ![]() ...Forest Immel |
|
#10
|
|||||
|
|||||
|
Re: Wireless options for 2nd system
Okay, I think I was a little vague and also am having trouble keeping up with some of this.
We will have two control systems and two robots, and a gaming adapter on each robot. We will have two control board, the comp bot control board has the given router, the 2nd we currently plan on wiring to the same router (and just setting a different team number). This is possible, and this works, correct? What we were wondering, is could we take that scenario one step farther and eliminate the wire between boards by throwing a gaming adapter on the control board for the practice robot (remember, also a gaming adapter on each robot, each driver station set up with a unique team number). I'm pretty much wondering if we can simulate it being hardwired with that gaming adapter, or, does the driver station expect to be physically wired into a router (regardless of the number of other teams on that router). We want to keep standardized equipment, we don't want to delve into using other equipment. We also don't want to use two routers. |
|
#11
|
||||
|
||||
|
Re: Wireless options for 2nd system
Quote:
Quote:
If you're looking to save money you can use a lower price WiFi G adapter, but you would need to enable the 2.4ghz radio on the router. This would also give you the added advantage of being able to debug/program/view dashboard totally wirelessly from both robots, assuming you have a laptop with wireless G or B. And yes, I have tested this and it does work. If you want more info just ask. |
|
#12
|
||||
|
||||
|
Re: Wireless options for 2nd system
Thanks for the subnet clarification. I learned something new
i wasn't sure how that got handled. ...Forest |
|
#13
|
||||
|
||||
|
Re: Wireless options for 2nd system
Quote:
Since we are only communicating on a LAN, i.e. on a single switch, router device is never involved in the communications between the DS and the cRio. You can test this by changing the Ip address of the router to something else. It will still work. /Explanation So long as each device has its own IP, which happens if you change you team number, and the subnet masks of the devices communicating(DSs and cRios) match, then it will work. If you don't read my whole post, if you change the team number on one DS and one cRio, then they will connect and not interfere. If you have any questions I'll try to explain it more. |
|
#14
|
||||
|
||||
|
Re: Wireless options for 2nd system
Quote:
I'd be happy to hear if any one has an explanation for what we observed. Case 1) router out of the box - IP address 192.168.0.1, - everything worked fine, using static IP for computers and robot (set to 10.0.0.X or 10.14.25.X depending on where we were in the configuration process). Case 2) router set to 10.14.25.1 with DHCP enabled, netmask 255.255.255.0. In this case things work well except if we need to reimage the cRIO using the imaging tool (format, not just retarget C++ - Labview). If the robot was connected directly to the router, the re image would fail due to network failure at the point where the IP address was changed. If the robot was attached wirelessly, the reformat/reimage process would work. This leads me to belive that the router would not be well behaved if you are trying to use a different team number. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cost of 2nd Control System | Mark McLeod | FRC Control System | 11 | 11-12-2008 18:06 |
| New Control System - Wireless Problems | Ashwin | FRC Control System | 13 | 11-12-2008 10:38 |
| New Control System Wireless Bridge Power? | Greg Marra | General Forum | 3 | 21-09-2008 17:19 |
| Boilermaker Regional Wireless Scouting System. | Josh Hambright | Regional Competitions | 4 | 21-03-2005 19:48 |
| A question about control system options | computhief263 | Control System | 7 | 04-02-2004 14:46 |