Skip to content
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

Using the framework outside ROS #89

Closed
aledalgrande opened this issue Nov 17, 2014 · 12 comments
Closed

Using the framework outside ROS #89

aledalgrande opened this issue Nov 17, 2014 · 12 comments

Comments

@aledalgrande
Copy link

Is it possible and if yes, could you give guidance on what APIs I need to use?

@simonlynen
Copy link
Contributor

@aledalgrande yes it is possible to use the framework without ROS. The core library is independent of ROS so when you implement your "update" module you will need to derive from SensorManager and not from SensorManagerROS. link. In the end however you will need to implement the callbacks yourself that push the measurements inside the estimator.

@aledalgrande
Copy link
Author

Hey Simon,

when you say that the core library is independent, which part do you mean?
I tried msf_core but it has a lot of includes from ros.

Thanks
On Mon, 17 Nov 2014 at 00:01 Simon Lynen notifications@github.com wrote:

@aledalgrande https://github.com/aledalgrande yes it is possible to use
the framework without ROS. The core library is independent of ROS so when
you implement your "update" module
https://github.com/ethz-asl/ethzasl_msf/blob/master/msf_updates/src/position_msf/position_sensormanager.h#L38
you will need to derive from SensorManager and not from SensorManagerROS.
link
https://github.com/ethz-asl/ethzasl_msf/blob/master/msf_core/include/msf_core/msf_sensormanager.h#L41.
In the end however you will need to implement the callbacks yourself that
push the measurements inside the estimator.


Reply to this email directly or view it on GitHub
#89 (comment).

@simonlynen
Copy link
Contributor

@aledalgrande For every ros-dependent part there is a ros free version such as the imu-handler: https://github.com/ethz-asl/ethzasl_msf/blob/master/msf_core/include/msf_core/msf_IMUHandler.h

You will however need to change the cmake-files to not build these files. There might also be some includes that you will need to manually remove. I never built this in a ROS free environment, but the functionality should be all possible without ROS.

@aledalgrande
Copy link
Author

@simonlynen, just to confirm, anything named _ROS should be removed, and is similaritytransform also only needed by ROS?

@simonlynen
Copy link
Contributor

@aledalgrande yes, you will need to experiment here a little. (similaritytransform is probably not needed by the things you want to build)

@aledalgrande
Copy link
Author

OK thanks, will try to make the transition today.

@aledalgrande
Copy link
Author

@simonlynen what about msf_state, does it have use outside ROS? It's used in msf_core.h.

@simonlynen
Copy link
Contributor

Yes the state-definition is at the core of the estimator.

@simonlynen
Copy link
Contributor

What is your current approach to making this run without ROS?

@aledalgrande
Copy link
Author

I want to make it run in an Objective-C++ app, so I included the core module (for now) in the project, and its dependencies, apart from ROS. It seems there are some core components that interface directly to ROS by using "messages", but not really familiar with the architecture, so I am wondering if I can exclude or convert those parts.

@aledalgrande
Copy link
Author

I changed my approach, starting from subclassing the SensorManager (looking at the ROS example), so I will understand more and at the same time see which dependencies are needed.

@zanazakaryaie
Copy link

Hello guys

Is there a ROS free version out there? I'm gonna implement it on raspberry pi.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants