On Friday, June 2, 2017 at 3:17:44 PM UTC-7, Jeff Albrecht wrote:

On my quest to learn ROS and convert sami 
> <http://dediserve0.rodaw.com/wiki/index.php/Sami> to BBBlue I'd like to 
> try the turtlesim turtle_teleop_key on the BBBlue. I have the simulation 
> working on the desktop machine. Now I'm building turtlsim on the 'blue. 
> Looks like it wants the qtbase5-dev package. It's kinda large 321mb is 
> there a smaller library that will satisfy this depend? Or an alternative to 
> turtlesim turtle_teleop_key?
>
> [...]
>
> I don't really want to use up 321mb of available disk. df 
> -h /dev/mmcblk1p1  3.5G  1.9G  1.4G  58% /
>

Solved.
On github I found  ros-teleop/teleop_twist_keyboard 
<https://github.com/ros-teleop/teleop_twist_keyboard> Which I built it as 
follows;

jeffa@bluemoon:~/git$ git clone 
https://github.com/ros-teleop/teleop_twist_keyboard.git
jeffa@bluemoon:~/git$  cd ../catkin_ws/src
jeffa@bluemoon:~/catkin_ws/src$ ln -s ~/git/teleop_twist_keyboard
jeffa@bluemoon:~/catkin_ws/src$ cd ..
jeffa@bluemoon:~/catkin_ws$ catkin_make
jeffa@bluemoon:~/catkin_ws$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit 
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit 
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit 
https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index 
https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
updated cache in /home/jeffa/.ros/rosdep/sources.cache
jeffa@bluemoon:~/catkin_ws$ 

This didn't require all those extra packages I didn't want to include on 
the BBBlue. And it has support for mice and joysticks. I invoked it on the 
'blue to control the notebook. Invoking it was a bit more involved but a 
hint of things I want to learn. Invoke roscore and turtlesim on the 
notebook in the usual way. Don't start the teleop_key. On the blue do;

jeffa@bluemoon:~/catkin_ws$ export ROS_MASTER_URI=http://lunar:11311
jeffa@bluemoon:~/catkin_ws$ rosrun teleop_twist_keyboard 
teleop_twist_keyboard.py cmd_vel:=turtle1/cmd_vel

:-) Works on my machines!


jfjfj

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/bd225828-5efb-46b1-9b50-9aaa0253c7d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to