Skip to content

Commit

Permalink
Optimize speed of turtlesim animation
Browse files Browse the repository at this point in the history
With ipycanvas release 0.12.0, the draw_image function can draw
the turtles faster. This allows the animation to run more smoothly

Add ipycanvas dependency

Update installation instructions
  • Loading branch information
IsabelParedes committed Jul 19, 2022
1 parent 9335332 commit 256b1d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ on twitter: https://twitter.com/wuoulf, or join us on [Gitter](https://gitter.im
## Installation and Dependencies

You need a ROS environment with rospy. We recommend using [Robostack](https://github.com/RoboStack/ros-noetic) (follow their installation instructions) which allows you to install ROS in a conda environment.
Also required are `numpy` and `bqplot` for the live-plotting
and `ipywidgets` for the interactive widgets
Also required are `numpy` and `bqplot` for the live-plotting,
`ipywidgets` for the interactive widgets, and `ipycanvas` for the Turtlesim animations.

conda install jupyter bqplot pyyaml ipywidgets
conda install jupyter bqplot pyyaml ipywidgets ipycanvas

`pyyaml` is necessary for rospy.

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
'ipywidgets>=7.0.0',
'bqplot',
'numpy',
'rospkg'
'rospkg',
'ipycanvas'
],
'packages': find_packages(),
'zip_safe': False,
Expand Down

0 comments on commit 256b1d2

Please sign in to comment.