[Discourse.ros.org] [General] Servo limits/mapping

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Servo limits/mapping

Joshua Whitley via ros-users



Hi,

I'm just getting started with ROS, and was finally able to get ROS installed on Linux Mint 17.1 rather then in VirtualBox or on some older slower HW I had laying around.

I've been working with MyRobotLab but have had a lot of issues with Java not wanting to run well on 64bit Linux Mint.  Lots of random crashes and running it on a Win10 box there were other issues, especially when trying to use the OpenCV service and tracking.

Ultimately I want to do some experimentation with physical object manipulation and computer vision, but I'm taking baby steps at first.

I have a head constructed with dual cameras for eyes, and using MyRobotLab I've been able to do some basic object tracking (on a good day with the Buffalo running on the west side of the mountain:)).  But due to the Java issues I've been experiencing as well as the shifting MRL APIs it is difficult to get the reliability I need.

So I've moved to ROS, and have done some of the earlier tutorials.  I've written some Arduino code for controlling the servos in the head and have successfully tested that using rostopic.  

In MyRobotLab the Servo service had the ability to specify MinMax values for limiting the servo output, as well as a mapping function that can be used to map 0 - 180 degrees to the physical limits.  For example in the head I may need to limit eye movement in the Y axis to a fairly small range.

I'm assuming that there may be some code already available in ROS for this type of implementation but I haven't located it yet.

So before I reinvent the wheel I thought I would ask if there might be some generic code for implementing a mapping layer to manage the servo(s) and then the output from that mapping layer would be sent to the Arduino code via rosserial to handle the low level movement of the servos.

Thanks,
Burt






---
[Visit Topic](https://discourse.ros.org/t/servo-limits-mapping/1657/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Servo limits/mapping

Joshua Whitley via ros-users



Hi Burt,

It's great you're getting involved with ROS. However we ask that help and debugging questions be asked on http://answers.ros.org instead of here on discourse. The Q&A website is optimized to provide answers as efficiently as possible while this site we focus on announcements and discussions scoped appropriately for each category.

A [quick search](https://www.google.com/search?q=ros+servo&oq=ros+servo&aqs=chrome..69i64j0l5.176907j0j4&client=ubuntu&sourceid=chrome&ie=UTF-8#q=ros+servo+site:answers.ros.org) shows that there are already several questions with answers about servos and rosserial on arduinos.

For more informatoin please take a look at the guidelines for asking questions are at http://wiki.ros.org/Support The more complete you can ask your question the better answer you can get.






---
[Visit Topic](https://discourse.ros.org/t/servo-limits-mapping/1657/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Servo limits/mapping

Joshua Whitley via ros-users
In reply to this post by Joshua Whitley via ros-users



Thanks..  I checked answers.ros.org and while there are some arduino related servo questions answered I didn't seen anything related to what was asking.  I'll check one more time, and if I still can't find an answer I'll try posing the question there.

Burt






---
[Visit Topic](https://discourse.ros.org/t/servo-limits-mapping/1657/3) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>