Giter Club home page Giter Club logo

ewyn2's Introduction

## github repository ewyn2

## Arduino pins
# AREF
# GND
# 13 - Motor IN-4
# 12 - Motor IN-3
# 11 - Motor IN-2
# 10 - Motor EN-B
# 09 - Motor EN-A
# 08 - Motor IN-1
#
# 07 - Ping Servo PWM
# 06
# 06
# 04
# 03 (INT-1) Ping
# 02 (INT-0)
# 01 Tx (serial)
# 00 Rx (serial)
#
# 14 Tx3
# 15 Rx3
# 16 Tx2
# 17 Rx2
# 18 Tx1 INT-5 QRB (wh)
# 19 Tx1 INT-4 QRA (blk)
# 20 SDA INT-3 SDA
# 21 SCL INT-2 SDB

## In terminal 1 -- run ROSCORE
# Note the following exports, particularl ROS_IP and ROS_MASTER_URI
#declare -x ROS_DISTRO="indigo"
#declare -x ROS_ETC_DIR="/opt/ros/indigo/etc/ros"
#declare -x ROS_IP="10.0.1.118"
#declare -x ROS_MASTER_URI="http://localhost:11311"
#declare -x ROS_PACKAGE_PATH="/home/pi/ewyn_ws/install/share:/home/pi/ewyn_ws/install/stacks:/home/pi/ewyn_ws/src:/home/pi/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks"
#declare -x ROS_ROOT="/opt/ros/indigo/share/ros"

source ewyn_ws/install/setup.bash
roscore

## In terminal 2 -- run the rosserial client to listen to the Arduino
source ewyn_ws/install/setup.bash
roslaunch rosserial_server serial.launch port:=/dev/ttyACM0

# In terminal 3 -- develop code for the arduino, then push using
cd ~/ewyn_ws/platformio
platformio run

# In terminal 3 or a new terminal -- listen to topics
source ewyn_ws/install/setup.bash
rostopic list
rostopic echo motorLog
rostopic echo /turtle1/cmd_vel

# On Linux machine
export ROS_IP=10.0.1.14
export ROS_MASTER_URI="http://10.0.1.118:11311"
rosrun turtlesim turtle_teleop_key

ewyn2's People

Contributors

mwimble avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.