-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash on subscribe messages including properties with type name 'Object' #574
Comments
I investigated a bit by testing simple version: (make-package "HOGE")
(shadow 'Object (find-package "HOGE"))
(make-package "HOGE::OBJECT")
(in-package "ROS")
(defclass hoge::Object
:super ros::object
:slots ())
(defmethod hoge::Object
(:init ()
(send-super :init)))
;;
(make-package "HOGE::OBJECTARRAY")
(defclass hoge::ObjectArray
:super ros::object
:slots (_obj))
(defmethod hoge::ObjectArray
(:init ()
(send-super :init))
(:deserialize ()
(setq _obj (instance hoge::Object :init))))
;;
(in-package "USER")
(setq obj (instance hoge::ObjectArray :init))
(send obj :deserialize)
And this code runs without any problem. |
Actually this is a quite tricky one. What is happening here is:
There are a few possible solutions for this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
roseus
crashes on subscribing messages which have properties of the type name isObject
.For example,
jsk_recognition_msgs
now hasObject
andObjectArray
messages.rostopic pub foo jsk_recognition_msgs/ObjectArray '<any content>'
After the command above,
roseus
crashes on deserialization:FYI: I misunderstood with the issue #508 ?
The text was updated successfully, but these errors were encountered: