Go to Post Programming isn't that hard once you get the hang of it. It has a steep learning curve like math. One day your trying to figure out 1 1, then the next day they throw x and y at you. Once you understand what x and y represent and learn to think in terms of functions, it's as easy as pi. - sciguy125 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread Yesterday, 17:10
matthewha123 matthewha123 is offline
Registered User
FRC #3929
 
Join Date: Feb 2017
Location: Philadelphia, PA
Posts: 3
matthewha123 is an unknown quantity at this point
Connecting IP Axis Camera and Raspberry Pi

Hello, I was wondering if any of you guys have experience with connecting the Raspberry Pi to the Roborio through the usb port, and accessing the Axis camera(connected to the radio) stream through the roborio. Would the video address in the python code on the pi just be something like: 10.39.29.105.
Also, would the default usb ip address, 172.22.11.2, work as an initialization address for NetworkTables, on the raspberry pi side?

Thank you!
Reply With Quote
  #2   Spotlight this post!  
Unread Yesterday, 17:30
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 80
gerthworm has a spectacular aura aboutgerthworm has a spectacular aura about
Re: Connecting IP Axis Camera and Raspberry Pi

Can't say I've heard of that setup before - Getting the camera stream through the RIO would induce some delay, and require the USB and physical ethernet ports to be bridged in the RIO's OS network configuration (using a set of linux commands I'm not super familiar with). Even while bridged, I think it's often required to have both network ports on the same subnet, or have some router-like software performing the translation? Not 100% sure, this is all just bits and pieces we picked up while experimenting this year. I'd be interested to hear if anyone has accomplished this architecture, but I don't think it's very common.

The architecture I think is more common is for the Pi, Camera, and RIO to all be hooked together with an ethernet switch, and all be assigned fixed IP addresses (using the 10.TE.AM.XX format where XX > 02 and <= 10).
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi