Correct me, but wouldn't the rfnoc'ed E310 still be feeding its GPS
data into the gpsd running on the linux so that getting GPS location
from python would amount to using gpsd?

Best regards,
Marcus
On Mon, 2018-10-22 at 20:40 -0400, EJ Kreinar via USRP-users wrote:
> Hi Jason,
> 
> I don't have that change available now, but you can pretty easily
> make a mod to add the get_mboard_sensor functionally into an rfnoc
> block.
> 
> I'd recommend starting with gr-ettus... take a look through the
> updates to radio_block_impl.cc and .h to see how to add new
> functionality (Darek Kozel has a particularly relevant commit about a
> year ago): 
> https://github.com/EttusResearch/gr-ettus/commits/master/lib/rfnoc_radio_impl.cc
> 
> You'll also need to update some software in uhd to make things happy.
> Hope this helps! I agree it's one of those things that might be nice
> to have in the main tree.
> 
> EJ
> 
> On Mon, Oct 22, 2018, 11:08 AM Jason Matusiak via USRP-users <
> usrp-users@lists.ettus.com> wrote:
> > I was trying to get GPS from a python OOT module block, but it
> > doesn't look like it is possible when running RFNoC mode.
> >  
> > I have top_block passed in, and I tried the command:
> >  
> >                 print
> > self.top_block.uhd_rfnoc_streamer_radio_0.get_mboard_sensor('gps_po
> > sition')
> >  
> > But I get the error:
> > print
> > self.top_block.uhd_rfnoc_streamer_radio_0.get_mboard_sensor('gps_po
> > sition')
> > AttributeError: 'rfnoc_radio_sptr' object has no attribute
> > 'get_mboard_sensor'
> > thread[thread-per-block[0]: <block retune_from_yaml (74)>]: SWIG
> > director method error. Error detected when calling 'feval_ll.eval'
> >  
> > Any idea how to do this?  I tried poking through the mailing list
> > as well as the USRP manual, but I don't see any way to do it when
> > you are an RFNoC radio.
> >  
> > ~Jason
> > _______________________________________________
> > USRP-users mailing list
> > USRP-users@lists.ettus.com
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to