Ask Your Question
0

How to add 'clearpath_base/AckermannSetpt' msg in ROS Kinetic?

asked 2018-10-29 17:21:23 -0500

JeyP4 gravatar image

How to add 'clearpath_base/AckermannSetpt' msg in ROS Kinetic?

http://wiki.ros.org/clearpath_base

edit retag flag offensive close merge delete

Comments

Are you trying to upgrade a clearpath vehicle to ROS Kinetic? Or do you just want to use the messages in clearpath_base for your own purposes?

gvdhoorn gravatar imagegvdhoorn ( 2018-10-30 03:06:57 -0500 )edit

Hi I want to use the messages in clearpath_base for my own purposes? Specifically 'clearpath_base/AckermannSetpt'. Because it contains timestamp, steering, throttle and braking. Exactly what I need. Thank you.

JeyP4 gravatar imageJeyP4 ( 2018-10-30 05:04:18 -0500 )edit

I would suggest to take a look at ackermann_msgs.

Perhaps that can be used.

It's already a stand-alone msg package and easily installed as it's released into Indigo, Kinetic and Melodic.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-30 05:11:22 -0500 )edit

Problems with ackermann_msgs are its variable names can be misleading to someone and its data types are 'float', I prefer 'double'. Is there no way to install clearpath msg ?

JeyP4 gravatar imageJeyP4 ( 2018-10-30 07:08:08 -0500 )edit

How to do what?

gvdhoorn gravatar imagegvdhoorn ( 2018-10-30 07:11:01 -0500 )edit

Problems with ackermann_msgs are its variable names can be misleading to someone and its data types are 'float', I prefer 'double'. Is there no way to install clearpath msg ?

JeyP4 gravatar imageJeyP4 ( 2018-10-30 07:19:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-30 13:57:52 -0500

gvdhoorn gravatar image

updated 2018-10-30 14:04:41 -0500

I would suggest using ackermann_msgs as:

  1. it's a message that is used by many other nodes and controllers
  2. clearpath_msgs is old, unused and unmaintained

If you must use clearpath_msgs, you can find it here.

You'll have to git clone .. it to your Catkin workspace, make sure to have all dependencies installed (see #q252478 for the general procedure) and then build the workspace.

Problems with ackermann_msgs are its variable names can be misleading to someone

This I don't understand.

and its data types are 'float', I prefer 'double'.

It's up to you, but for values this small I would be surprised it really makes a difference.

edit flag offensive delete link more

Comments

Thanks..it worked :)

JeyP4 gravatar imageJeyP4 ( 2018-10-31 09:19:50 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-10-29 17:21:23 -0500

Seen: 26 times

Last updated: Oct 30 '18