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

corb's profile - activity

2018-12-17 15:29:23 -0500 received badge  Great Answer (source)
2018-10-26 08:24:48 -0500 received badge  Taxonomist
2018-08-08 01:22:42 -0500 marked best answer Problem with xacro:if value="${model_type == A_model_type}"

I'm trying to set up a Xacro where one section is based on a Model type passed as an argument (the first line below would be an external argument). No matter what model_type is set to, model A, B and C get included. I can get this to work by having a separate variable set to true/false for each model, but it's ugly. The following always loads all three models. I'm using Indigo.

<!-- The model we want loaded -->
<xacro:property name="model_type" value="3"/>

<!-- The different possibilities -->
<xacro:property name="A_model_type" value="2"/>
<xacro:property name="B_model_type" value="3"/>
<xacro:property name="C_model_type" value="4"/>

 <!-- Only load the specified model -->
<xacro:if value="${model_type == A_model_type}">
<xacro:include filename="/urdf/A_model.xacro"/>
</xacro:if>

<xacro:if value="${model_type == B_model_type}">
<xacro:include filename="/urdf/B_model.xacro"/>
</xacro:if>

<xacro:if value="${model_type == C_model_type}">
<xacro:include filename="/urdf/C_model.xacro"/>
</xacro:if>
2018-05-17 11:05:05 -0500 received badge  Famous Question (source)
2017-08-04 06:41:03 -0500 received badge  Enlightened (source)
2017-08-04 06:41:03 -0500 received badge  Good Answer (source)
2017-06-19 21:19:11 -0500 received badge  Notable Question (source)
2017-06-19 21:18:48 -0500 received badge  Famous Question (source)
2017-03-01 20:57:03 -0500 received badge  Nice Answer (source)
2016-06-03 06:18:30 -0500 received badge  Famous Question (source)
2016-02-14 10:27:37 -0500 received badge  Nice Answer (source)
2015-12-17 13:51:17 -0500 received badge  Student (source)
2015-10-21 17:58:41 -0500 received badge  Famous Question (source)
2015-08-25 19:51:34 -0500 received badge  Good Answer (source)
2015-06-22 11:30:10 -0500 commented answer Help with ROS

There are basically 3 options for hardware: 1. RaspPi-2 (or ODROID C1) - $36 - this will be fine for basic ROS things. It will not have enough power to run RVIZ. Kinect may be a stretch. 2. Nvidia TK1 - $200 - very fast ARM system with Kepler GPU. 3. Cheap x86 system - will run all ROS pkgs

2015-06-22 09:36:14 -0500 answered a question Help with ROS

ROS is an incredibly powerful system, but also complex. I'd recommend starting slow and simple. Go through the beginner tutorials (you can get through them pretty quickly). Then start on a simple project. Installing Kinect is one of the trickier things to do. I would post your arduino/ h-bridge question separately with its own title to improve chance of finding someone who's done that.

2015-06-17 13:00:07 -0500 answered a question Is ROS compatible with Python and can it run on a Raspberry Pi

ROS has a nice Python interface (rospy). You can use ROS on Raspberry Pi / Rasbian. I'd recommend the RPI-2 - the RPI-1 will be very limited due to memory and low CPU power (you might want to consider the ODROID-C1 RPI clone as well since it is same price and faster). Not all ROS packages are available for the ARM processors. For more info, see here:

ros wiki Raspberry PI

.

2015-06-17 12:45:23 -0500 answered a question qt_gui_cpp error when installing indigo on rp2

For RP2, use "make -j1" rather than j4. The RP2 doesnt have enough memory to run more than one instance. (It looks like it may be switching to j1, but configure it for j1 just to be sure).

2015-06-14 19:38:40 -0500 commented question Arbotix "[Errno 11] Resource temporarily unavailable"

How are you powering the Pincher? As a test, you might try using a wall-wart to power it, just to eliminate any possible power issues. Also, it would be great if you can publish notes on this. I think you will be the first to mount the Pincher on the Turtlebot.

2015-06-13 17:49:55 -0500 commented question CRAM on an arm processor?

Two things to keep in mind if you try to build something on ARM:

  1. use "make -j1". This will run with one job and prevent Make from using too much memory if memory is limited.

  2. default char type is signed on x86, but unsigned on ARM. (Workaround for GCC -fsigned-char parameter)

2015-05-24 18:27:02 -0500 commented question Opencv4tegra installed, but ros can't compile and GPU functions

Have you looked at this: ROS on Jetson

2015-05-10 08:01:07 -0500 commented question ros communicate with other operating system

what OS?
Take a look at rosserial: Allows users to get ROS nodes running on various systems. These clients are ports of a the general ANSI C++ rosserial_client library. rosserial_arduino rosserial_embeddedlinux - support for Embedded Linux rosserial_windows - Windows

2015-05-10 07:55:26 -0500 commented question how to subscribe a topic to a web page

what shows up in the browser console? what shows up when you run: rostopic echo /gazebo/cmd_vel

2015-05-05 07:07:28 -0500 received badge  Critic (source)
2015-05-05 06:44:25 -0500 answered a question how to subscribe with rosbridge

You need to save the html code to a file, like ros_test.html. Then open that file in your browser. You should see Simple roslib Example. Check your Web Console for output. To see the console (in the Chrome browser): menu, more tools, javascript console. Other browsers will have something similar.

To have the HTML update: In the body section, add something with an Id:

  <body>
  <h1>Simple roslib Example</h1>
  <p id="abc">Test</p>
</body>

In listener.subscribe(function(message), add

document.getElementById("abc").innerHTML = message.data;
2015-05-04 16:42:52 -0500 commented question how to subscribe with rosbridge

You need to save the html code to a file, like "ros_test.html". Then open that file in your browser. You should see "Simple roslib Example. Check your Web Console for output". To see the console (in the Chrome browser): menu/more tools/javascript console. Other browsers will be similar.

2015-05-03 22:40:27 -0500 commented question how to subscribe with rosbridge

what do you see in the browser console?

2015-05-01 06:06:19 -0500 commented answer Problem about using turtlebot_arm with "pincher" argument

you shouldnt need to change any of the launch files. you should do the following before you launch:

export TURTLEBOT_ARM1=pincher
2015-05-01 06:06:19 -0500 received badge  Commentator
2015-04-30 13:23:38 -0500 answered a question Problem about using turtlebot_arm with "pincher" argument

For the PhantomX Pincher arm, you will need to use these:

Arbotix fork: https://github.com/corb555/arbotix_ros

Turtlebot_arm fork: https://github.com/corot/turtlebot_arm (as mentioned by Jorge, above)

I think you can't pass the arm type as a parameter as you did above. You need to set environment variable "TURTLEBOT_ARM1" to pincher.

2015-04-15 15:37:19 -0500 answered a question raspberry pi 2 model B can not connect to the network

Your best bet is to post this on the Raspberry Pi forum: https://www.raspberrypi.org/forums

2015-04-14 13:05:52 -0500 answered a question Working with ROS and Robot Arms

One solution is to use the ROS package - turtlebot_arm. This uses Kinect for vision and works with the PhantomX robot arm. You can see a pick and place / block sorting demo here - ( https://www.youtube.com/watch?v=MzGdn... )

2015-03-26 09:04:08 -0500 received badge  Supporter (source)
2015-03-19 18:59:56 -0500 commented question combine ROS with Home Automation

Without Arduino/rosserial, it would run like this:

The linux system running ROSCORE would also launch openhab_bridge. The Openhab bridge subscribes and publishes ROS topics. The openhab bridge uses HTTP to talk to the Openhab REST interface.

2015-03-19 18:11:02 -0500 commented question combine ROS with Home Automation

there is an overview here: http://wiki.ros.org/openhab_bridge . The openhab bridge is a small ROS python package that you launch. Your ROS robot would talk to OpenHAB by using ROS publish/subscribe to the bridge.

2015-03-19 16:05:32 -0500 received badge  Notable Question (source)
2015-03-13 04:14:24 -0500 received badge  Popular Question (source)
2015-03-13 02:42:35 -0500 received badge  Popular Question (source)
2015-03-13 01:43:53 -0500 received badge  Nice Answer (source)
2015-03-12 18:37:32 -0500 asked a question combine ROS with Home Automation

I have written a ROS python package which provides a bridge to the OpenHAB home automation system (open source license)

OpenHAB is an open source system that connects to virtually any intelligent device, such as smoke detectors, motion detectors, temperature sensors, security systems, TV/audio, fingerprint scanners, lighting, 1-Wire, Wemo, CUPS, DMX, KNX, openpaths, Bluetooth, MQTT, Z-Wave, telephony, Insteon, weather sensors, and web services such as Twitter, etc. ROS also provides a basic Web GUI and Iphone/Android app for setting and dynamically viewing values. openhab.org/features

Give your robot knowledge of the wider world

Use Cases:

  • A motion detector in OpenHAB triggers and ROS dispatches the robot to the location.
  • ROS facial recognition recognizes a face at the door and OpenHAB unlocks the door.
  • A Washing Machine indicates to OpenHAB that the load is complete
    and ROS dispatches a robot to move
    the laundry to the dryer.
  • OpenHAB MQTT binding indicates that Sarah will be home soon and a sensor indicates that the temperature is hot. ROS dispatches the robot to bring Sarah's favorite beer. OpenHAB turns on her favorite rock music and lowers the house temperature.
  • A user clicks on the OpenHAB GUI on an IPAD and selects a new room location for the robot. The message is forwarded by the openhab_bridge to ROS and ROS dispatches the robot.

With the openhab_bridge, virtually any home automation device can be easily setup to publish updates to the openhab_updates topic in ROS, giving a ROS robot knowledge of any Home Automation device. ROS can publish to the openhab_set topic (or openhab_command) and the device in OpenHAB will be set to the new value (or act on the specified command).

To download and for more information:

https://github.com/answer17/openhab_b...

2015-03-08 11:08:22 -0500 commented question Trouble compiling rviz on Raspberry Pi 2

This may not solve your problem, but try the build with make -j2 instead of -j4. This will run two sets of jobs concurrently rather than four. The RPi2 doesnt have enough memory for 4 jobs and will thrash quite a bit and then die on large builds but will bld MUCH faster with two.

2015-02-20 12:51:53 -0500 received badge  Necromancer (source)
2015-02-17 22:49:30 -0500 commented question As per the beginner tutorial 1, when i try this command (export | grep) in terminal I am getting the following in my terminal. kindly give me a solution

It's not clear what your question is. What do you need a solution to?

2015-02-15 09:39:50 -0500 edited answer Snappy Core + ROS

If you want to integrate I2C devices with ROS, I think you have a few options:

  1. x86 system running ROS and accessing I2C via an I2C USB dongle (e.g. Adafruit $15 USB I2C dongle).

  2. Arduino with I2C interface running rosserial to talk to the ROS system ($4 to $45). The main purpose of rosserial is to allow you to have a system that is too small to run ROS (like an Arduino), but allow it to collect data and interface to ROS.

  3. ARMv7 system running Ubuntu 14.04 and ROS. The ODROID-C1 and new RaspberryPi-2 (both $35) are reasonably powerful quad-core ARM systems with I2c and GpIO. Both can run ROS but may not have enough horsepower for very intensive tasks like object recognition.

In any of these cases you will need to write a small routine that talks to the I2c device and then publishes to ROS. This is pretty easy to do. The commands are different for all I2c devices. If you have a number of different I2c devices, one possibility would be to look at i2cdevlib. This is a project that has code for a number of different I2c devices.