Coder Social home page Coder Social logo

serial-ros's Introduction

uC side:

  1. Flash master_test branch from https://github.com/everyrobot/er_ti_f28069m_drv8305/tree/master_test on f28069

ROS side:

  1. Download serial-ros from here at master branch https://github.com/everyrobot/serial-ros
  2. Download er_ti_f28069m_drv8305 from here at er_drv_ros branch https://github.com/everyrobot/serial-ros/tree/er_drv_ros
  3. compile and rosrun serial_example serial_example_node for tactile_bldc_serial functioning

HW interface:

1. Download serial-ros from here at master branch git clone https://github.com/everyrobot/serial-ros

2. Download er_ti_f28069m_drv8305 at er_drv_ros branch git clone --branch er_drv_ros https://github.com/everyrobot/serial-ros/tree/er_drv_ros

3. Download rrbot_description from git clone https://github.com/everyrobot/gazebo_ros_demos.git

4. Download at er_dev branch git clone --branch er_dev https://github.com/everyrobot/ros_control_boilerplate.git

5. compile and roslaunch ros_control_boilerplate rrbot_hardware.launch

RVIZ:

#include "geometry_msgs/WrenchStamped.h"

ros::Publisher tactile_force_pub;

tactile_force_pub = nh_.advertise<geometry_msgs::WrenchStamped>("tactile_pcb1_median", 1000);

geometry_msgs::WrenchStamped pcb1_msg;

        pcb1_msg.header.stamp = ros::Time::now();
        
        pcb1_msg.header.frame_id = "/map";
        
        pcb1_msg.wrench.force.z = 0;
        
        for (int i = 0; i < NO_OF_CHANNELS; i++)
        
            pcb1_msg.wrench.force.z += tactile_serial_read[i] / 35;

        tactile_force_pub.publish(pcb1_msg);

serial-ros's People

Contributors

garyservin avatar hasanfarag avatar

Watchers

 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.