Author steven.daprano
Recipients sebaleme, steven.daprano
Date 2020-11-28.22:29:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606602582.65.0.284807670855.issue42494@roundup.psfhosted.org>
In-reply-to
Content
Hi S├ębastien,

This is a bug tracker for reporting bugs, not a help desk to help with your code. There are many community resources to help you debug your code, but this is not one of them. You can try:

* Reddit's /r/learnpython
* the Python-list mailing list or news group https://mail.python.org/mailman/listinfo/python-list or comp.lang.python
* The Python Discuss forums https://discuss.python.org/c/users/7
* various IRC channels https://www.python.org/community/irc/
* other forums https://www.python.org/community/forums/

There may be others. However I guess you probably need ROS specific forums.

It may help to read these first:

https://stackoverflow.com/help/minimal-reproducible-example

http://www.sscce.org/

http://catb.org/~esr/faqs/smart-questions.html

If there is a problem with pointcloud2.readpoint returning two values when you expected one, you should check the pointcloud2 documentation, or the ROS project, and report the bug to them.

I'm going to close this as "Third Party", as any bug is most likely in the pointcloud2 library, or your own code.

Unfortunately, even if it turns out to be a bug in struct.unpack_from, although I don't understand why you think it might be, we aren't accepting any bug reports for Python 2, it is no longer maintained. Please upgrade to Python 3.9 and see if that fixes the problem.

Please note that your sample code gives a function "read_points" but the callback calls a different function "read_points2".
History
Date User Action Args
2020-11-28 22:29:42steven.dapranosetrecipients: + steven.daprano, sebaleme
2020-11-28 22:29:42steven.dapranosetmessageid: <1606602582.65.0.284807670855.issue42494@roundup.psfhosted.org>
2020-11-28 22:29:42steven.dapranolinkissue42494 messages
2020-11-28 22:29:42steven.dapranocreate