ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

alam121's profile - activity

2023-07-10 09:42:54 -0500 received badge  Popular Question (source)
2023-05-24 05:35:29 -0500 received badge  Famous Question (source)
2023-05-24 05:34:08 -0500 asked a question Robot localization does not publish data

Robot localization does not publish data Hi, I have Odom data and 9DOF IMU data, and im trying to use Robot localizatio

2022-05-13 13:04:06 -0500 received badge  Notable Question (source)
2022-05-02 00:44:01 -0500 received badge  Popular Question (source)
2022-04-28 05:28:33 -0500 asked a question Incorrect 2d map using gmapping

Incorrect 2d map using gmapping I am trying to create a 2D map using 3 IR sensors for gmapping. I have 3 IR sensors an

2022-04-01 16:57:25 -0500 received badge  Student (source)
2022-04-01 16:57:24 -0500 received badge  Notable Question (source)
2021-10-07 09:40:33 -0500 received badge  Famous Question (source)
2021-04-10 09:42:04 -0500 received badge  Famous Question (source)
2021-01-24 18:20:26 -0500 received badge  Notable Question (source)
2020-11-15 15:35:07 -0500 received badge  Famous Question (source)
2020-10-21 10:27:01 -0500 received badge  Famous Question (source)
2020-09-26 15:31:29 -0500 received badge  Popular Question (source)
2020-07-16 09:42:33 -0500 received badge  Notable Question (source)
2020-07-16 09:42:33 -0500 received badge  Popular Question (source)
2020-06-29 04:18:34 -0500 received badge  Notable Question (source)
2020-06-13 10:34:52 -0500 received badge  Popular Question (source)
2020-06-10 03:22:16 -0500 received badge  Notable Question (source)
2020-05-17 23:38:52 -0500 received badge  Famous Question (source)
2020-02-15 23:34:28 -0500 answered a question DC Motor Control

I'm not sure about PLC but you could use rosserial to communicate your ros with Arduino microcontroller.

2020-02-15 23:34:28 -0500 received badge  Rapid Responder (source)
2020-02-15 22:57:58 -0500 asked a question Deserialization Error rosserial

Deserialization Error rosserial HI i'm trying to create a subscriber and a publisher on my Arduino IDE to subscribe to

2020-02-06 18:56:04 -0500 received badge  Notable Question (source)
2020-02-06 08:44:29 -0500 received badge  Popular Question (source)
2020-02-06 07:47:17 -0500 marked best answer How to publish camera data over ros?

HI,

I'm looking to use a usb camera to publish over ros for further computation. Any idea on where I should get started? c

2020-02-06 03:30:53 -0500 received badge  Popular Question (source)
2020-02-05 07:26:49 -0500 edited question Viewing image data: usb_cam

Viewing image data: usb_cam HI, I'm trying to publish my image data from usb_cam to the following topics. I'm not sur

2020-02-05 06:37:45 -0500 received badge  Popular Question (source)
2020-02-05 03:21:28 -0500 commented question How to publish camera data over ros?

Sure. getting to start the camera is no big deal. I'm more interested on how to use the camera data to publish for furth

2020-02-05 01:16:17 -0500 commented question Subscriber failed Deserialization Error : Rosserial

That was my inital guess as well. However no it didn't work.

2020-02-05 00:12:38 -0500 asked a question How to publish camera data over ros?

How to publish camera data over ros? HI, I'm looking to use a usb camera to publish over ros for further computation.

2020-02-04 21:55:36 -0500 edited question Viewing image data: usb_cam

Viewing image data: usb_cam HI, I'm trying to view my image data from my laptop integrated camera. I have installed the

2020-02-04 21:55:25 -0500 edited question Viewing image data: usb_cam

Viewing image data: usb_cam HI, I'm trying to view my image data from my laptop integrated camera. I have installed the

2020-02-04 21:55:10 -0500 asked a question Viewing image data: usb_cam

Viewing image data: usb_cam HI, I'm trying to view my image data from my laptop integrated camera. I have installed the

2020-02-02 01:10:25 -0500 commented question Subscriber failed Deserialization Error : Rosserial

Naah didn't work. It is not setting up the subscriber.

2020-01-31 00:11:38 -0500 asked a question Subscriber failed Deserialization Error : Rosserial

Subscriber failed Deserialization Error : Rosserial HI, I'm trying to create a subscriber but I'm getting the following

2020-01-25 06:47:51 -0500 received badge  Enthusiast
2020-01-23 12:40:38 -0500 edited question Problem generating custom message header files for rosserial

Problem generating custom message header files for rosserial HI. I cant seem to generate header files for custom msg db

2020-01-23 12:18:22 -0500 received badge  Popular Question (source)
2020-01-23 12:17:34 -0500 edited question Problem generating custom message header files for rosserial

Problem generating customer message header for rosserial HI. I cant seem to generate header files for customer msg dbw_

2020-01-23 12:17:34 -0500 received badge  Editor (source)
2020-01-23 12:17:19 -0500 edited question Problem generating custom message header files for rosserial

Problem generating customer message header for rosserial HI. I cant seem to generate header files for customer msg dbw_

2020-01-23 12:10:09 -0500 asked a question Problem generating custom message header files for rosserial

Problem generating customer message header for rosserial HI. I cant seem to generate header files for customer msg dbw_

2020-01-23 12:10:08 -0500 asked a question Problem generating customer message header for rosserial

Problem generating customer message header for rosserial HI. I cant seem to generate header files for customer msg dbw_

2020-01-21 22:42:52 -0500 asked a question DBW_MKZ_MSG for Rosserial

DBW_MKZ_MSG for Rosserial Hi. I'm trying to subscribe my Arduino Node to a topic called "/vehicle/steering_cmd" which ha

2020-01-14 10:54:17 -0500 marked best answer Unable to operate servo with rosserial_arduino

I'm using ros kinetic on ubuntu 16.04. I'm able to perform the hello world code from rosserial tutorials http://wiki.ros.org/rosserial_arduino... However not being able to operate the servo example. Any ideas? no error on Arduino IDE. After i perform the test on the terminal roscore rostopic pub servo std_msgs/UInt16 8

the terminal output:publishing and latching message. Press ctrl-C to terminate Nothing after that

/*
 * rosserial Servo Control Example

#if (ARDUINO >= 100)
 #include <Arduino.h>
#else
 #include <WProgram.h>

#endif

#include <Servo.h> 
#include <ros.h>
#include <std_msgs/UInt16.h>

ros::NodeHandle  nh;

Servo servo;

void servo_cb( const std_msgs::UInt16& cmd_msg){
  servo.write(cmd_msg.data); //set servo angle, should be from 0-180  
  digitalWrite(13, HIGH-digitalRead(13));  //toggle  led  
}


ros::Subscriber<std_msgs::UInt16> sub("servo", servo_cb);

void setup(){
pinMode(13, OUTPUT);

nh.initNode();

nh.subscribe(sub);

servo.attach(9); //attach it to pin 9
}

void loop(){
  nh.spinOnce();
  delay(1);
}