Skip to content

Commit

Permalink
pendulum sim works fine. just had to launch lcm-spy with the ipv4 trick.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTedrake committed Aug 21, 2015
1 parent 2388c60 commit fb550c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ set(gurobi_GIT_TAG beb0a84a1bcca1eb81a1b87d9fa140f2134d97e9)
set(iris_GIT_REPOSITORY https://github.com/rdeits/iris-distro.git)
set(iris_GIT_TAG 13468e0ea38e72ffae030adaa31e3015ea5f3ce0)
set(lcm_GIT_REPOSITORY https://github.com/RobotLocomotion/lcm-pod.git)
set(lcm_GIT_TAG 31e9a3e2dd056cac749fc2879e841434181180ad) # cmake branch
set(lcm_GIT_TAG ff1462a688ef67227b4656ec7a10cc401c9b0069) # note: cmake branch
set(libbot_GIT_REPOSITORY https://github.com/RobotLocomotion/libbot.git)
set(libbot_GIT_TAG c328b73f3b48008d04468031e26f48468a7e3cc0)
set(meshconverters_GIT_REPOSITORY https://github.com/RobotLocomotion/meshConverters.git)
Expand Down
8 changes: 4 additions & 4 deletions drake/systems/DrakeSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

using namespace std;

DrakeSystem::DrakeSystem(const std::string &name, std::shared_ptr<CoordinateFrame> _continuous_state_frame,
std::shared_ptr<CoordinateFrame> _discrete_state_frame,
std::shared_ptr<CoordinateFrame> _input_frame,
std::shared_ptr<CoordinateFrame> _output_frame)
DrakeSystem::DrakeSystem(const std::string &name, const std::shared_ptr<CoordinateFrame>& _continuous_state_frame,
const std::shared_ptr<CoordinateFrame>& _discrete_state_frame,
const std::shared_ptr<CoordinateFrame>& _input_frame,
const std::shared_ptr<CoordinateFrame>& _output_frame)
: continuous_state_frame(_continuous_state_frame), discrete_state_frame(_discrete_state_frame),
input_frame(_input_frame), output_frame(_output_frame) {
if (!continuous_state_frame) continuous_state_frame = shared_ptr<CoordinateFrame>(new CoordinateFrame(name+"ContinuousState"));
Expand Down
8 changes: 4 additions & 4 deletions drake/systems/DrakeSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ class DLLEXPORT DrakeSystem {
typedef Eigen::Matrix<double,Eigen::Dynamic,1> VectorXs;

DrakeSystem(const std::string& name,
std::shared_ptr<CoordinateFrame> continuous_state_frame, // should these be const? (right now, I think that we should be allowed to modify them)
std::shared_ptr<CoordinateFrame> discrete_state_frame,
std::shared_ptr<CoordinateFrame> input_frame,
std::shared_ptr<CoordinateFrame> output_frame);
const std::shared_ptr<CoordinateFrame>& continuous_state_frame, // note: the frames are not const
const std::shared_ptr<CoordinateFrame>& discrete_state_frame,
const std::shared_ptr<CoordinateFrame>& input_frame,
const std::shared_ptr<CoordinateFrame>& output_frame);

DrakeSystem(const std::string& name,
unsigned int num_continuous_states,
Expand Down

0 comments on commit fb550c6

Please sign in to comment.