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

astemeric's profile - activity

2019-03-08 08:03:21 -0500 received badge  Nice Question (source)
2019-03-08 07:06:43 -0500 received badge  Famous Question (source)
2019-02-20 05:17:19 -0500 received badge  Famous Question (source)
2019-02-20 05:17:19 -0500 received badge  Notable Question (source)
2019-02-20 05:17:19 -0500 received badge  Popular Question (source)
2018-09-07 12:30:56 -0500 commented answer Loading two PMD Pico Flexx into RVIZ with URDF

It all worked out! Not too sure why it wasn't working in the first place, as I was using the x86-64Bit library. In any c

2018-09-07 12:29:50 -0500 marked best answer Loading two PMD Pico Flexx into RVIZ with URDF

Hey all, I'm a newer ROS user still trying to get his feet on the ground.

I am trying to load two PMD Pico Flexx LiDARs into RVIZ, and it seems like the best way to load them in is to create a URDF with each sensor predefined, then use robot_state_publisher. I followed this tutorial to use a single Pico Flexx in RVIZ. I'm just trying to load one Pico Flexx into RVIZ using URDF and robot_state_publisher for now, then once that works out I will work on adding the other.

I'm currently stuck trying to tie the Pico Flexx in the URDF (which I was able to load into RVIZ) with the driver provided in the above tutorial.

I was able to create a basic URDF after following the tutorials.

<?xml version="1.0"?>
<robot name="multipleshapes">
  <link name="base_link">
    <visual>
      <geometry>
        <cylinder length="0.1" radius="0.2"/>
      </geometry>
    </visual>
  </link>

<link name="pico_de_gallo">  
  <visual>
    <origin xyz="0.0 0.2 0" rpy="0 0 30" />
    <geometry>
      <box size="0.01 0.05 0.03" />
    </geometry>
    <material name="Blue" />
  </visual>
</link>

<joint name="pico_depth_joint" type="fixed">
  <origin xyz="0.0 0.2 0" rpy="0 0 30" />
  <parent link="base_link" />
  <child link="pico_de_gallo" />
</joint>

</robot>

I edited the tutorial URDF launch file to load the model into RVIZ, as shown below.

<launch>

  <arg name="model" default="$(find royale_in_ros)/urdf/model_1.urdf"/>
  <arg name="gui" default="true" />
  <arg name="rvizconfig" default="$(find royale_in_ros)/rviz/urdf.rviz" />

  <param name="robot_description" command="$(find xacro)/xacro.py $(arg model)" />
  <param name="use_gui" value="$(arg gui)"/>

  <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" />
  <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />
  <node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />

</launch>

And I was planning on including the launch file provided in the PMD tutorial, which runs the Pico Flexx driver. I removed the static_tf portion, since I was able to determine orientation in the URDF. The launch file is shown below.

<launch>
  <!-- node name: all topics will be advertised under this name -->
  <arg name = "node_name"          default = "royale_camera"/>

  <!-- nodelet manager -->
  <node pkg = "nodelet" type = "nodelet" name = "$(arg node_name)" args = "manager" output = "screen"/>

  <!-- camera_driver nodelet -->
  <node pkg = "nodelet" type = "nodelet" name = "$(arg node_name)_driver"
        args = "load royale_in_ros/royale_nodelet $(arg node_name)"
        respawn = "true" output = "screen">
    <param name = "node_name"          type = "str"    value = "$(arg node_name)"/>
  </node>
</launch>

I'm trying to figure out how to define the Pico Flexx joint in the URDF with the camera driver launch file, or at least its contents. I can't seem to find any resources to join the two. Would anyone possibly know how to accomplish this? Or is the only way for me to move forward by me creating my own node to publish the pointclouds?

Thank you in advance.


Edit #1

I was following Martin Gunther's advice, but I received the below catkin_make error on step 6 of the pico_flexx_driver installation walkthrough.

-- +++ processing catkin package: 'pico_flexx_driver' -- ==> add_subdirectory(pico_flexx_driver) no SDKs found ... (more)

2018-09-07 12:29:46 -0500 received badge  Notable Question (source)
2018-08-30 20:24:08 -0500 commented answer Loading two PMD Pico Flexx into RVIZ with URDF

Thanks for the response! Hmmm... My directory looks just like the one that you posted. Do you have any idea why I would

2018-08-30 18:03:33 -0500 received badge  Enthusiast
2018-08-29 22:56:15 -0500 received badge  Popular Question (source)
2018-08-29 17:46:56 -0500 edited question Loading two PMD Pico Flexx into RVIZ with URDF

Loading two PMD Pico Flexx into RVIZ with URDF Hey all, I'm a newer ROS user still trying to get his feet on the ground.

2018-08-29 17:46:56 -0500 received badge  Editor (source)
2018-08-29 17:46:13 -0500 edited question Loading two PMD Pico Flexx into RVIZ with URDF

Loading two PMD Pico Flexx into RVIZ with URDF Hey all, I'm a newer ROS user still trying to get his feet on the ground.

2018-08-29 17:46:10 -0500 commented answer Loading two PMD Pico Flexx into RVIZ with URDF

Hi Martin, thanks for getting back to me! I will be trying out the driver soon, but I received an error during the catk

2018-08-28 02:21:38 -0500 received badge  Student (source)
2018-08-27 18:35:24 -0500 asked a question Loading two PMD Pico Flexx into RVIZ with URDF

Loading two PMD Pico Flexx into RVIZ with URDF Hey all, I'm a newer ROS user still trying to get his feet on the ground.

2018-07-12 11:27:55 -0500 marked best answer vrpn_client_ros Unable to Locate Package

Hi all,

I'm pretty new to ROS and linux, so my questions may seem pretty basic, sorry. I'm using Ubuntu 18.04 and ROS Melodic. I am currently following this tutorial to install vrpn_client_ros.

I entered the below command in the terminal, and the response I get is below that.

sudo apt-get install ros-kinetic-vrpn-client-ros -y

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-vrpn-client-ros

Now I have two questions:

  1. Are programs built for older distributions of ROS able to be installed/run on newer distributions of ROS? If not, that would explain why it's unable to locate the package.
  2. According to the GitHub here, it seems like a newer version of the package has been updated for Melodic. However, I'm not sure if it's available for people to install yet. Would anyone possibly be able to give some insight?

Thank you very much in advance! Being new to ROS, linux, and GitHub, there's been a lot to take in.

2018-07-12 11:27:55 -0500 received badge  Scholar (source)
2018-07-12 11:14:44 -0500 commented answer vrpn_client_ros Unable to Locate Package

That worked perfectly. Thank you!

2018-07-12 11:14:26 -0500 received badge  Supporter (source)
2018-07-11 18:37:57 -0500 asked a question vrpn_client_ros Unable to Locate Package

vrpn_client_ros Unable to Locate Package Hi all, I'm pretty new to ROS and linux, so my questions may seem pretty basic