Package: rocket-daisy
# Rocket-daisy## Remote open control - key enabling technology for any ARM—Rocket is a user customizable remote control application intended mainly for electronics hobby projects.Rocket connects 2 drives remote control and camera via WiFi (TCP). The network can be either in AP mode or STA mode. Using the APP you can control all movement directions plus arm and tool servos. In STA mode, your hobby target is a real Internet of Things device and can be controlled through WAN and LAN remotely.>Disclaimer: Don’t use Rocket for life support systems or any other situations where system failure may affect user or environmental safety. Please don’t use Rocket in projects where high-level security is required.All the commands send from Rocket are ordered in array with length of 15 bytes.
All required adjustments and command interpretations are stored and done in python.
All required target adjustments and command interpretations are stored and done in python.
Probably you will need to adapt the Rocket to meet the requirements of your hobby project. In that case you will need python knowledge regarding script and direction converter module adaptation.
Bundling daisy as core component gives you the opportunity of using any debian distribution as operation system of your target.
In general Rocket depends, demands and use daisy server on target side.
Each button on the App screen uses daisy macros to achieve the functionality behind.
These macros are custom Pythons functions automatically bound to the REST API, so they are remotely callable. They allow to remotely trigger complex computation on the hardware - by example Raspberry Pi, manual events, trigger multiple GPIO at the same time or even change device settings.
The URL of the web site depends on the network infrastructure. It is eitherhttp://”your home ip address”:8000 in STA, orhttp://192.168.4.1:8000in AP mode.
By accessing the site for the first time you have to enter the default credentials:user = webiopi password = raspberryAfter the log on accomplishing, on your browser appears website with joystick control. Each button use macros behind. Now you are able replace the demonstration code and achieve the desired functionality.
Using this technique gives you the opportunity of debugging and testing your code in the office. As long as you working on the desktop environment, this could be the primary choice as well.
For the final release, controlling terrain car products requires mobile application. In this case the pilot need to disconnect from any other Wi-Fi networks and explicitly connect to the terrain car Access Point in order to control all functions.
The PyPi installation script gives you the opportunity to define/change the AP SSID and key by each sequential setup and ensure acceptable level of security.I published recently google android app on the playstore, called “Rocket”https://play.google.com/store/apps/details?id=com.gulliversoft.rocketThe “Rocket” allows you to trigger remotely any of the macros defined in your code, even they are not visible on the site.
In the current release V1.1, Rocket frontend shapes 2 digital products behind:###The Digger accepts range of 11 @daisy.macro calls:
Forward()
TurnLeft()
Reverse()
TurnRight()
Stop()
ArmDown()
TiltUp()
TiltDown()
Lights()
FlashAll()
Move(L, R)###The Pan-tilt camera accepts range of 7 @daisy.macro calls:
WakeUp()
TurnRight()
Forward()
Stop()
Move(P, T)
TurnLeft()
Reverse()##Setup
The easiest way of installing “Rocket”, is to use the commandpip3 install rocket-daisy. This requires you have access to internet.
After the pip3 execution is done, you need to callpython3 -m rocket. The rocket logo appears after a while and the prompt requires your attention. The promptAccess point SSID:requests new WiFi identification for your hobby model.
In order to prevent collisions, you need unique name for each hobby model. In the next step you need to input new WPA password, which will be associated with the name you gave in the step before.
In the next steps the setup goes through python environment and services ensuring the rocket functionality on your platform.—Copyright 2020-2021 Martin Shishkov - gulliversoft, licensed under GPL3