Project

General

Profile

Actions

Arduino test

This packages has three nodes:

  • PyArduino.py
  • PyPub.py
  • PySub.py

PyArduino:
Subscribes to topic "Motor_speed"
Publishes the topic "Sensordata"

Message types are same as topic name except all lowercase.

PyPub
Subscribes to topic "Joy"
Publishes the topic "Motor_speed"

Joy is for input of ps3 joystick

PySub
Subscribes to topic "Motor_speed"

Prints the motor_speed to the screen. used for testing

Updated by Einar Pétursson almost 14 years ago · 1 revisions