Running in Rinkeby Ethereum testnet
Is a very simple event echo:
contract CarController {
event CarCommandSent(
string _command
);
function sendCommand (string memory _command)
public
returns (bool commandSent)
{
emit CarCommandSent(
_command
);
return true;
}
}
Running in a laptop
Has following buttons:
- Joystick
- sendCommand()
- Snapshot
- sendCommand()
Running in laptop
Command listener listens to the following strings:
- 'status'
- 'snap'
- 'register'
- 'snapshot'
- 'linear'
- 'steer'
- User will click on the joystick, and send a string to the