Comments (11)
Sorry the launch file was not clear :https://dl.dropbox.com/u/8948006/launch.txt
from ethzasl_ptam.
Hi Aswin,
great you got the odroid branch of ethzasl_ptam to compile.
The error might be related to a bug in ROS. Open the file (..)/ros/serialization.h
Apply this diff (memcpy instead of reinterpret cast/assign) [the line numbers might be different for Groovy):
172 172 {
173 173 template inline static void write(Stream& stream, const Type v)
174 174 {
175 /reinterpret_cast<Type>(stream.advance(sizeof(v))) = v; _/
175 memcpy(stream.advance(sizeof(v)), &v, sizeof(v));
176 176 }
177 177
178 178 template inline static void read(Stream& stream, Type& v)
179 179 {
180 /_v = reinterpret_cast<Type*>(stream.advance(sizeof(v))); */
180 memcpy(&v, stream.advance(sizeof(v)), sizeof(v));
181 181 }
182 182
183 183 inline static uint32_t serializedLength(const Type t)
Simon
from ethzasl_ptam.
Aswin,
I just saw in your log that you had a BUSERROR (-7) not a SIGSEGV (-11) as you wrote. So the above fix will probably resolve the issue. Make sure you recompile (and reinstall) ros after you applied the fix.
Simon
from ethzasl_ptam.
Hi Simon,
The problem seems to be in serialization, but your suggestion did not fix the problem. I am not sure if I made the changes correctly.I made the change in the read write function as your mentioned. Since it did not work., I made changes in the next occurrence in the file in line 201. But it doesnt seem to have an effect.
GDB output: https://dl.dropbox.com/u/8948006/gdb.txt
serialization file mentioned in the above: https://dl.dropbox.com/u/8948006/serialization.h
Aswin
from ethzasl_ptam.
Hi Aswin,
I can send you my serialization header later today. However could you first send a GDB backtrace? (Enter bt to the gdb console after PTAM crashed)
Thank you
Simon
from ethzasl_ptam.
backtrace: https://dl.dropbox.com/u/8948006/gdb_bt.txt
from ethzasl_ptam.
Hi Aswin,
Just to be sure: the file in /opt/ros/fuerte/include/ros/serialization.h now reflects the diff I sent you yesterday? Did you recompile and reinstall the ros-underlay? Did you also recompile tf and ethzasl-ptam?
To me it looks like some of the steps above are missing for your setup
Simon
from ethzasl_ptam.
Hi Simon,
Yes, I deleted the existing installation and recompiled ros-underlay. And the new serialization.h in /opt/ros/fuerte reflects that.
However, I am not quite confident on rosmake of higher level libraries. They did not compile completely. But I dont think they affect ros as they are not core packages.
Aswin
from ethzasl_ptam.
I have a seperate package "geometry" on my desktop which was downloaded because of the following step in ros installation:
rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=fuerte&variant=desktop-full&overlay=no"
Will they be conflicting? Just worried cause I see lot of "geometry" in the backtrace
from ethzasl_ptam.
Hi Simon,
Good news!! I did a rosmake -a --pre-clean and it works now!
Most likely as you mentioned, I did not properly recompile tf and ptam again.
Thank you for your patience and support:)
Aswin
from ethzasl_ptam.
Great, then happy flying!
from ethzasl_ptam.
Related Issues (20)
- I would like to make ethzasl_ptam using catkin build and not catkin_make HOT 1
- ptam exist with error: HOT 1
- ptam exist without error HOT 1
- ethzasl_ptam installation
- catkin_make error HOT 1
- Cannot find camera.cfg HOT 1
- PTAM with IMU sensor HOT 1
- Hows the performance on ARM?
- Could not find "ptam_com" when catkin_make HOT 1
- DELETE
- Acquiring FOV HOT 2
- Ptam indigo memory issues. HOT 1
- Translate Robot <=> camera position
- Error compiling HOT 1
- Problems using cross compiling HOT 2
- The terminal says that gui is on, but i cn't find GUI HOT 2
- Calibration pattern dimmensions
- cameracalibrator is not able to detect the squares in the calibration pattern
- calibration parameters results(camera.cfg)physic meaning? HOT 1
- ptam_com/PointCloud.h: No such file or directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethzasl_ptam.