Skip to content
/ Ryap Public

M5StickC sensor information (accuracy, gyro, attitude (rotation)) is transmitted by UDP on Wifi.

License

Notifications You must be signed in to change notification settings

machidyo/Ryap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ryap

M5StickC sensor information (accuracy, gyro, attitude (rotation)) is transmitted by UDP on Wifi.

日本語はこちら

Thanks to AxisOrange

I am using some of AxisOrange's code. I think it is better to use this for reference of connection and code via Bluetooth.

Tools and libraries

How to use

Setting

  1. git clone
  2. set the wifi information and the destination IP (set https://github.com/machidyo/Ryap/blob/master/src/main.cpp#L13-L15)
  3. install to M5StickC
  4. confirm to connect to Wifi (*1)

*1 Wifi connection confirmation supplement

  • Make sure you see the IP as --ryap--192.198.137.143
  • If you cannot connect to Wifi, only --ryap-- will be displayed. Please review the SSID, password, etc.
  • IP is a sample and depends on the environment.

Operation check

  1. git clone [RypaUnity] (https://github.com/machidyo/RyapUnity)
  2. Open and run in Unity.
  3. Make sure the M5StickC on the Unity screen moves as the M5StickC moves.
  4. If the movement is correct but the orientation is different in the first place, make the M5StickC horizontal once, press the A button to adjust the initial posture, and then check again. Demonstrated in the middle of the video.

About

M5StickC sensor information (accuracy, gyro, attitude (rotation)) is transmitted by UDP on Wifi.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages