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

christian.blesing's profile - activity

2020-11-19 04:32:18 -0500 received badge  Famous Question (source)
2020-05-09 01:43:07 -0500 received badge  Notable Question (source)
2020-05-09 01:43:07 -0500 received badge  Popular Question (source)
2020-02-10 06:49:25 -0500 asked a question DWA planner not considerate robot footprint

DWA planner not considerate robot footprint Hello everybody, we want to use cartographer together with move base to do

2016-01-02 22:41:26 -0500 received badge  Famous Question (source)
2015-12-19 12:27:42 -0500 received badge  Famous Question (source)
2015-12-19 12:27:42 -0500 received badge  Popular Question (source)
2015-12-19 12:27:42 -0500 received badge  Notable Question (source)
2015-11-03 05:01:28 -0500 received badge  Popular Question (source)
2015-11-03 05:01:28 -0500 received badge  Notable Question (source)
2015-06-03 12:46:38 -0500 received badge  Nice Question (source)
2015-04-17 14:07:39 -0500 received badge  Famous Question (source)
2015-04-14 02:08:20 -0500 received badge  Student (source)
2015-03-19 04:28:45 -0500 received badge  Enthusiast
2015-03-18 10:30:15 -0500 asked a question IDE for developing ROSJAVA Nodes

Hi all,

i'm new to RosJava and I start searching for a tutorial which explains how to use RosJava with an IDE like Eclipse or Netbeans. Until now I have not found a good solution or tutorial. Has anyone a straight forward solution for editing own RosJava nodes with Eclipse or Netbeans?

2014-11-18 18:31:57 -0500 received badge  Notable Question (source)
2014-11-02 08:55:32 -0500 received badge  Popular Question (source)
2014-10-12 10:07:42 -0500 received badge  Notable Question (source)
2014-10-12 10:07:42 -0500 received badge  Popular Question (source)
2014-10-12 10:07:42 -0500 received badge  Famous Question (source)
2014-08-25 09:35:25 -0500 asked a question ROS Java Problem with sensor_msgs

Hi,

currently i write a android app which calculates the roll, pitch and azimuth values using the device internal sensors (Samsung Galaxy Nexus). With a little bit of sensor fusion this task works perfectly! I want to publish the calculated values with a publisher running on the smartphone to my laptop where the roscore is running. When i try to define the msg type which should be published i get an error. This is the codeline which will not be accepted by the compiler.

org.ros.message.sensor_msgs.JointState jointState = new org.ros.message.sensor_msgs.JointState();

And this is the error message:

Error:(343, 28) error: cannot find symbol class sensor_msgs
Error:(343, 85) error: package org.ros.message.sensor_msgs does not exist

I have imported the following:

import sensor_msgs.*;
import org.ros.*;

But no import resolves the sensor_msgs build error. I have googled a lot of stuff and every example i have found uses this msg Types without any special imports. But for me this will not work. I'm very new to rosjava and android studio. I hope someone can help me.

2014-08-18 01:48:49 -0500 commented question Android RosImageView match_parent attribute does not work

I think i have it solved! For the imageView you can set an attribute called "scaleType" in the XML file or in the code. With the right scaleType it should fit the parent perfectly when "match_parent" is used for width and height. I Test it soon and write back if it works.

2014-08-17 06:03:45 -0500 asked a question Android RosImageView match_parent attribute does not work

Hi,

i'm writing an app with andriod-studio and all the ros-java stuff. The app shall display two camera images. I read out the webcams with the uvc_camera node and publish them form my computer to the app. Everything works fine. The images are shown in the app. One image should fill the left half of the screen the other image the right half of the screen. I have used two rosImageViews to do that and put them into a LinearLayout. The Problem is that the rosImageViews don't use the full size of the Smartphone screen. When i start the app the rosImageViews fill out the complete Smartphone screen. But in that moment when both images are displayed the height of the rosImageViews is not correct. The height is then reduced. The width of the views is correct and fills the screen perfectly. Here is my activity.xml file:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff"
tools:context="${relativePackage}.${activityClass}"
android:orientation="horizontal">

<org.ros.android.view.RosImageView
    android:layout_height="match_parent" android:src="@drawable/icon"
    android:id="@+id/imageLeft" android:layout_width="305dp">
</org.ros.android.view.RosImageView>

<org.ros.android.view.RosImageView
    android:layout_height="match_parent" android:src="@drawable/icon"
    android:id="@+id/imageRight" android:layout_width="305dp">
</org.ros.android.view.RosImageView>

</linearlayout>

Normally the height of the views should match the parent but they don't. The images i read out have the size 640x480 px. It looks like the android:layout_height="match_parent" attribute has no effect on the views.

Anyone ever had a similar problem or can help me out?