Latest | Stable |
---|---|
Provides a way controlling the motor directly on the MJSXJ02CM camera.
- Is it the same as mine?
- Get a shell
Install these mods to get a shell from within your camera:
https://github.com/telmomarques/xiaomi-360-1080p-hacks
-
Download the latest release from releases
-
Copy the contents of "hacks" folder to the hacks folder in your SD Card
-
Power off the camera and insert the SD Card
-
Power on the camera
-
Open the web interface on the camrea on your browser http:8080//<your-camera-ip/
- Install docker
sudo apt-get install -y docker.io
- Clonning the repo
git clone https://github.com/thewh1teagle/xiaomi-1080-360-motor-control.git
- Build the container
sudo docker build -t motor .
- Run docker container with current directory mounted
sudo docker run -it -v $(pwd):/src motor
- Cross compile (in every different module e.g web_control)
make cross
You can also build it for your pc to test it without the camera.
make test
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd) ./motord
- Clean everything!
sudo docker image rm motor --force
sudo apt autoremove docker.io
Enjoy!