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

firstprayer's profile - activity

2017-09-08 13:16:51 -0500 received badge  Famous Question (source)
2016-06-08 14:46:52 -0500 received badge  Famous Question (source)
2016-04-04 16:20:56 -0500 received badge  Nice Question (source)
2016-04-04 16:20:56 -0500 received badge  Famous Question (source)
2016-04-04 16:20:56 -0500 received badge  Notable Question (source)
2016-04-04 16:20:56 -0500 received badge  Popular Question (source)
2016-03-10 15:46:54 -0500 received badge  Notable Question (source)
2016-03-10 15:46:54 -0500 received badge  Popular Question (source)
2015-10-01 13:30:44 -0500 asked a question rosmake command not found

I have installed the ros full version and init the workspace with rosws. But I can't run rosmake. It says command not found?

2015-08-13 09:23:24 -0500 received badge  Notable Question (source)
2015-04-21 18:36:56 -0500 commented answer Should I bother myself with roslisp?

http://answers.ros.org/question/20756... I'd be very appreciated if you could have a look at it :)

2015-04-21 17:22:00 -0500 asked a question Create Executable roslisp script

I'm using catkin ros. Now I'm trying to make a lisp script executable with "rosrun xxx".

The roslisp tutorial is kind of out of date, so I tried different approaches with information I got from different places.

Now in the CMakeList.txt, I have

install(PROGRAMS
  src/beckon.lisp
  DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

At the head of the .lisp script, I add

#!/usr/bin/env sh
"true" ; exec /usr/bin/env sbcl --noinform --script "$0" "$@"

To make it executable

My code snippet is

(defpackage :lisp_interpreter
(:use :roslisp :cl))

However, when I actually run it, I got error messages

Unhandled SB-KERNEL:SIMPLE-PACKAGE-ERROR in thread #<SB-THREAD:THREAD
                                                 "main thread" RUNNING
                                                  {1002A8B3A3}>:
The name "ROSLISP" does not designate any package.

Besides that, the following hello world code seems to be problematic

(with-ros-node ("lisp_interpreter")
(sleep 1)
)

with error

; in: WITH-ROS-NODE ("lisp_interpreter")
;     ("lisp_interpreter")
; 
; caught ERROR:
;   illegal function call
; 
; compilation unit finished
;   Undefined function:
;     WITH-ROS-NODE
;   caught 1 ERROR condition
Unhandled SB-INT:COMPILED-PROGRAM-ERROR in thread #<SB-THREAD:THREAD
                                                "main thread" RUNNING
                                                 {1002A8B3A3}>:
  Execution of a form compiled with errors.
Form:
  ("lisp_interpreter")    
Compile-time error:
  illegal function call

How to make it works?

2015-04-21 14:05:22 -0500 commented answer Should I bother myself with roslisp?

...saying ROSLISP does not designate any package

2015-04-21 14:04:58 -0500 commented answer Should I bother myself with roslisp?

Right now in order to run the script with ros, I'm putting extra header to the lisp file as mentioned in http://wiki.ros.org/roslisp/Tutorials... , and put install(PROGRAMS src/beckon.lisp DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) in the CMakeList.txt. But it can't work...

2015-04-21 12:25:43 -0500 commented answer Should I bother myself with roslisp?

I've been trying to work out a simple ros hello world for a day but still gets nothing... can you provide some simple tutorial code that could work under catkin system? My email is zhangty10@gmail.com , thanks in advance!

2015-04-02 09:58:58 -0500 received badge  Student (source)
2015-04-01 14:33:48 -0500 asked a question In rviz, how to change the color of Interactive Marker at Runtime

In rviz, how to change the color of Interactive Marker at Runtime

2015-03-31 16:57:32 -0500 received badge  Popular Question (source)
2015-03-31 13:00:24 -0500 commented question Best way to Use rviz to build interactive 3D environment

Actually I don't mind learning QT or any libraries. But I just couldn't find tutorials on this. Can you point me some directions @2ROS0?

2015-03-30 19:35:59 -0500 asked a question Best way to Use rviz to build interactive 3D environment

I'm a novice of ros and rviz. Right now I need to use rviz to develop an interactive application.

In the application it renders the 3D world from the 2D perspective, like the usual way.

There will be objects (could be complex shapes, like a quadcopter) in the space, and their coordiate would be provided through some topics.

The application need to support three types of interactions:

  1. The user click on the screen. By doing this he/she can select one of the objects
  2. The user can draw a circle (or ellipse), all objects fall within the shape will be selected
  3. Finally, of course, the user can move around the space, change the direction of viewpoint, etc. This can be seen as moving the camera.

Essentially I think I need to access and control the camera location of rviz programatically, then I can use some affine transformation to implement 1, 2.

After doing some preliminary search, there seems to be two possible ways:

  1. Create a panel plugin for rviz
  2. Create an independent application using librviz.

Right there's quite a strict time limit - I got a couple of days for this, so I would like some recommendations on what's the fastest way of doing this.

I'm familiar with C++ and Python, but not with Qt.

Thanks