<< return to Vizycam.com

User Tools

Site Tools


wiki:pet_companion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
wiki:pet_companion [2020/09/28 16:54]
vizycam
wiki:pet_companion [2021/10/17 12:27]
vizycam
Line 2: Line 2:
 ====== Pet Companion tutorial ====== ====== Pet Companion tutorial ======
  
 +**Note, this page is using an older version of Vizy's software. ​ We will update this page to reflect Vizy's latest software in the coming weeks. Refer to our [[https://​docs.google.com/​spreadsheets/​d/​1UnN9SyLganIXv5jGsvLAsqacvitxkMzRXpjzAuxa1Ig/​edit#​gid=0|schedule]] for more information.**
  
 {{wiki:​bonzer4.mp4|670x10|loop,​autoplay}} {{wiki:​bonzer4.mp4|670x10|loop,​autoplay}}
Line 46: Line 47:
  
  
-Vizy runs a full Linux (Raspberry Pi OS) including file system (files, directories,​ and such), and we need to access the file system to add and edit some files. ​ This can be done by accessing a "​network share volume"​ on Vizy, or you can access the file system using and browser and Vizy's built-in text editor. ​  +Vizy runs a full Linux (Raspberry Pi OS) including file system (files, directories,​ and such), and we need to access the file system to add and edit some files. ​ This can be done by accessing a "​network share volume"​ on Vizy, or you can access the file system using and browser and Vizy'​s ​[[wiki:​vizy_editor|built-in text editor]].   
  
  
Line 66: Line 67:
 === Strictly through browser === === Strictly through browser ===
  
-If you don't want to bother with opening a network share volume on Vizy, you can use Vizy's built-in text editor ​FIXME!.  Vizy's editor is reasonably sophisticated and allows you to create as well as edit files on Vizy.  ​+If you don't want to bother with opening a network share volume on Vizy, you can use Vizy'​s ​[[wiki:​vizy_editor|built-in text editor]].  Vizy's editor is reasonably sophisticated and allows you to create as well as edit files on Vizy.  ​
  
  
 ==== Creating the new directory and new source file ==== ==== Creating the new directory and new source file ====
  
-Once you have access to the views directory, create a new directory called ''​pet\_companion''​ inside the ''​view''​ directory. ​ This is where all of our application'​s code and resources will live.  And from within ''​pet\_companion'' ​ directory create a new file called ''​pet\_companion.py''​ using your favorite text editor (or Vizy's built-in text editor.) ​ Inside the file copy the text:+Once you have access to the views directory, create a new directory called ''​pet\_companion''​ inside the ''​view''​ directory. ​ This is where all of our application'​s code and resources will live.  And from within ''​pet\_companion'' ​ directory create a new file called ''​pet\_companion.py''​ using your favorite text editor (or Vizy'​s ​[[wiki:​vizy_editor|built-in text editor]].)  Inside the file copy the text:
  
 <sxh python; highlight: [14, 24, 26, 4, 22]; title: pet_companion.py,​ creating our Pet Companion view:> <sxh python; highlight: [14, 24, 26, 4, 22]; title: pet_companion.py,​ creating our Pet Companion view:>
Line 503: Line 504:
  
 And, of course, your pet thanks you! And, of course, your pet thanks you!
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
-  ​ 
  
wiki/pet_companion.txt ยท Last modified: 2023/04/12 16:41 by vizycam