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

CRAM on an arm processor?

asked 2015-06-11 12:39:54 -0500

rohan gravatar image

Has anyone tried running CRAM on an arm processor? Is it possible? roslisp is supported on ARM but there are multithreading issues with SBCL on arm.

edit retag flag offensive close merge delete

Comments

Two things to keep in mind if you try to build something on ARM:

  1. use "make -j1". This will run with one job and prevent Make from using too much memory if memory is limited.

  2. default char type is signed on x86, but unsigned on ARM. (Workaround for GCC -fsigned-char parameter)

corb gravatar image corb  ( 2015-06-13 17:49:55 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-06-15 09:17:58 -0500

rohan gravatar image

Hi,

I got the cram part to build on ARM. I didn't try building knowrob.

The main issue with CRAM running on ARM is that roslisp doesn't support ARM. They depend on SBCL which is available for ARM but the multi threading doesn't work for ARM processor therefore roslisp doesn't work on ARM.

https://github.com/ros/roslisp/issues/14

edit flag offensive delete link more

Comments

"I didn't try building knowrob." - I don't see any reason for building a knowledge processing system on a microcontroller that runs ROS. "multi threading doesn't work for ARM" - Have you built SBCL with -lpthread flag? https://github.com/sbcl/sbcl/blob/mas...

gaya gravatar image gaya  ( 2015-06-15 09:56:36 -0500 )edit

The -lpthread thing is just an idea, I'm not an expert in Lisp on ARM business.

gaya gravatar image gaya  ( 2015-06-15 09:59:21 -0500 )edit

Yes I tried that it didn't help. You can also try --fancy argument when building SBCL but that also doesn't build SBCL with multithreading.

rohan gravatar image rohan  ( 2015-06-15 14:38:49 -0500 )edit
0

answered 2015-06-13 06:53:33 -0500

gaya gravatar image

The CRAM team hasn't tried it yet but we do have such plans. Check again later. If you'll be tryinng things out on your own any input is most welcome.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-11 12:39:54 -0500

Seen: 177 times

Last updated: Jun 15 '15